<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body dir="auto"><div dir="auto">Impressive Robert.</div><div dir="auto"><br></div><div dir="auto">Thanks for sharing.</div><div dir="auto"><br></div><div dir="auto">Shayne</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div id="composer_signature" dir="auto"><div style="font-size:85%;color:#575757" dir="auto">Sent from my Sprint Samsung Galaxy Note9.</div></div><div dir="auto"><br></div><div><br></div><div align="left" dir="auto" style="font-size:100%;color:#000000"><div>-------- Original message --------</div><div>From: Robert Osfield <robert.osfield@gmail.com> </div><div>Date: 3/17/21 1:36 PM (GMT-07:00) </div><div>To: OpenSceneGraph Users <osg-users@googlegroups.com> </div><div>Subject: [osg-users] OpenSceneGraph/osgEarth vs VulkanSceneGraph/vsgpagedlod </div><div><br></div></div><div>Hi All,</div><div><br></div><div>Over the past 2 1/2 years I've been mainly focused on VulkanSceneGraph project, this isn't yet at 1.0 but it's come along nicely. This week I wrote an example that illustrates how to use vsg::PagedLOD and vsg::ReaderWriter to implement paged database that streams data from online tile serves such a OpenStreetMap and ReadyMap. It's like a very simple and crude demo of osgEarth style paging.</div><div><br></div><div>To look at the visual differences and performance differences I've recorded a camera animation path in osgviewer then run this same path with the same OpenStreetMap databasee in osgviewer using osgEarth, and then with the same path but using the new vsgpagedlod example. <br></div><div><br></div><div> <a href="https://github.com/vsg-dev/vsgExamples/tree/PagedLOD/examples/nodes/vsgpagedlod">https://github.com/vsg-dev/vsgExamples/tree/PagedLOD/examples/nodes/vsgpagedlod</a></div><div><br></div><div>I've upload the a video of running the two applications, first the OSG then VSG, to youtube:</div><div><br></div><div> <a href="https://www.youtube.com/watch?v=nOQxr09ald4">https://www.youtube.com/watch?v=nOQxr09ald4</a></div><div><br></div><div>The average fps for the 2 minutes camera animation path was 878fps for the OSG/osgEarth combo and 2698fps for VSG/vsgpagedlod, which is just under 3 times faster for the Vulkan/VulkanSceneGraph.<br></div><div><br></div><div>As I explain in the video it's not an exact like for like comparison as osgEarth is doing blending between LODs, while the VSG/vsgpagedlod is selecting a higher level of detail for a given view.</div><div><br></div><div>The osgviewer was run with default DrawThreadPerContext threading, while vsgpagedlod viewer was running single threaded. In both cases the osgDB::DatabasePager and equivalent vsg::DatabasePager are doing all the loading in a set of background threads.</div><div><br></div><div>The VSG supports running viewer multi-threaded but is unnecessary in this instance as the cull/draw traversal/dispatch are all happening less than half a millisecond :-)<br></div>
<p></p>
-- <br>
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:osg-users+unsubscribe@googlegroups.com">osg-users+unsubscribe@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/osg-users/b1adc63f-28b5-49b9-b200-1fcd5624b400n%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/osg-users/b1adc63f-28b5-49b9-b200-1fcd5624b400n%40googlegroups.com</a>.<br>
</body></html>