Announcing vsgEarth

359 views
Skip to first unread message

Tim Moore

unread,
Aug 17, 2022, 9:44:41 AM8/17/22
to vsg-...@googlegroups.com
Hello,
vsgEarth is a prototype of a port of osgEarth that uses VSG instead of Open Scene Graph for rendering. Rather than completely rewrite osgEarth to use VSG, or render with OSG and share the results with Vulkan via synchronization mechanisms, this project takes the approach of using the data structures created by osgEarth as a source to create the VSG scenegraph. So, this is an example of a hybrid project that uses large parts of Open Scene Graph and VSG at the same time. On the other hand, it is a separate source tree from osgEarth and uses the installed osgEarth headers and libraries, so you don't need to deal with gathering osgEarth's dependencies and rebuilding it from sources.

I've uploaded vsgEarth to https://github.com/timoore/vsgEarth. It has been tested on Linux, but not much on Windows in its current form. Feedback and patches welcome!

Tim

Chris Hanson

unread,
Aug 17, 2022, 10:10:29 AM8/17/22
to vsg-...@googlegroups.com
Very cool, Tim. 

I'm curious how possible it might be to build without using a real device Opengl implementation, maybe some kind of Mesa. Thinking about mobile environments (especially ios) where real full Opengl may not be available but Vulkan is. 

--
You received this message because you are subscribed to the Google Groups "vsg-users : VulkanSceneGraph Developer Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vsg-users+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vsg-users/CAPK_1fzg-zAQ8POKK2fwHtFqYwttQVO8qMzvo9Py2FPDwC5tsw%40mail.gmail.com.

Tim Moore

unread,
Aug 17, 2022, 10:27:33 AM8/17/22
to vsg-...@googlegroups.com
Hi Chris,
vsgEarth doesn't create an OpenGL context, so linking against Mesa should be sufficient to keep osgEarth and OSG happy. osgEarth is a fairly sophisticated user of OpenGL, so at some point we might run into a case where osgEarth queries for OpenGL features before any rendering happens, but that could be met either by Mesa or some development on the osgEarth side.

Tim

Robert Osfield

unread,
Aug 17, 2022, 10:29:19 AM8/17/22
to vsg-...@googlegroups.com
Great news Tim. Kudos for your efforts on vsgEarth.

Any screenshots to share?

shayne.tueller

unread,
Aug 17, 2022, 10:37:08 AM8/17/22
to vsg-...@googlegroups.com
Have you done any performance profiling with vsgEarth? I'm curious how it measures up with osgEarth...

Shayne



Sent from my T-Mobile 4G LTE Device

Tim Moore

unread,
Aug 17, 2022, 11:02:43 AM8/17/22
to vsg-...@googlegroups.com
Some of the latest development was done at locations in this image:
Screenshot from 2022-08-17 16-58-08.png

On Wed, Aug 17, 2022 at 4:29 PM Robert Osfield <robert....@gmail.com> wrote:
Great news Tim. Kudos for your efforts on vsgEarth.

Any screenshots to share?

--
You received this message because you are subscribed to the Google Groups "vsg-users : VulkanSceneGraph Developer Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vsg-users+...@googlegroups.com.

Tim Moore

unread,
Aug 17, 2022, 11:14:14 AM8/17/22
to vsg-...@googlegroups.com
On Wed, Aug 17, 2022 at 4:37 PM shayne.tueller <shayne....@comcast.net> wrote:
Have you done any performance profiling with vsgEarth? I'm curious how it measures up with osgEarth...

I haven't, for several reasons. osgEarth is mature and highly tuned for the display of terrain with complex effects, particularly on NVidia hardware. vsgEarth is really just a prototype at this point. I've done a lot of the development on a laptop with integrated AMD Radeon graphics, with "stock" Linux Vulkan and OpenGL drivers. This is quite nice feature-wise for Vulkan and osgEarth does run, but I don't think it presents a fair benchmark comparison. Additionally, I have almost no experience profiling with Vulkan! I know that the modern approach is to use a program like NVidia NSight, but I haven't had the patience to wrestle with it on Linux; I'd be happy to hear of others' experience doing this.

Having said that, vsgEarth does run at smooth, interactive rates when toodling around the ReadyMap globe.

Tim

shayne.tueller

unread,
Aug 17, 2022, 10:50:34 PM8/17/22
to vsg-...@googlegroups.com
Tim, 

Thanks for the feedback. Your work is a great step forward.
Reply all
Reply to author
Forward
0 new messages