Blender Git Commit Log
Git Commits -> Revision 289c8b5
Revision 289c8b5 by Nicholas Bishop (master) December 30, 2011, 21:11 (GMT) |
Add remesh modifier (dual contouring). This patch adds a new remeshing modifier. The algorithm is based on the paper "Dual Contouring of Hermite Data", and the implementation was contributed to Blender by Dr. Tao Ju. The contributed code is in intern/dualcon, and was modified to compile under gcc and work on 64-bit systems. Files not needed for Blender were removed and a small C wrapper was added in order to interface it with Blender. The rest of the patch is just standard modifier stuff. Reviewed by Sergey, code review link: http://codereview.appspot.com/5491053/ The remesh icon was contributed by Zafio: http://blenderartists.org/forum/showthread.php?240751-Request-for-modifier-icon/page2. Thanks to everyone in that thread for the icon proposals and discussion. Documentation and examples on the Blender wiki: http://wiki.blender.org/index.php/User:Nicholasbishop/RemeshModifier In case the history is needed for anything, check the remesh-modifier branch of this git repository: https://gitorious.org/~nicholasbishop/blenderprojects/nicholasbishop-blender |
Commit Details:
Full Hash: 289c8b575872ab49d7d16b742af0e5f56f7282eb
SVN Revision: 43010
Parent Commit: 792452a
Lines Changed: +15855, -6288
19 Added Paths:
/intern/dualcon/CMakeLists.txt (+46, -0) (View)
/intern/dualcon/dualcon.h (+95, -0) (View)
/intern/dualcon/intern/cubes.h (+46, -0) (View)
/intern/dualcon/intern/dualcon_c_api.cpp (+191, -0) (View)
/intern/dualcon/intern/GeoCommon.h (+69, -0) (View)
/intern/dualcon/intern/manifold_table.cpp (+282, -0) (View)
/intern/dualcon/intern/manifold_table.h (+33, -0) (View)
/intern/dualcon/intern/marching_cubes_table.cpp (+554, -0) (View)
/intern/dualcon/intern/marching_cubes_table.h (+38, -0) (View)
/intern/dualcon/intern/MemoryAllocator.h (+219, -0) (View)
/intern/dualcon/intern/ModelReader.h (+64, -0) (View)
/intern/dualcon/intern/octree.cpp (+4311, -0) (View)
/intern/dualcon/intern/octree.h (+1596, -0) (View)
/intern/dualcon/intern/Projections.cpp (+76, -0) (View)
/intern/dualcon/intern/Projections.h (+844, -0) (View)
/intern/dualcon/intern/Queue.h (+110, -0) (View)
/intern/dualcon/intern/readme.txt (+112, -0) (View)
/intern/dualcon/SConscript (+9, -0) (View)
/source/blender/modifiers/intern/MOD_remesh.c (+214, -0) (View)
/intern/dualcon/dualcon.h (+95, -0) (View)
/intern/dualcon/intern/cubes.h (+46, -0) (View)
/intern/dualcon/intern/dualcon_c_api.cpp (+191, -0) (View)
/intern/dualcon/intern/GeoCommon.h (+69, -0) (View)
/intern/dualcon/intern/manifold_table.cpp (+282, -0) (View)
/intern/dualcon/intern/manifold_table.h (+33, -0) (View)
/intern/dualcon/intern/marching_cubes_table.cpp (+554, -0) (View)
/intern/dualcon/intern/marching_cubes_table.h (+38, -0) (View)
/intern/dualcon/intern/MemoryAllocator.h (+219, -0) (View)
/intern/dualcon/intern/ModelReader.h (+64, -0) (View)
/intern/dualcon/intern/octree.cpp (+4311, -0) (View)
/intern/dualcon/intern/octree.h (+1596, -0) (View)
/intern/dualcon/intern/Projections.cpp (+76, -0) (View)
/intern/dualcon/intern/Projections.h (+844, -0) (View)
/intern/dualcon/intern/Queue.h (+110, -0) (View)
/intern/dualcon/intern/readme.txt (+112, -0) (View)
/intern/dualcon/SConscript (+9, -0) (View)
/source/blender/modifiers/intern/MOD_remesh.c (+214, -0) (View)
15 Modified Paths:
/intern/CMakeLists.txt (+1, -0) (Diff)
/intern/SConscript (+1, -0) (Diff)
/release/datafiles/blender_icons.png (+0, -0) (Diff)
/release/scripts/startup/bl_ui/properties_data_modifier.py (+14, -0) (Diff)
/source/blender/blenkernel/BKE_mesh.h (+2, -2) (Diff)
/source/blender/editors/datafiles/blender_icons.png.c (+6819, -6284) (Diff)
/source/blender/editors/include/UI_icons.h (+1, -1) (Diff)
/source/blender/makesdna/DNA_modifier_types.h (+36, -0) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+55, -0) (Diff)
/source/blender/modifiers/CMakeLists.txt (+2, -0) (Diff)
/source/blender/modifiers/intern/MOD_util.c (+1, -0) (Diff)
/source/blender/modifiers/MOD_modifiertypes.h (+1, -0) (Diff)
/source/blender/modifiers/SConscript (+1, -1) (Diff)
/source/blenderplayer/bad_level_call_stubs/stubs.c (+11, -0) (Diff)
/source/creator/CMakeLists.txt (+1, -0) (Diff)
/intern/SConscript (+1, -0) (Diff)
/release/datafiles/blender_icons.png (+0, -0) (Diff)
/release/scripts/startup/bl_ui/properties_data_modifier.py (+14, -0) (Diff)
/source/blender/blenkernel/BKE_mesh.h (+2, -2) (Diff)
/source/blender/editors/datafiles/blender_icons.png.c (+6819, -6284) (Diff)
/source/blender/editors/include/UI_icons.h (+1, -1) (Diff)
/source/blender/makesdna/DNA_modifier_types.h (+36, -0) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+55, -0) (Diff)
/source/blender/modifiers/CMakeLists.txt (+2, -0) (Diff)
/source/blender/modifiers/intern/MOD_util.c (+1, -0) (Diff)
/source/blender/modifiers/MOD_modifiertypes.h (+1, -0) (Diff)
/source/blender/modifiers/SConscript (+1, -1) (Diff)
/source/blenderplayer/bad_level_call_stubs/stubs.c (+11, -0) (Diff)
/source/creator/CMakeLists.txt (+1, -0) (Diff)