lavavu / LavaVu

Lightweight, Automatable Visualisation & Analysis Viewing Utility
Other
53 stars 12 forks source link

Path to the shaders #19

Closed rbeucher closed 7 years ago

rbeucher commented 7 years ago

Hi,

I faced an issue with the code not finding the shaders when importing glucifer:

Error opening shader: /home/romain/Developement/underworld2/libUnderworld/bin/pointShader.vert Error opening shader: /home/romain/Developement/underworld2/libUnderworld/bin/pointShader.frag Error opening shader: /home/romain/Developement/underworld2/libUnderworld/bin/lineShader.vert Error opening shader: /home/romain/Developement/underworld2/libUnderworld/bin/lineShader.frag Error opening shader: /home/romain/Developement/underworld2/libUnderworld/bin/triShader.vert Error opening shader: /home/romain/Developement/underworld2/libUnderworld/bin/triShader.frag Error opening shader: /home/romain/Developement/underworld2/libUnderworld/bin/volumeShader.vert Error opening shader: /home/romain/Developement/underworld2/libUnderworld/bin/volumeShader.frag

The problem comes from the fact that I did compile Underworld in my "Developement" folder but moved the folder into another folder later on.

The shaders could not be found as the path is defined as absolute...

I suggest the path to the shaders should be relative...

Romain

OKaluza commented 7 years ago

Thanks Romain, just heading away for a couple of weeks but will fix this up when I get back.

OKaluza commented 7 years ago

Should be resolved with this change 8d754efbda4348436cafd913f11bdf544a8ddbb9