Hi Dean, The OSG doesn't have any scene graph level LOD system specifically for textures. The OSG supports mipmapping which is a form of LOD, but I guess you probably ain't thinking of this.
In terms of best performance you are typically best to reduce the number vertics, the number of separate osg::Geometry and nodes, and merge as much state (including textures) as possible as you simplify the subgraph for each LOD levels. Just trying to choose a simpler texture for different LOD level of details is pretty unlikely to help unless it's an unusual scene graph set up where scene graph complexity (state, nodes and geometry) is already as simple as it can go and it's only texture memory that is holding you back. Robert. On Sun, May 30, 2010 at 4:09 PM, Dean Bouvier <[email protected]> wrote: > Hi, > > I've been contemplating an LOD system for a project I'm working on, and I'm > wondering a few things about textures as they are used by OSG. > > Does OSG perform texture scaling of any kind so that it will reduce the size > of a texture in memory as an object reduces in scale? > > Most of the objects I'm planning to render are either small or fairly simple > in detail and could conceivably use a small simple texture for a number of > LOD cases, many objects would share this aspect in similar at the same time, > would it make sense from a memory use or performance standpoint to have one > larger texture which is referenced by all models at certain LOD's instead of > having each model using its own small texture? > > A good example would be a bunch of primitives representing buildings making > up a city. > > Thank you! > > Cheers, > Dean > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=28341#28341 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

