JKU-ICG / AOS

Airborne Optical Sectioning
Other
88 stars 21 forks source link

update README with more detail #6

Closed FelliYang closed 3 years ago

FelliYang commented 3 years ago

Current README is prone to tell people using the LFR as the CWD, however, when execute the 'main' program, must use the subdir as the CWD. This is because the code use relative path '../shader/' to file the shader files. When I tried to build the code, I had faced the problem that 'SHADER ERROR' and puzzled me for a long time. To avoid the similar situations, I recommend adding some detail about how to execute the './main' after building successfully.

schedldave commented 3 years ago

Thanks for the improvement.

This relative shader path is a problem for distribution. I started a fork that does not rely on external shader files anymore. On compile time the shaders are compiled in the program code. You can find it here: https://github.com/schedldave/AOS