[osg-users] AutoTransform, ROTATE_TO_SCREEN and small feature culling
Hartwig Wiesmann
hartwig.wiesmann at skywind.eu
Tue Mar 27 09:44:48 PDT 2018
Hi Robert,
I was not talking about the cullingActive flag but the method isCullingActive! isCullingActive checks besides the cullingActive flag if the boundary sphere is valid. As long as the boundary sphere is invalid isCullingActive() returns false. This is the problem I reported.
Code:
inline bool isCullingActive() const { return _numChildrenWithCullingDisabled==0 && _cullingActive && getBound().valid(); }
Cheers,
Hartwig
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=73183#73183
More information about the osg-users
mailing list