[Bf-committers] CSG Carve update

Ken Hughes khughes at pacific.edu
Fri Jun 5 22:34:37 CEST 2009

As of this about 30 minutes ago I've got Carve running as a library from 
Blender.  Right now it doesn't handle inheriting face properties 
(materials, images, UV, etc) but I've been working with Tobias and I 
don't think it will be that difficult.

A few issue I see right now:
* with editmesh we have to use the library's triangulator to guarantee 
faces with no more than 4 vertices.  I'm guessing bmesh might be able to 
handle these?
* there seem to be issues sometimes when passing the library quads; 
don't know if when the triangulator is used if you also have to give it 
only tris as well.
* the output mesh has lots of faces.  I spent a quite a bit of time on 
our boolean code trying to merge output faces to reduce the number of 
them.  Again, maybe this will be a moot issue with bmesh?


More information about the Bf-committers mailing list