Sorry, I've just realized that Github Discussions is now the official
support channel, I've reposted the question there:
https://github.com/openscenegraph/OpenSceneGraph/discussions/1193


On Wed, Jan 11, 2023 at 6:49 PM Riccardo Corsi <riccardo.co...@kairos3d.it>
wrote:

> Hi all,
>
> For a particular use case I need to completely disable all culling
> performed by OpenSceneGraph.
> I thought it was enough (for a single camera viewer) to call:
>
> _camera->setCullingMode(osg::CullSettings::NO_CULLING);
>
> but some drawables are still culled away.
>
> To confirm this behavior I have modified osgViewer adding an event handler
> to modify the CullingMode at runtime, and when setting the mode to
> NO_CULLING, the rendered drawabl and polygon count increases, but is still
> lower than the full counter shown by the VIEW stats.
> See the attached screenshots which show the stats using NO_CULLING and
> DEFAULT_CULLING settings respectively for a sample model.
>
> Which is the right way to completely disable all culling (and thus see the
> same poly count in the camera and view stats)?
>
> Thank you,
> Riccardo
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osg-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osg-users/CAHhSftgpGmYdUtG-xa8qhk6LfSO0CiFyY9B3LAti%2BfigSNoruw%40mail.gmail.com.

Reply via email to