<div dir="ltr"><div dir="ltr">Hi Catalin,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 29 Jul 2019 at 09:54, Catalin Flower <<a href="mailto:inbox.icf@gmail.com">inbox.icf@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I was trying to evaluate the impact of cull mask testings on rendering. We have large number of objects, and when hide them by using cull mask on the camera the frame rate goes up only 4-6 fps. I was expecting more.<br></blockquote><div><br></div><div>The NodeMask/CullMask is an operation is done with the Node::accept() implementation for all node types, even when you override it with the mask, it still does the same check, it'll just pass in all the bits are overridden on.</div><div><br></div><div>As for performance bottlenecks, there are many different things that can cause bottlenecks, the osgViewer::StatsHandler onscreen stats can be helpful, as can experimenting with window sizes, watching what happens when you move around your scene.  What you want to do is figure out what might be the biggest bottleneck and then home in on that with more specific tests to tease out what is going on.<br></div><div><br></div><div> Robert.<br></div><div> </div><div><br></div><div><br></div><div> </div></div></div>