PDA

View Full Version : Compute 2D Polygone Offset



newuser2004
08-11-2004, 04:22 AM
Hi

I have 2D polygone drawings where I need to calculate a corresponding offset
line (see the sample -> I need to calculate the red line). Can anyone point
me to an algorithm to do so? I am using Delphi...

http://merkur.ods.org/poly.gif

Thanks,
Peter

08-11-2004, 11:53 AM
check out page 88 of the 1.5 spec for the details:
http://www.opengl.org/documentation/spec.html

oh and you can edit your posts. check out the faq:
http://www.opengl.org/discussion_boards/cgi_directory/ultimatebb.cgi?ubb=faq

pictures are always nice :)