vsg-dev / MyFirstVsgApplication

Very simple project to illustrate how to build a VulkanSceneGraph application
MIT License
30 stars 12 forks source link

cann't render glider.vsgt #7

Closed lqzer closed 2 years ago

lqzer commented 2 years ago

Hi I run MyFirstVsgApplication application in window10 to load glider.vsgt, but noting in screen, vsg

to load glider.osgt is right glider osgt

Device Groups:
==============
Group 0:
        Properties:
                physicalDevices: count = 1
                        NVIDIA GeForce GTX 1660 SUPER (ID: 0)
                subsetAllocation = 1

        Present Capabilities:
                NVIDIA GeForce GTX 1660 SUPER (ID: 0):
                        Can present images from the following devices: count = 1
                                NVIDIA GeForce GTX 1660 SUPER (ID: 0)
                Present modes: count = 1
                        DEVICE_GROUP_PRESENT_MODE_LOCAL_BIT_KHR

Device Properties and Extensions:
=================================
GPU0:
VkPhysicalDeviceProperties:
---------------------------
        apiVersion        = 4202682 (1.2.186)
        driverVersion     = 2080587776 (0x7c034000)
        vendorID          = 0x10de
        deviceID          = 0x21c4
        deviceType        = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
        deviceName        = NVIDIA GeForce GTX 1660 SUPER
        pipelineCacheUUID = ed289eec-d2bd-558e-084e-f267aa5f4b19
lqzer commented 2 years ago

I convert glider.osgt to glider.vsgt use vsgconv, the glider.vsgt is correct, so the glider.vsgt in models folder cann't render.

robertosfield commented 2 years ago

Sorry for the slow response. The models were out of date. I've updated them now to work with the latest VSG.

Serialization Clenup

robertosfield commented 2 years ago

On my Kubuntu 21.10 system I have just used :

vsgconv glider.ost glider.vsgt
myfirstvsgapplication glider.vsgt

And this works fine. This is using the latest VSG+vsgXchnage:

$ vsgconv --version
VulkanSceneGraph version = 0.2.12, so = 7
vsgXchange version = 0.0.1, so = 0
vsgXchange built as static library

Try running with the Vulkan debug layer enabled

vsgviewer glider.vsgt -d myfirstvsgapplication glider.vsgt -d

I have attached the glider.vsgt that I've just generated. Message ID: @.***>