diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-06-14 15:29:09 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-07-07 18:25:48 +0300 |
commit | 1a2012145d6e7953c225b4f9873a4bc6415c7fd6 (patch) | |
tree | b94b047c909d6d67c905411353fe208b44cd11ac /intern/cycles/bvh/bvh.h | |
parent | 17e745426375fe76f5011992d582c01b682d348b (diff) |
Cycles: Switch node address to absolute values in BVH tree
This seems to be straightforward way to support heterogeneous nodes
in the same tree.
There is some penalty related on 4gig limit of the address space now,
but here's are the thing:
Traversal code was already using ints to store final offset, so
there can't be regressions really.
This is a required commit to make it possible to encode both aligned
and unaligned nodes in the same array. Also, in the future we can use
this to get rid of __leaf_nodes array (which is a bit tricky to do since
trickery in pack_instances().
Diffstat (limited to 'intern/cycles/bvh/bvh.h')
0 files changed, 0 insertions, 0 deletions