From BlenderWiki

Jump to: navigation, search
Note: This is an archived version of the Blender Developer Wiki. The current and active wiki is available on wiki.blender.org.

Trim-Compatible Tessellation

The new NURBS tessellator takes a surface and a list of trim curves and produces the following polygonal approximations for the purposes of visualization in the editor. Note that normals still aren't calculated (left) and that automatic calculation of normals (right) does not produce good results. There are good (numerically stable and efficient) techniques for calculating the tangents (and therefore normals) analytically, but the code to do this is still a WIP: the theoretically "production-ready" code from Piegl&Tiller still has edge cases that need to be hunted down.

NURBS badnormals1.png NURBS badnormals2.png

One of the bugs I worked on early this week involved "zombie vertices" that intermittently lingered despite having been removed from the displist. Fortunately it has been fixed now.

NURBS floatingverts.png NURBS nofloatingverts.png