<br><font size=2 face="sans-serif">Hi All,</font>
<br><font size=2 face="sans-serif"> I
am trying to do CSG operations in VTK with 2 areas enclosed with polygons.
>From my experience with OpenGL since we don't actually want the geometry
is to use the stencil buffer to do this. Is there a way to do this kind
of stencil operation in VTK?</font>
<br><font size=2 face="sans-serif"> If
not can VTK perform the clipping. I know it is possible with planar surfaces
i.e. I can clip a group of polygons by an implicit function. However from
what I understand I'd have to convert my polygon set to an implicit function
(possible since it is an enclosed set) and then use that against the other
polygon set. But this would be very slow as I would have to use crossing
test or something like it to evaluate the implicit function and we need
real time performance. Unfortunately the enclosed areas are not guaranteed
to be convex so I can't use just plane clipping.</font>
<br><font size=2 face="sans-serif"> Sorry
about this query but I am new to VTK and trying to get to grips with it.</font>
<br>
<br><font size=2 face="sans-serif">Regards,</font>
<br><font size=2 face="sans-serif">William Leeson<br>
Software Development<br>
<br>
PILZ Ireland Industrial Automation,<br>
Business & Technology Park, Model Farm Road, Cork, Ireland.<br>
Telephone +353 (021) 4804-982, Fax +353 (021) 4804-994<br>
E-Mail: mailto:w.leeson@pilz.ie, Internet: http://www.pilz.ie<br>
<br>
This email is intended solely for the use of the named addressee(s). Any
unauthorised disclosure, copying or distribution of the confidential information
contained therein, or the taking of any action based on it, is prohibited.
The sender disclaims any liability for the integrity of this email. Legally
binding declarations must be in written form.</font>