[Bf-committers] mesh edge bevel
Ton Roosendaal
bf-committers@blender.org
Mon, 1 Sep 2003 01:04:59 +0200
Hi,
Well, here's a quick sketch with the theory I had in mind:
http://www.blender.org/bf/rt.png
Theory is to:
- store in vertices the amount of faces they share (# in drawing)
- put in edges pointers to the 2 faces (the "winged" edge!)
- then create new vertices, per face, stored in face
- then create new edges, per face, stored in edge
- going over all edges, evaluate the 2 connect faces, and create new
face
- going over vertices, create new faces
There's a lot exception stuff o handle when not all vertices (edges)
are selected, but managable!
BTW: creating the new vertices needs a smart algo, controlled by user
to locate them at certain distance interactively.
-Ton-
------------------------------------------------------------------------
--
Ton Roosendaal Blender Foundation ton@blender.org
http://www.blender.org