[vtkusers] Cutting a hole in a texture

Sara Broughton - CSCI/P2002 s3brough at scs.ryerson.ca
Mon Jun 20 22:11:25 EDT 2005


Okay, I know this is a very basic question:

Has anyone been able to cut a hole (via transparency) in a texture plane 
mapped from vtkImageData?? 
 
I'm attempting to use vtkImplicitTextureCoords with vtkBooleanTexture to 
cut a hole in a texture mapped to a vtkTextureMapToPlane object (in 
conjunction with a vtkPlaneSource).  However, once I apply these 
2 filters, the texture from the image data disappears from the 
plane entirely.

I'm sure this can be done... I'd appreciate hearing how you did it.

Thanks very much.

-- 
Sara Broughton
Research Assistant
Department of Computer Science
Ryerson University, Toronto




More information about the vtkusers mailing list