Hi,
I think for a start, do not worry too much about osgterrain classes and
the osgterrain example.
Create a simple terrain using osgdem (search the list for command lines)
and load it using osgviewer. The viewer loads terrain just as it loads
normal objects. It constructs a "Database Pager" thread the selectively
reads tiles from the database (created by osgdem) depending on what is
inside the camera field of view. If you switch on wireframe mode you can
see how tiles are paged in.
In this case, everything is done for you. You only need to worry about
specifics of how the loading works if you want to manage things yourself
or do some other special terrain handling.
jp
Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC wrote:
Hello,
I’m new to OSG and I’m looking at the osgTerrain nodekit for terrain
rendering. My question is, is how is this used with Virtual Planet
builder (osgdem) for rendering terrain? Is VPB osgdem used to construct
the terrain database and then osgTerrain used to traverse the terrain in
OSG? Is there a Wiki available on how to use osgTerrain?
I’ve looked at the osgTerrain example packaged with OSG but I can’t get
my head around how it is used.
Any input would be most appreciated.
-Shayne
------------------------------------------------------------------------
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean. MailScanner thanks Transtec Computers for their support.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org