Hi all,

I've created a custom node which I want to get rendered always (withou
culling by boundingbox). So, I simply set

OSG::BoxVolume& volume = myCustomNode->editVolume();
volume.setInfinite();
volume.setStatic();

and it does not work.

But if I replace setInfinite() by:

volume.extendBy( OSG::BoxVolume( -vr::INT32_MAX, -vr::INT32_MAX,
-vr::INT32_MAX, vr::INT32_MAX, vr::INT32_MAX, vr::INT32_MAX ) );

it works fine. Shouldn't setInfinite()  work in this case?

Thanks!

Pablo
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to