<div dir="ltr">Hi Robert,<div><br></div><div>attached you will find two screenshots while running in SingleThreaded-Mode. Using osgUtil::Optimizer does not make any big difference. I will try to create an example, so that you can test it on your computer.</div><div><br></div><div>André</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-03-07 18:10 GMT+01:00 Robert Osfield <span dir="ltr"><<a href="mailto:robert.osfield@gmail.com" target="_blank">robert.osfield@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi André,<br>
<br>
Thanks for the screenshots.  They tells us it's the draw dispatch that<br>
is gating performance, so the question now moves to why draw dispatch<br>
is so slow in this case.<br>
<br>
Are you running the osgUtil::Optimizer on your scene graph?<br>
<br>
Could you run the tests with SingleThreaded threading model?<br>
<br>
There may be chance that a bug fix to the OSG somewhere has tightened<br>
up the assumptions it makes about threading.  That's just a guess<br>
though, there still is too few titbits of information to know what the<br>
cause is.<br>
<span class="HOEnZb"><font color="#888888"><br>
Robert.<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On 7 March 2017 at 16:40, Andre Normann <<a href="mailto:andre.normann@gmail.com">andre.normann@gmail.com</a>> wrote:<br>
> Hi Robert,<br>
><br>
> some more screenshots. This time without any other model.<br>
><br>
> 3.2.3_1: My application using 3.2.3 and sharing nodes<br>
> 3.4.0_1: My application using 3.4.0 and sharing nodes<br>
> 3.4.0_2: My application using 3.4.0 without sharing nodes<br>
><br>
> Best regards,<br>
> André<br>
><br>
><br>
> 2017-03-07 17:27 GMT+01:00 Andre Normann <<a href="mailto:andre.normann@gmail.com">andre.normann@gmail.com</a>>:<br>
>><br>
>> Hi Robert,<br>
>><br>
>> I attached two screenshots. As you can see, I am doing nothing fancy here.<br>
>> There is a VirtualPlanetBuilder model present in the scene, but this model<br>
>> is hidden for my test case. The test scene contains only some thousand<br>
>> triangles and I am using a GeForce 1080 which can handle much more.<br>
>> Currently I have no idea what is going wrong here.<br>
>><br>
>> -André<br>
>><br>
>><br>
>> 2017-03-07 11:33 GMT+01:00 Robert Osfield <<a href="mailto:robert.osfield@gmail.com">robert.osfield@gmail.com</a>>:<br>
>>><br>
>>> Hi André,<br>
>>><br>
>>> I can't think of any changes between 3.2.x and 3.4.0 that would cause<br>
>>> a slow down like you are describing.<br>
>>><br>
>>> The best way to start looking at what might be the cause would be to<br>
>>> isolate what part of the application is the bottleneck, the first step<br>
>>> would be to use on the on screen stats and then look at the costs of<br>
>>> the update, event, cull, draw dispatch and draw GPU phases.<br>
>>><br>
>>> Also have a look at the full stats with to see if there is a different<br>
>>> number of nodes or state being rendered in the two cases.<br>
>>><br>
>>> Robert.<br>
>>><br>
>>><br>
>>><br>
>>> On 7 March 2017 at 08:21, Andre Normann <<a href="mailto:andre.normann@gmail.com">andre.normann@gmail.com</a>> wrote:<br>
>>> > Hi,<br>
>>> ><br>
>>> > I am currently migrating from OpenSceneGraph 3.2.3 to 3.4.0. In my<br>
>>> > application I get a significant slow down, when I share nodes. Here is<br>
>>> > a<br>
>>> > quick example layout of my scenegraph:<br>
>>> ><br>
>>> ><br>
>>> > Parent<br>
>>> >   |<br>
>>> >   + ---> MatrixTransform1 --> Node1<br>
>>> >   |<br>
>>> >   + ---> MatrixTransform2 --> Node1<br>
>>> >   |<br>
>>> >   ...<br>
>>> >   |<br>
>>> >   + ---> MatrixTransform3 --> Node1<br>
>>> ><br>
>>> > I have a root node with several MatrixTransforms. The nodes below the<br>
>>> > MatrixTransforms are shared. In 3.2.3 everything works well and I have<br>
>>> > a<br>
>>> > framerate of 60 Hz. In 3.4.0 the framerate drops with each new added<br>
>>> > MatrixTransform. But when I do not share the nodes and instead create<br>
>>> > clones<br>
>>> > with a DEEP_COPY_ALL flag, everything is well in 3.4.0.<br>
>>> ><br>
>>> > So what could cause the slow down in 3.4.0 with node sharing?<br>
>>> ><br>
>>> > I am using OpenSceneGraph 3.2.3/3.4.0 with a release build on Window 7.<br>
>>> ><br>
>>> ><br>
>>> > Best regards,<br>
>>> > André<br>
>>> ><br>
>>> ><br>
>>> > ______________________________<wbr>_________________<br>
>>> > osg-users mailing list<br>
>>> > <a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
>>> ><br>
>>> > <a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
>>> ><br>
>>> ______________________________<wbr>_________________<br>
>>> osg-users mailing list<br>
>>> <a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
>>> <a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
>><br>
>><br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> osg-users mailing list<br>
> <a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
> <a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
><br>
______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
</div></div></blockquote></div><br></div>