Hello Hagen, Kaiser, Hagen wrote: > In my Application I have rooms and fixed camera-positions. >... > I once load all Objects in a room. Then I look whether the object is > visible from a camera-viewpoint. > I mark them in our database. > The next time I try to load a "Camera-Viewpoint" I don't have to load > all the objects in the room but only the visible objects. > So I can speedup loading. > > If I would want to write a custom visitor I need to get this polytope > somehow out of the actual cam-parameters and the do some manual testing. > Do you have some hints for that?
Check out osgSim::VisibilityGroup as well as PagedLOD. They may already do what you need i.e. select the visible room and loading it. Something like VG -> P_LOD -> roomGroup Cheers, /ulrich _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

