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

transferFunction1D valueRange parameter does not accept FLOAT64_BOX1 #299

Open
stukowski opened this issue Mar 18, 2025 · 0 comments
Open

Comments

@stukowski
Copy link

I have discovered another small problem:

When I set the valueRange parameter of the transferFunction1D volume to a FLOAT64_BOX1 value, helide seems to silently ignore it:

const double valueRange[2] = {primitive.pseudoColorMapping().minValue(), primitive.pseudoColorMapping().maxValue()};
anari::setParameter(deviceHandle(), volume, "valueRange", ANARI_FLOAT64_BOX1, valueRange);

It works as expected if I use ANARI_FLOAT32_BOX1 instead.

The ANARI spec allows both FLOAT32_BOX1 and FLOAT64_BOX1.

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

1 participant