Re: [osg-users] HowTo use UPDATE_TO_VERSION for custom osg::Object separate from osgVersion()

2013-04-18 Thread Peter Bako
Hello Wang. Recently, I downloaded osg version 3.1.5 and I found out, that my UPDATE_TO_USER_VERSION macros don't work anymore. I digged into the osg source and found out that it is not there anymore, so I searched the forum but I didn't find any reason why was it removed. I used osg 3.1.1

[osg-users] Testing call for experimental stereo support

2013-04-18 Thread Robert Osfield
Hi All, I am currently working on moving stereo support from the low level SceneView class up into the osgViewer library, the initial step for this work has been to use the new osgkeystone example as the testbed for creating the required viewer slave Camera's and configuration them to handle the

Re: [osg-users] How to build OpenSceneGraph for Android in Windows

2013-04-18 Thread Francesco Argese
S2LR wrote: [...] I'm getting the following error when I run the make... Android NDK: Parsing Application.mk Android NDK: APP_PIE is C:/AndroidDevelopment/android-ndk-r8e/build/gmsl/__gmsl:512: *** non-numeric second argument to `wordlist' function: ''. Stop. make[2]: ***

[osg-users] [ANN] GullsEye

2013-04-18 Thread Can T. Oguz
Hello Dear OSG-community, Happy to announce GullsEye - our 3D Port Visualization System built on OpenSceneGraph. Intro video at: http://youtu.be/y1ANByGUNqc (HD required) Best regards, Can Oguz Systems Analyst / SoftTech -- Read this topic online here:

Re: [osg-users] How to build OpenSceneGraph for Android in Windows

2013-04-18 Thread Trajce Nikolov NICK
Hi Francesco, this top was discussed heavely last week (look for osgAndroidExample in the archive). Here is a fix for that error - you have to edit a file http://stackoverflow.com/questions/10285242/openssl-using-androids-ndk-problems/10295653#10295653 Cheers, Nick On Thu, Apr 18, 2013 at

Re: [osg-users] [ANN] GullsEye

2013-04-18 Thread Trajce Nikolov NICK
Very cool ! You might want to think of integrating Triton for your app for the ocean Nick On Thu, Apr 18, 2013 at 12:39 PM, Can T. Oguz cto...@gmail.com wrote: Hello Dear OSG-community, Happy to announce GullsEye - our 3D Port Visualization System built on OpenSceneGraph. Intro video at:

Re: [osg-users] [ANN] GullsEye

2013-04-18 Thread Can T. Oguz
Thanks, Sure it needs something for the ocean. it's in the todo list. Can -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=53686#53686 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] Height of the terrain on a given lang/long

2013-04-18 Thread Zeki Yugnak
Hi everyone, I am trying to calculate height value of the terrain on a given latitude and longitude. I am using a ive formatted terrain model that was converted using osgDem from Dted level-1 data. I searched a solution on whole osg forum and web but i could not find good one. Also I looked

Re: [osg-users] Height of the terrain on a given lang/long

2013-04-18 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
The methods provided in osgSim work for geocentric databases. Is your terrain built as a geocentric database? If so, you can get the HAT/HOT with this... earth-convertLatLongHeightToXYZ(osg::DegreesToRadians(lat), osg::DegreesToRadians(lon), alt, X,Y,Z); hat =

Re: [osg-users] Height of the terrain on a given lang/long

2013-04-18 Thread Robert Osfield
Hi Zeki, On 18 April 2013 16:05, Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC shayne.tuel...@hill.af.mil wrote: The methods provided in osgSim work for geocentric databases. Is your terrain built as a geocentric database? If so, you can get the HAT/HOT with this...

Re: [osg-users] reading dem/image files...

2013-04-18 Thread Shayne Tueller
Just a followup post to my original inquiry... After appending the .gdal to my .dt1 files to get the readHeightFieldFile() to read the DTED file format, I also had to do the following to get the DTED to render correctly... osg::HeightField *grid = osgDB::readHeightFieldFile(n41.dt1.gdal);

[osg-users] Need help with switching between manual and automatic camera movement

2013-04-18 Thread Martin Záleta
Hi, In my OSG application, I am trying to implement a functionality, that would allow me to switch between usual manual movement and an automatic one (such as spinning on spot), but I haven't had any success yet. My last attempt was to set an update callback to the camera, that would spin it

Re: [osg-users] Need help with switching between manual and automatic camera movement

2013-04-18 Thread Trajce Nikolov NICK
Hi Martin, what are you experiencing, where you see the problems? It is sort of not stated in your email. in your first code snipped in the update I would do this to have the matrices in the world space: Matrixd oldMatrix = cam-getInverseViewMatrix(); . .

Re: [osg-users] Need help with switching between manual and automatic camera movement

2013-04-18 Thread Martin Záleta
Hi, I guess I kinda forgot to describe my problem in detail. In part it was because I was hoping, that someone would suggest me a better solution to this problem, since registering viewer handle in a keyboard event handler doesn't really seem to me like much of a good solution, but it was the

Re: [osg-users] Height of the terrain on a given lang/long

2013-04-18 Thread Zeki Yugnak
Thank you for your answers. Yes, I am using geocentric database. My input values are only latitude and longitude. I don't have altitude information. So result of the computeHeightAboveTerrain function conversion is not enough for computeHeightAboveTerrain. I need to find terrain elevation only

Re: [osg-users] Height of the terrain on a given lang/long

2013-04-18 Thread Shayne Tueller
If you want HOT (height of terrain) for a particular lat/lon, use the same code as above and do the following... Code: maxElevationInDatabase = 3962.0; // meters earth-convertLatLongHeightToXYZ(osg::DegreesToRadians(lat), osg::DegreesToRadians(lon), maxElevationInDatabase, X,Y,Z); hat =