Skip to content

This OpenGL/Vulkan sample illustrates the use of "mesh shaders" for rendering CAD models.

License

Notifications You must be signed in to change notification settings

seanbaxter/gl_vk_meshlet_cadscene

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image

Vulkan CAD Mesh Shader Sample

This branch is the Circle C++ shaders port of Christoph Kubisch's Vulkan meshlet cadscene sample.

Compile with Circle build 112.

You'll need the dependencies listed here.

To build, try this:

# Download the nvpro framework.
$ mkdir meshlet
$ cd meshlet
meshlet$ git clone [email protected]:nvpro-samples/shared_sources
meshlet$ git clone [email protected]:nvpro-samples/shared_external

# Download the circle branch of the project
meshlet$ git clone [email protected]:seanbaxter/gl_vk_meshlet_cadscene -b circle
meshlet$ cd gl_vk_meshlet_cadscene

# Point cmake to circle. If it's in the path, it's real easy.
meshlet/gl_vk_meshlet_cadscene$ mkdir build
meshlet/gl_vk_meshlet_cadscene$ cd build
meshlet/gl_vk_meshlet_cadscene/build$ cmake -DCMAKE_CXX_COMPILER=circle ..

# Compile with some number of cores.
meshlet/gl_vk_meshlet_cadscene/build$ make -j4

# Run the sample. Have fun.
meshlet/gl_vk_meshlet_cadscene/build$ ../../bin_x64/vk_meshlet_cadscene.exe

About

This OpenGL/Vulkan sample illustrates the use of "mesh shaders" for rendering CAD models.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 97.1%
  • CMake 2.1%
  • C 0.8%