--
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/CAFKnD9z9bCReasu_icfXDt0wOGJ6mDLd3iXwvd7GRpMjkN6Txg%40mail.gmail.com.
I am currently working on a Qt example.
What steps need to be taken, after the presentation of the file dialog?vsg::read(filename) is clear, but how do I attach the newly loaded node to the scenegraph? Is there any example available?
--
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/CAFN7Y%2BUgVChj143cir5%3D-4i5cRVkcB9Rk8tCnDWuncA9nck54g%40mail.gmail.com.
--
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/CAFN7Y%2BX7egkMNqNXA8jusc1Zj-b14krAD_kbwV67y%3D%2BYYwaaUQ%40mail.gmail.com.
I merged your fix and created a unix section inside the .pro file. You can now set an environment variable VSG_ROOT to point to your vsg install dir. The VULKAN_SDK environment variable is also needed, but this one is set automatically on my system.
--
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/CAFN7Y%2BWvtK3TmGcJ%3Db_UmomYsLFJyv%2BAfOON8QgHh%2BmOp3pCgw%40mail.gmail.com.
What Qt5 version are you using, Robert? It seems to me that your version doesn't support Vulkan.
--
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/CAFN7Y%2BX3x0hMBZ3OzEXpu95ueyKkTRTTMv_Yf4m%3D%2BNEjk4PdFg%40mail.gmail.com.
On Tue, 29 Dec 2020 at 17:13, Andre Normann <andre....@gmail.com> wrote:What Qt5 version are you using, Robert? It seems to me that your version doesn't support Vulkan.$ qmake --version
QMake version 3.1
Using Qt version 5.9.5 in /usr/lib/x86_64-linux-gnu
--
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/CAFN7Y%2BWWrp9VGE4XjPjqNL%3DSPkf8zN_AoPRfZJrsQbQi3xDA5w%40mail.gmail.com.
According to Qt docs QVulkanInstance exists in 5.10 onwards:So I won't be able to test without installing another version of Qt.The other route would be for the VSG to add the Vulkan support to a native window i.e. X11 Window. I don't know how easy it would be to go this route with modern Qt versions.Personally I don't think Qt is really the place for doing OpenGL or Vulkan, they've really not had a good track record over the years of not screwing up support for GL in clean ways over the years - in the early days of the OSG project we quite quickly got decent OSG support but they kept moving the goalposts and breaking things requiring updates to the OSG integration. Even now I don't think OSG/Qt integration is elegant or as functional as it should be simply because Qt tries to force "it's way" on how you manage the graphics context,This all makes me a bit wary of Qt providing Vulkan integration. The VSG is fully Vulkan centric, it's not an optional add-on feature, it's all about exposing Vulkan in a way that doesn't hide or constrain Vulkan functionality - that's the principal I'm aiming for. Qt has it's own focus but it's far higher and broader, but also adds it's own constraints.An ideal integration with Qt for me would be one that lets the VSG do the Vulkan functionality to the best of ability, and for Qt to just do Windowing to the best of it's ability.
One other potential problem to watch out for is that VSG relies on X windows but, at least on Fedora, the OS, GTK, Qt, WxWidgets, etc all use Wayland instead of X. So using any of the distro provided libs with VSG won't work. It's necessary to compile your own version of Qt using the legacy X libraries and link to it rather to the Distro provided Qt libs. Fedora was an early adopter of Wayland; I'm not certain when Ubuntu made the switch, Ubuntu 18 may still be using X but I bet 20 is using Wayland. Fedora has X compatibility, so the VSG examples all run fine, it's only if you link against distro provided UI libs using Wayland that you run into problems. Maybe adding a platform / unix file for Wayland support in VSG should be on the ToDo list as more distros make the switch from X.
Am Di., 29. Dez. 2020 um 18:42 Uhr schrieb Robert Osfield <robert....@gmail.com>:This is how my example works. Qt does not create the vulkan instance. It is using the instance created by vsg. Qt is only managing the surface part. QVulkanInstance::surfaceForWindow is used for creating a VkSurfaceKHR instance. So I only use a few QVulkan* components.
Does this mean both Qt and the VSG are independently creating a vkInstance? I don't know of whether it's OK to utilize Vulkan objects across different vkInstance, I wouldn't be surprised if this could be sensitive to what drivers support. The Vulkan debug layer would hopefully flag issues like this even if the drivers handle it.

--
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/CAFN7Y%2BW03gQW-eTGZSU86yMFNXuOi_MtUv9_YRoY8a%3D82nhcGA%40mail.gmail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vsg-users/CAFKnD9wohi7aqUMnQnO1egGvJ42uz37mt_gFtbPrPMqUeWJx_g%40mail.gmail.com.