Re: [osg-users] Yaw pitch and roll or xyz conversion to and from Quaternion

2014-12-19 Thread Trajce Nikolov NICK
Hi Jason, I had to apply -90 (in degrees) to the pitch to get the correct results after getHPRFromQuat(). Also createMatrix is expecting the input in degrees. Maybe this will help Nick On Fri, Dec 19, 2014 at 3:10 AM, Jason Anderssen janders...@exactal.com wrote: Hi NICK, Thank you for

Re: [osg-users] Yaw pitch and roll or xyz conversion to and from Quaternion

2014-12-19 Thread Jordi Torres
Hi Jason et al, I think in osgWorks there are utilities for such a conversion. Take a look to https://code.google.com/p/osgworks/source/browse/trunk/src/osgwTools/Orientation.cpp Cheers. 2014-12-19 9:10 GMT+01:00 Trajce Nikolov NICK trajce.nikolov.n...@gmail.com : Hi Jason, I had to apply

Re: [osg-users] Yaw pitch and roll or xyz conversion to and from Quaternion

2014-12-19 Thread Jason Anderssen
Thank you very much, I shall test this and see that f it resolves my issues, by looking over it quickly I think it will. Cheers Jason Sent from my iPhone On 19 Dec 2014, at 18:17, Jordi Torres jtorresfa...@gmail.commailto:jtorresfa...@gmail.com wrote: Hi Jason et al, I think in osgWorks

Re: [osg-users] Please test svn/trunk in prep for OSG-3.3.3 dev release

2014-12-19 Thread Robert Osfield
Thanks for the testing Alberto, I've removed the contents of the endif(), this should fix the issue. On 18 December 2014 at 20:30, Alberto Luaces alua...@udc.es wrote: CMake Warning (dev) at CMakeLists.txt:648 (FIND_PACKAGE): A logical block opening on the line

Re: [osg-users] Please test svn/trunk in prep for OSG-3.3.3 dev release

2014-12-19 Thread Robert Osfield
Hi Zhuwan, On 18 December 2014 at 20:41, webmaster webmas...@3dvri.com wrote: CMake Error at CMakeModules/FindGLIB.cmake:89 (file): file failed to open for reading (No such file or directory): E:/OpenSceneGraphsvn14622VC10x86DLL/GLIBCONFIG_INCLUDE_DIR-NOTFOUND/glibconfig.h Call Stack

Re: [osg-users] Please test svn/trunk in prep for OSG-3.3.3 dev release

2014-12-19 Thread Alberto Luaces
Robert Osfield writes: Thanks for the testing Alberto, I've removed the contents of the endif(), this should fix the issue. Indeed it does. Thank you. -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Please test svn/trunk in prep for OSG-3.3.3 dev release

2014-12-19 Thread webmaster
Hi Robert, 1.after installed gstreamer 1.0-devel-1.4.4.msi gstreamer plugin configed correctly. 2.DisplaySettings.cpp first line add: #if defined(WIN32) !defined(__CYGWIN__) #include windows.h #endif 3.currenty cmake files,even installed gstreamer 1.0-devel-1.4.4.msi

[osg-users] point projection to surface

2014-12-19 Thread Gianni Ambrosio
Hi All, in my application the user can enter X and Y coordinates of a 3D point through GUI fields. Then I need to calculate the Z value that is the projection of that point on the nearest 3D geometry in the scene. I'm giving a look at the osgUtil namespace but I didn't find a solution yet.

Re: [osg-users] point projection to surface

2014-12-19 Thread Robert Osfield
HI Gianni, There is the osgUtil::LineSegmentIntersector, or osgSim::HeightAboveTerrain. The HAT class uses the LSI class to do it's work, and add support for synchronously loading PagedLOD tiles. Robert. On 19 December 2014 at 09:59, Gianni Ambrosio g.ambrosio+...@gmail.com wrote: Hi All, in

Re: [osg-users] Please test svn/trunk in prep for OSG-3.3.3 dev release

2014-12-19 Thread Robert Osfield
HI All, I have just done a test build under Windows and fixed one build error in DisplaySettings.cpp and a warning in the dae plugin. This means Linux and Windows builds look OK, I haven't got OSX to test a build against though. Can anyone do an OSX test build before I tag 3.3.3? Cheers,

Re: [osg-users] [forum] Resize Geometry in a HUD on Resize of Window

2014-12-19 Thread John-Luke Laue
Hi Robert, Thanks for your help but I think I might have not asked my question very well. Regardless, I was able to find a solution to my problem. I case anybody wants my answer, it is below: Using osgHud as a reference. 1) Set up the camera's projection matrix such that