Re: [osg-users] Multiples Camera CallBack?

2014-12-24 Thread Robert Osfield
Hi Julian, The primary reason for only having a single callback for each of the Camera initial, pre, post and final DrawCallback is keeping the Camera API clean and minimal. If we were to have a list of callbacks for each of these types of callbacks we'd end up with one very large API, all for

Re: [osg-users] Multiples Camera CallBack?

2014-12-24 Thread Cary, Karl A.
Of Julien Valentin Sent: Tuesday, December 23, 2014 6:04 PM To: osg-users@lists.openscenegraph.org Subject: [osg-users] Multiples Camera CallBack? Hi, Tell me I'm dumb but I'm kind of surprise that ones can't add several Camera postdraw callbacks. Is there a reason for it? Ex:I'm using osg

[osg-users] Multiples Camera CallBack?

2014-12-23 Thread Julien Valentin
Hi, Tell me I'm dumb but I'm kind of surprise that ones can't add several Camera postdraw callbacks. Is there a reason for it? Ex:I'm using osg::OcclusionQueryNodes in my scene, so when I set the PostDrawCallBack of the Camera during CullTraversal it replaces the one setted up by