
Thanks Robert. I was able to compile vsgXchange into vsgviewer and it seems to work well.
I ran into a few blockers during the build process that I wanted to make you aware of:1) In Vulkan 1.2, VK_RAY_TRACING_SHADER_GROUP_TYPE_MAX_ENUM_NV has been upgraded to a Khronos Group extension (VK_RAY_TRACING_SHADER_GROUP_TYPE_MAX_ENUM_KHR)
2) With static libraries, the dependency chain is vsgviewer -> vsgXchange -> osg2vsg. I was getting a link error due to osg2vsg being missing
3) Related to #2 above, I added a find_package(osg2vsg) to the CMakeLists.txt
4) SPIRV link order was causing issues with gcc-9. I altered the link order to link SPIRV-Tools-opt.a prior to SPIRV-Tools.aI've attached some patch files for your review. Feel free to make adjustments to your liking.
The one issue I've had is it failed to load a LAS point cloud model. It may be that my OSG build did not include the LAS plugin. I hoping to get that working as a learning activity to start diving into what VSG can do.
Where did you source the header from?
https://github.com/KhronosGroup/Vulkan-Headers.git
Header Version: 1.2.135
Do you use vsgXchange master or the vsgExamples osg2vsg branch?
vsgXchange master
What OS and gcc version are you using?
Linux Mint 19.3
gcc version 9.2.1
Update on loading a LAS file...
Indeed I had not built the LAS plugin for OSG. After doing
so, osgviewer displayed some LAS files, but not others.
Seems OSG has a dependency on the legacy laslib, so it does
not support the newer formats.
vsgviewer did not load the files, but I wasn't able to
research the cause yet.
Scott
--
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/c0cd76b0-3a9d-4bc6-9768-7ccab82282d5%40googlegroups.com.
Where did you source the header from?
https://github.com/KhronosGroup/Vulkan-Headers.git
Header Version: 1.2.135
Do you use vsgXchange master or the vsgExamples osg2vsg branch?
vsgXchange master
What OS and gcc version are you using?
Linux Mint 19.3
gcc version 9.2.1Update on loading a LAS file...
Indeed I had not built the LAS plugin for OSG. After doing so, osgviewer displayed some LAS files, but not others.
Seems OSG has a dependency on the legacy laslib, so it does not support the newer formats.
vsgviewer did not load the files, but I wasn't able to research the cause yet.
Right on the bleeding edge then :-)
That is where the excitement is... you just need to get
accustom to hitting walls now and again ;)
And if I was risk adverse then we wouldn't be chatting right
now, given that vsg is pre-release.
Could you update VSG...
On the road for a few days. Wouldn't have an opportunity until this weekend.
Don't want to distract you with the LAS issue, and it make a good
learning exercise for me.
Just need some guidance... given the current state of the osg
plugin, should I focus on updating it or do something new within
vsg? What is your preference?
Could you update VSG, osg2vsg, vsgXchange and vsgExamples master and see where we are now w.r.t build.
That is where the excitement is... you just need to get accustom to hitting walls now and again ;)
And if I was risk adverse then we wouldn't be chatting right now, given that vsg is pre-release.
Could you update VSG...
On the road for a few days. Wouldn't have an opportunity until this weekend.
Don't want to distract you with the LAS issue, and it make a good learning exercise for me.
Just need some guidance... given the current state of the osg plugin, should I focus on updating it or do something new within vsg? What is your preference?
--
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/7731c98b-0ef8-91fb-43af-69d35d803904%40gmail.com.
Hi Scott,I thought I should chip in with some info about the las plugin. I recently added a bugfix, but the nature of the bug suggests that the plugin is not used a lot.The current osg plugin depends on liblas and the deprecated laszip library for .laz support, and needs an older version (laszip 2.1.0 or 2.2.0) because of interface changes in later versions before development was stopped.I read that this combo (liblas - laszip) doesn't support more recent versions of the las file format, but did not find any examples of these newer files, all files I wanted to use did still work.Anyway, I guess building on an old version of a deprecated library is not the way forward, apparently liblas is replaced by something called pdal, but I did not look into that any further. I think the nice solution would be to replace the current osg las plugin with a new version based on this pdal library.Laurens.
Thanks Laurens and Robert. I've started working on a upgraded OSG LAS plugin.
Some background information:
libLAS is deprecated, but LASzip is still maintained.
PDAL just delegates the LAS file handling to library LASlib, which
is part of the LAStools package.
Approach:
Within CMake, look for LASlib. If found, compile the OSG LAS
plugin with LASlib. This version would support LAS version 1.0 -
1.4.
Initial release will only support the same features as the
current plugin... i.e. colored points + existing plugin options.
The verbose option output is likely to change a bit
I may add a new option to control the point size
If LASlib is not found, look for the older libLAS. If found,
compile the OSG LAS plugin with libLAS. This version would
support LAS version 1.0 - 1.3.
If the older libLAS is used, display a deprecated message to
encourage user to upgrade to LASlib.
Remove libLAS during a future OSG release.
Scott
--
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/b53878ee-9a54-4909-af1f-874d5151edb5%40googlegroups.com.
I was able to get vxgXchange/osg2vsg/osg-plugins to compile and working for simple models, but I can't get it to work with our .txp database. I see the plugin getting loaded but nothing shows up. I'll continue looking into it, but if anyone has any insight, please pass it along.
We have multiple rather large txp databases, populated with buildings and trees and water etc. I would rather be using VirtualPlanetBuilder, but I don't have the manpower to convert or generate new databases, so yeah, it's kinda critical for me.