Need a algorithm format of Butterfly Sub division techniqueor programm for


#1

Anyone can help me on butterfly sub division technique algorithm? Please if possible explain with an example.I need algorithm for it and some mathematical explanation.


#2

Hi,

The PolyMesh class in the SceneEngine project implements subdivision:

SourceForge > SceneEngine > Code >
[r1643]: trunk / LibsIn / SceneEngine / source / Mesh / PolyMesh.cpp

http://sourceforge.net/p/sceneengine/code/HEAD/tree/trunk/LibsIn/SceneEngine/source/Mesh/PolyMesh.cpp#l1955

Search for SubDividePolyMesh (~line 1958).

Good Luck!