Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-08-06quiet double-promotion warnings, change octree.cpp to use a float (vector ↵Campbell Barton
accumulated into a float anyway)
2013-08-04fix for 2 memory leaks in dualcon library, quite bad since they leaked on ↵Campbell Barton
every evaluation.
2013-08-04Support WITH_CXX_GUARDEDALLOC for dualcon libraryCampbell Barton
2013-03-29misc minor edits.Campbell Barton
- pass string size to BLI_timestr() to avoid possible buffer overrun. - quiet warning for mingw. - include guards for windows utf conversion funcs. - fix for mistage in edge-angle-selection check. - some style cleanup.
2013-01-20Add missing virtual destructor for VirtualMemoryAllocatorNicholas Bishop
Fixes a warning from GCC 4.7.2.
2012-12-17Added GPL header to sconscripts!Bastien Montagne
Also changed shebang to '#!/usr/bin/env python', this is more portable across unixes...
2012-10-14code cleanup: remove redundant castsCampbell Barton
2012-10-06Avoid unecessary minimizer calculations in dualconNicholas Bishop
* The minimize() function, which solves a least-squares problem, is only needed for sharp remesh mode, but was being calculated for smooth and blocks modes as well. Disabling this calculation when it's not needed gives a big performance boost.
2012-10-06Code cleanups for dualcon octreeNicholas Bishop
* Move InternalNode operators from Octree class into InternalNode struct * Constify various member functions
2012-09-16code cleanup: quiet warnings for gcc's -Wundef, -Wmissing-declarationsCampbell Barton
2012-07-17code cleanup: spellingCampbell Barton
2012-05-10Potential fix for bug #31111, Remesh modifier generates artifacts on simple ↵Nicholas Bishop
surfaces Changed one of the intersection tests to use < rather than <= The sharp and smooth modes look fine now for the special case that was reported broken; blocks mode looks correct but "jumps" slightly from one octree resolution to another, so may need additional corrections.
2012-05-10More code cleanup in intern/dualcon.Nicholas Bishop
Removed a lot of unused code, added comments and some clearer naming. Minor code shuffles and style cleanup too.
2012-05-09Fix division by zero case in dualcon.Nicholas Bishop
2012-05-09Code style cleanup in intern/dualcon.Nicholas Bishop
2012-04-16And another fix for r45669 to have dualcon compile on windows...Thomas Dinges
2012-04-16Fix for isnan compile issue on windows (second try).Brecht Van Lommel
2012-04-16Fix for remesh modifier crash mentioned in comments of bug [#30966]Nicholas Bishop
Reading in triangles now skips any NaN coordinates.
2012-02-18Remesh modifier: extensive refactoring of the Octree class.Nicholas Bishop
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-17unify include guard defines, __$FILENAME__Campbell Barton
without the underscores these clogged up the namespace for autocompleation which was annoying.
2011-12-31Fix for compilation error when compiling dualcon with mingwSergey Sharybin
2011-12-31Add remesh modifier (dual contouring).Nicholas Bishop
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