On 6/13/2011 7:51 AM, Elhanan Ilani wrote: > Hi, > I have a simple problem (I think...) but I just can't find an answer. > The problem is this: Given an osg scene and a camera I want a list > of all the nodes which are visible to the camera. > Can I do it with a cull visitor?
Perhaps you could do this by subclassing the default cullvisitor and collecting info as it ran. > Maybe I need a Polytope intersector? You could do a polytope frustum of the screen and get a list of all POTENTIALLY visible (by bounding sphere) entities, just like CullVisitor does. -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. Contracting. "There is no Truth. There is only Perception. To Perceive is to Exist." - Xen _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org