Simplification of the traversal code
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Another correction:
DingTo, look at line 143 in this file:
https://developer.blender.org/diffusion/B/browse/master/intern/cycles/kernel/geom/geom_bvh_traversal.h
and you see float_as_uint() is used:
traverseChild0 = (c0max >= c0min) && (float_as_uint(cnodes.z) & visibility);
So in lines 129, 133, 174 and 178
it must be also float_as_uint() and no float_as_int()
This comment was removed by Bao 2 (bao2).
This comment was removed by Bao 2 (bao2).
This comment was removed by Bao 2 (bao2).
This comment was removed by Bao 2 (bao2).