[osg-users] viewport is changing after huge sized object ; updating only visible nodes

Andrey Perper TheAndreyp at gmail.com
Tue Mar 22 02:30:16 PDT 2016

Hey guys!!!!!!!

1) My scene is set like it is always fits in camera (i guess it is osg-default). If i add huge sized object - i see all scene (camera flies away), but my viewpoint must stay old.

How to fix that ?

2) I have dozen of nodes that are updating in my addUpdateCallback functor anyway (whether node is visible or not), but i would want to do that only if node is visible. Node has osg::Geode drawables.

How to fix that ?


Read this topic online here:

More information about the osg-users mailing list