nvpro-samples / gl_vk_meshlet_cadscene Goto Github PK
View Code? Open in Web Editor NEWThis OpenGL/Vulkan sample illustrates the use of "mesh shaders" for rendering CAD models.
License: Apache License 2.0
This OpenGL/Vulkan sample illustrates the use of "mesh shaders" for rendering CAD models.
License: Apache License 2.0
Hello;
I compiled one Linux / Fedora 28 with HAS_OPENGL options not Vulkan and then the glsl shader compiler fails with missing values for NVMESHLET_VERTEX_ALIGNMENT and NVMESHLET_PRIM_ALIGNMENT.
Where would I find these values outside of nvmeshlet_utils.glsl? What should they be?
Thank you,
dave
known problem
RT
Built the vulkan only executable and launched with the respective .cfg files. Viewport is non responsive.
OS: Win10 18362.19h1_release.190318-1202
Windows SDK version 10.0.17763.0
Vulkan SDK 1.1.121.2
Had to add
#include <stdexcept>
in deviceutils_vk.cpp to build
PrimitiveCache::maxBlockBits variable is always constant 0xffffffffu.
These don't seem to make any sense, but are they implementation mistakes?
https://github.com/nvpro-samples/gl_vk_meshlet_cadscene/blob/master/nvmeshlet_builder.hpp#L479
https://github.com/nvpro-samples/gl_vk_meshlet_cadscene/blob/master/nvmeshlet_builder.hpp#L537-L556
The packbasic path binds uint[] and uvec2[] arrays to GEOMETRY_SSBO_PRIM, and uses them both. I didn't know this kind of aliasing was legal. What is the reason? The vertex and primitive loops are the heart of the mesh shader but are undocumented, and I can't piece together why these loops, that are seemingly doing different things, are loading from the same aliased data.
What was the reason making this mistake
--> using Vulkan Headers from: C:/VulkanSDK/1.3.211.0/Include
Downloading http://developer.download.nvidia.com/ProGraphics/nvpro-samples/worldcar.csf.gz to C:/Users/Local_Admin/Documents/GitHub/cadScene/downloaded_resources/worldcar.csf.gz
Downloading http://developer.download.nvidia.com/ProGraphics/nvpro-samples/blade.csf.gz to C:/Users/Local_Admin/Documents/GitHub/cadScene/downloaded_resources/blade.csf.gz
Configuring done
empty files are downloaded which fails at run time.
It looks like the path http://developer.download.nvidia.com/ProGraphics/nvpro-samples doesn't exists.
It is possible that a driver supports the required subgroup size extension but doesn't support it for mesh/task.
Was Vulkan SDK 1.3.231.1.
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.