Page MenuHome

Simplification in traversal code
AbandonedPublic

Authored by Thomas Dinges (dingto) on Aug 31 2014, 3:31 PM.

Details

Summary

Simplification of the traversal code

Diff Detail

Event Timeline

Bao 2 (bao2) retitled this revision from to Simplification in traversal code.
Bao 2 (bao2) updated this object.

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).
Thomas Dinges (dingto) commandeered this revision.Sep 5 2014, 4:25 AM
Thomas Dinges (dingto) abandoned this revision.
Thomas Dinges (dingto) edited reviewers, added: Bao 2 (bao2); removed: Thomas Dinges (dingto).

Closing on request of bao2.