Hi, On 2/14/07, Ignacio José López Rodríguez <[EMAIL PROTECTED]> wrote:
I have still some doubts. Why does TEXGEN need to express the coord via Planes? What does it mean?
TexGen is controls the ability of the graphics hardware to compute the texture coordinates from the vertex coordiantes. To understand this fully you really have to sit down and read some documentation on OpenGL, do a search for glTexGen.
I thinked that i had to pass OSG the position and size of the texture. And... other question. I've noticed that some people call the "image->allocateImage" method. Do i have to use it? And you are right. We are thinking to implement other version of the terrain engine using an algorithm like "chunked lod".
We'll you already have scene graph that has paging built into it, such a ChunkLOD terrain engine is a bit of reimplementation of what is already checked and working :-) The OSG's paging system is much more flexible that ChunkLOD and is able to cope with whole earth databases. It works fully multi-threaded, with multiple graphics context support. The paging works around two classes osg::PagedLOD and osgDB::DatabasePager. osgProducer::Viewer and osgViewer viewer classes all support the database paging out of the box, you needn't do anything more than just load the top most tile in your database, everything else will be done for you. If you want to generated paged database then use osgdem (see docs on openscenegraph wiki). Alternatively you could use a database generated using Terrex's tools as the OSG supports Terrapge paging as well (its implemented ontop of PagedLOD/DatabasePager). Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
