PDA

View Full Version : Coplanar triangles substraction



TDurden
02-09-2004, 05:01 AM
Hi all,

My first post in this forum.
I'm looking for some refs to perform a substraction between 2 triangles and I dont want to use CSG stuff.
By triangles substraction I mean, given two coplanar triangles A and B, I want to generate a list of triangles resulting from the A - B operations

Thx in advance

ZbuffeR
02-09-2004, 10:56 AM
Well, it IS csg, only in 2d .... http://www.opengl.org/discussion_boards/ubb/tongue.gif
Maybe google on "geometry boolean operations" ?

TDurden
02-10-2004, 12:04 AM
Well... What I though was called CSG can be found there : http://www.nbb.cornell.edu/neurobio/land/OldStudentProjects/cs490-96to97/indira/csg/theory.html

charliejay
02-12-2004, 08:00 AM
Maybe try the Graphics Gems faq?

This will give you methods for performaing all the necessary operations, using trigonometry and/or linear algebra.

CJ

obirsoy
02-13-2004, 10:06 AM
Try GPC...
http://www.cs.man.ac.uk/aig/staff/alan/software/