Re: [osg-users] [osgPlugins] Compilation error in ReaderWriterTRK.cpp

2012-12-08 Thread Robert Osfield
Hi Tim, Sorry about this I missed a check in of the new function, I spotted this and checked it in yesterday so please do an svn update and rebuild, it should build fine now. Robert. On 7 December 2012 19:46, Tim O'Leary jtoc...@gmail.com wrote: Hi, I cloned the latest OSG repo from github

[osg-users] Rendering sets of objects in layers/passes

2012-12-08 Thread Preet
Hiya, I have multiple sets of depth sorted geometry that I'd like rendered in a specific order. So the depth sorted part itself only matters within a single set, if that makes any sense. For example, I might have three sets, each containing 100 osg::Geometry objects. I'd like each of the objects

Re: [osg-users] Rendering sets of objects in layers/passes

2012-12-08 Thread Paul Martz
Use a different Camera for each set, and on each Camera call: cam-setClearMask( GL_DEPTH_BUFFER_BIT ) so that they clear only the depth buffer and not the color buffer. -Paul On 12/8/2012 2:34 PM, Preet wrote: Hiya, I have multiple sets of depth sorted geometry that I'd like rendered in

Re: [osg-users] [forum] Throttling OSG

2012-12-08 Thread Kenn Sebesta
zonk wrote: you could change the frame scheme from CONTINUOUS to ON_DEMAND. Or look into viewers run() function and perform the different traversal calls per frame manually. Yes, that was exactly it: viewer-setRunFrameScheme(osgViewer::ViewerBase::ON_DEMAND);