Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data path not relocateable #105

Open
maxnbk opened this issue Mar 7, 2018 · 3 comments
Open

data path not relocateable #105

maxnbk opened this issue Mar 7, 2018 · 3 comments

Comments

@maxnbk
Copy link

maxnbk commented Mar 7, 2018

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.

@miaoqi
Copy link
Contributor

miaoqi commented Mar 23, 2018

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!

@maxnbk
Copy link
Author

maxnbk commented Apr 10, 2018

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.
#104

@IdrisMiles
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants