[osg-users] Disabling rendering

2010-01-14 Thread Guy Volckaert
This might sound like an odd question, but is there a way to disable rendering (no culling and no draw) while still allowing intersections. The reason why I am asking is because I have a distributed system - i.e. some applications only performs intersections with the scene without rendering

Re: [osg-users] Disabling rendering

2010-01-14 Thread Jean-Sébastien Guay
Hi Guy, This might sound like an odd question, but is there a way to disable rendering (no culling and no draw) while still allowing intersections. The reason why I am asking is because I have a distributed system - i.e. some applications only performs intersections with the scene without

Re: [osg-users] Disabling rendering

2010-01-14 Thread Paul Martz
Guy Volckaert wrote: This might sound like an odd question, but is there a way to disable rendering (no culling and no draw) while still allowing intersections. The reason why I am asking is because I have a distributed system - i.e. some applications only performs intersections with the

Re: [osg-users] Disabling rendering

2010-01-14 Thread Guy Volckaert
Paul. Thanks for the advice. What I ended-up doing is overriding the void ViewerBase::frame(double simulationTime) function. Depending on the state of a rendering flag, I either call or don't call the renderingTraversals() function. Hopefully, that won't cause any other issues. Cheers, Guy