Open maxnbk opened 6 years ago
Hi,
Which OS did you install it on?
you can also use the environment variable of "AMPAS_DATA_PATH" to set up the path to the data.
Thanks!
So using AMPAS_DATA_PATH works. Basically same issue as this issue, because the other two env vars have no effect, but data path works for both purposes. https://github.com/ampas/rawtoaces/issues/104
setting AMPAS_DATA_PATH
does not work for the cmf
and training
data.
These are still hardcoded to:
#define FILEPATH ("/usr/local/include/rawtoaces/data/")
Would it be possible to allow these to use AMPAS_DATA_PATH
or their own unique env var?
in acesrender.cpp, the illuminant and camera data path defaults to "/usr/local/include/rawtoaces/data/illuminant", but a build which uses a CMAKE_INSTALL_PREFIX to be installed elsewhere will not have data there. The default path for the data files should be parameterized by the passed CMAKE_INSTALL_PREFIX if present.