Closed jasonrohrer closed 2 years ago
Whoa, setting one of them to 45 produces a very odd result:
cube
>> rotate { angle: (-90*deg), axis: Y_axis }
>> rotate { angle: (-90*deg), axis: X_axis }
Doug is working on fixing this soon via constraining ray-max-depth to bounding box.
This only happens when you set ray_max_depth to infinity, which is now officially unsupported :-) The default value is no longer infinity, it's 2000, so nobody will now see this behaviour by accident.
This occurs whenever ray_max_depth=inf, and thus became default behavior after 196f512572ef1bc92588f154e312fc729a752fef
It can also be reproduced in previous curv versions by setting
Sample code:
Note that this bug seems to be specific to 90 degrees as a rotation angle.