Thanks for your help,
It is working but performance is too bad. Terrain elevation completed in 20 ms.
I will use this calculation five or six times in every simulation loop. Do you
have any suggestions?
Regards.
--
Read this topic online here:
http://forum.openscenegraph.org/v
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 = osgSi
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
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 b
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();
.
.
cam->setViewMatrix(osg::Matrix
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
a
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"
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...
>
> earth->conver
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 =
osgSim::HeightAboveTerrain::compute
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 Hei
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
htt
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 wrote:
> Hello Dear OSG-community,
>
> Happy to announce GullsEye - our 3D Port Visualization System built on
> OpenSceneGraph.
>
> Intro video at:
>
> http:/
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 12:
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:
http://forum.opensceneg
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]: **
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 v
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 bef
17 matches
Mail list logo