[Bf-codereview] Remesh modifier (dual contouring) (issue 5491053)

NicholasBishop at gmail.com NicholasBishop at gmail.com
Wed Dec 21 20:39:29 CET 2011


http://codereview.appspot.com/5491053/diff/19/intern/dualcon/intern/octree.h#newcode101
> intern/dualcon/intern/octree.h:101: const int edgevmap[12][2] =

{{0,4},{1,5},{2,6},{3,7},{0,2},{1,3},{4,6},{5,7},{0,1},{2,3},{4,5},{6,7}};
> Still onfuses a bit with constants from Pojections.cpp

Cleaned this up a bit. As with the projections arrays, made these arrays
extern and moved definitions into octree.cpp. Two of them (vert and edge
maps) had identical data to the ones in Projections.h/cpp, so removed
them. For some reason, the face map array has quite different data. I
don't know enough about the internal workings of the algorithm to
explain this difference, so just left that array the same for now.

http://codereview.appspot.com/5491053/


More information about the Bf-codereview mailing list