Hi Community,
Any insights how this works? I have inherited from this class and tried to
set my computation of the znear/zfar but it seam it is not called. The code
is like this:
class MyClass : public osg::CullSettings::ClampProjectionMatrixCallback
{
...
bool
Hi Nick,
The callback is only called when you have enable the compute near far mode.
I don't recall the details off the top of my head, but I'd guess if you
have slave Camera's in action you'll need to attach to the Slave Camera.
Robert.
On 11 February 2014 17:56, Trajce Nikolov NICK
yeah, I have
set setComputeNearFarMode(osg::CullSettings::DO_NOT_COMPUTE_NEAR_FAR); for
the camera. Removing it did the work. Thanks for the hint Robert
Nick
On Tue, Feb 11, 2014 at 9:02 PM, Robert Osfield robert.osfi...@gmail.comwrote:
Hi Nick,
The callback is only called when you have
3 matches
Mail list logo