On 6/1/06, Tristan McMillan <[EMAIL PROTECTED]> wrote:
Hi Robert
I actually want the terrain to remain stationary so that the aircraft
visually displays motion relative to the terrain. Initially I just want
to have a flat surface but after wards I want to import some DTED data
to generated the terrain.
I don't want the whole earth, just want the terrain to be visible for
the duration of the flight, like the terrain used in the 3rd person view
with some of the flight simulator packages.
I'd just create the terrain as tiles and have LOD's above them to cull
them out when they are too far away. This way it'd be pretty easy to
create a very large terrain.
Its possibly the recompute the position of tiles on the fly and
thereby reuse the same tile over and over again. This is effectively
what I have done with the new rain/snow GLSL based particle effects in
osgParticle, one single cell is repeated many times, inifinitely in
the X,Y,Z directions, but only whats required for the current view
frustum is used per frame. However, this is more complicated than
just createing a large LOD'd database.
For real data I'd just osgdem to build a paged database for you, it'll
happily handle whole earth database if you have the data to throw at
it.
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/