NVIDIA / gvdb-voxels

Sparse volume compute and rendering on NVIDIA GPUs
Other
679 stars 145 forks source link

PTX and GLSL files relative to GVDB install path. #42

Closed drmateo closed 5 years ago

drmateo commented 5 years ago

If you create a project with the GVDB dependency, it is mandatory to run the built executable from the folder which contain kernel (ptx) and shader (glsl) files in linux systems. So you are force to "make install" the project because those files are copied to in the installation time.

With this change this is not any more necessary since the references of those files are created in compilation time of GVDB library. These references are defined as macros.