blender/intern
Nicholas Bishop 850636e0e4 Remesh modifier: extensive refactoring of the Octree class.
The changes mostly center around two new structures, InternalNode and
LeafNode. These provide an explicit representation of the Octree
nodes, which formerly were manipulated as opaque byte arrays.

A fair amount of commented out/unused code was also removed. This
includes the "CINDY" code, which may yet be useful, easy to bring back
if so.

There should be no difference in the output of the remesh modifier,
but memory usage may be slightly different. The flood fill bytes are
no longer optional; they will be allocated whether or not the 'remove
disconnect components' flag is set. The leaf node is probably not as
tightly packed due to alignment issues; this could be fixed with the
__attribute__((packed)) flag in gcc (probably there's an MSVC
equivalent), but not sure it's worth it. The internal nodes should
take up less space on 32-bit systems, allocating sizeof(pointer) now
rather than constant eight bytes.

These changes were made in persuit of bug #30158 (remesh crashes on
PowerPC). There's still a fair amount of bitwise stuff in the Octree,
so may still be endian issues and not yet sure if this fixes the bug,
but should be much easier to track down problems now.
2012-02-18 11:34:53 +00:00
..
audaspace patch [#30227] Various MSVC (32-bit) Warning and Typo Fixes 2012-02-17 19:21:47 +00:00
boolop unify include guard defines, __$FILENAME__ 2012-02-17 18:59:41 +00:00
bsp unify include guard defines, __$FILENAME__ 2012-02-17 18:59:41 +00:00
container unify include guard defines, __$FILENAME__ 2012-02-17 18:59:41 +00:00
cycles Fix another padding error in cycles, to complete the previous bugfix. 2012-02-15 14:56:08 +00:00
decimation unify include guard defines, __$FILENAME__ 2012-02-17 18:59:41 +00:00
dualcon Remesh modifier: extensive refactoring of the Octree class. 2012-02-18 11:34:53 +00:00
elbeem patch from Jochen Schmitt to get blender building with gcc4.7 2012-02-09 07:01:30 +00:00
ffmpeg unify include guard defines, __$FILENAME__ 2012-02-17 18:59:41 +00:00
ghost XDND support now can be disabled using WITH_GHOST_XDND=OFF with CMake and WITH_GHOST_XDND=False with SCons 2012-02-17 20:51:39 +00:00
guardedalloc unify include guard defines, __$FILENAME__ 2012-02-17 18:59:41 +00:00
iksolver unify include guard defines, __$FILENAME__ 2012-02-17 18:59:41 +00:00
itasc OSX: buildfix for itask on 10.5.sdk 2011-11-15 21:55:07 +00:00
memutil unify include guard defines, __$FILENAME__ 2012-02-17 18:59:41 +00:00
mikktspace Code cleanup: fix some clang static checker warnings. 2011-12-22 20:29:44 +00:00
moto Cycles: svn merge -r41225:41232 ^/trunk/blender 2011-10-24 22:32:00 +00:00
opennl Code cleanup: fix some clang static checker warnings. 2011-12-22 20:29:44 +00:00
smoke style edits for function declarations 2011-12-30 07:55:15 +00:00
string unify include guard defines, __$FILENAME__ 2012-02-17 18:59:41 +00:00
CMakeLists.txt option to build without remesh modifier for cmake and scons 2011-12-31 03:34:44 +00:00
SConscript option to build without remesh modifier for cmake and scons 2011-12-31 03:34:44 +00:00