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

RGBAlbedoSpectrum, RoundTripRec2020 fails with specific input #93

Open
renderdude opened this issue Dec 9, 2020 · 1 comment
Open

Comments

@renderdude
Copy link

Tested on OSX 10.15

In lldb:
br s -f color_test.cpp -l 159
r --test-filter RGBAlbedoSpectrum.*
expr rgb = pbrt::RGB(0.78594791889190674, 0.10324395447969437, 0.12402211874723434)
c

Outputs:
Expected: (std::abs(rgb.g - rgb2.g)) < (eps), actual: 0.0189345 vs 0.01
[ 0.7859479 0.103243954 0.12402212 ] vs [ 0.7817782 0.12217841 0.15022568 ] xyz [ 0.5410349 0.2971326 0.16278245 ]
/Users/mbolsta/test/pbrt-v4/src/pbrt/util/color_test.cpp:171: Failure
Expected: (std::abs(rgb.b - rgb2.b)) < (eps), actual: 0.0262036 vs 0.01
[ 0.7859479 0.103243954 0.12402212 ] vs [ 0.7817782 0.12217841 0.15022568 ] xyz [ 0.5410349 0.2971326 0.16278245 ]

@renderdude
Copy link
Author

renderdude commented Dec 9, 2020

Posting consumed a '\' that's needed in the test-filter argument before the '*'

huongoss pushed a commit to huongoss/pbrt-v4-docker that referenced this issue Aug 30, 2024
Display all channels of layer in title and zoomed
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