Re: [osg-users] Failed to build openscenegraph on Alpine

2017-06-26 Thread Roberto Oliveira
Alberto, The build worked fine in Alpine Linux x86_64, but when I tried to buid in Alpine Linux ppc64le, I got the following error: /home/alpine/aports/testing/openscenegraph/src/OpenSceneGraph-3.4.0/include/osgQt/Version:8:2: error: #error "Qt version mismatch detected! Make sure to compile

Re: [osg-users] Failed to build openscenegraph on Alpine

2017-06-26 Thread Roberto Oliveira
With this patch my build now works, Thanks a lot! On 06/26/2017 01:24 PM, Alberto Luaces wrote: Alberto Luaces writes: Roberto Oliveira writes: The openscenegraph needs a specific version of ffmpeg to compile or am I missing something? Yes, that issue seems to be currently fixed in

Re: [osg-users] Failed to build openscenegraph on Alpine

2017-06-26 Thread Alberto Luaces
Alberto Luaces writes: > Roberto Oliveira writes: > >> The openscenegraph needs a specific version of ffmpeg to compile or am >> I missing something? > > Yes, that issue seems to be currently fixed in master. ...and maybe this patch is useful for you if you want to stick with 3.4:

Re: [osg-users] Failed to build openscenegraph on Alpine

2017-06-26 Thread Alberto Luaces
Roberto Oliveira writes: > The openscenegraph needs a specific version of ffmpeg to compile or am > I missing something? Yes, that issue seems to be currently fixed in master. -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] Failed to build openscenegraph on Alpine

2017-06-26 Thread Roberto Oliveira
Hi Folks, I'm trying to compile openscenegraph 3.4.0 on Alpine Linux x86_64 but the build fails with errors: http://termbin.com/w956 The variable m_context seems to be from type AVCodecContext and it is provided by ffmpeg package. The Alpine I am using has ffmpeg version 3.2.4. The

Re: [osg-users] Perform actions when a child node is added

2017-06-26 Thread Robert Osfield
On 26 June 2017 at 13:18, Bruno Oliveira wrote: > a dangling pointer is a probable cause of my problems. Thanks for the hint, > I'll look into it. > > I thought it could be related to me rewriting the node's InitialBound. Modify and reading data like

Re: [osg-users] Perform actions when a child node is added

2017-06-26 Thread Bruno Oliveira
Robert, a dangling pointer is a probable cause of my problems. Thanks for the hint, I'll look into it. I thought it could be related to me rewriting the node's InitialBound. Thanks, Bruno 2017-06-26 10:15 GMT+01:00 Robert Osfield : > Hi Bruno, > > On 23 June 2017 at

Re: [osg-users] [Repost while forums down] Convert from screen space to world space and back to screen space

2017-06-26 Thread Christian Buchner
The thing is... a 2D pixel on screen is essentially a line segment in 3D (contained within the view frustum). After manipulating this line with a rotation matrix, this would most likely become a line in 2D space too. Are you interested in the closest intersection with an object instead? That

Re: [osg-users] Perform actions when a child node is added

2017-06-26 Thread Robert Osfield
Hi Bruno, On 23 June 2017 at 23:45, Bruno Oliveira wrote: > I actually tried it already, in my nodes derived doth from osg::Group* and > osg::PagedLOD*. > However, overloading the PagedLOD's functions made my scene crash the app > during the cull traversal (my

Re: [osg-users] Investigating using OSG as a graphics backend for our real-time physics simulation system

2017-06-26 Thread Jan Ciger
On Mon, Jun 26, 2017 at 4:07 AM, Chris Hanson wrote: > Magnum looks pretty cool. I'd be a little worried about the maturity of > the codebase, but if it does what you need, try it out and let us know how > it compares. > I have looked at it as well, but it looks very much