Hello, I’m writing an export plug-in for a terrain
modeling application. I’ve been browsing the OSG
documentation and examples in the last days but I
still have some uncertainties. First of, what’s the
best way to construct the terrain scene graph? For now
I’ve been using osg::Geometry and Drawables to create
generic geometry surfaces to represent the terrain
zones. I’ve saw that there is also a osgTerrain but is
this only for terrain generation or can it be used to
keep and render the terrain data, too? To be noted
that the terrain is made of multiple zones with
multiple layers of textures and also LOD must be
implemented (and maybe some paging mechanism).

And another question, if I am to represent the terrain
thru normal geometry how do I encode multiple layers
of textures (using multi-textures and multi-pass if
necessary)? How can I use the same osg::Geometry but
with different render states and textures?

Thanks,
Licu


 
____________________________________________________________________________________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to