So... I need to attach
instead to setCullCallback? I'm looking in ViewerBase and I see the order is event, update, & rendering, and Rendering calls "renderer->cull()". I need to be after a completed cull, but before rendering actually starts (or at least as early into rendering as I can get). Could/should I register what I want as a custom "operation"? Or is this the job of the Camera's PreDrawCallback? Basic requirements: * Run once per frame (in a system with multiple viewers & contexts per frame) * After Cull (so I have a valid znear/zfar estimate for the frame), but before/during the Render * I will not be modifying the scenegraph, only reading data & shipping it elsewhere
|
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org