[vtkusers] defining color for backfaces of a polygon mesh in vtk.

Rishabh Kapoor kapoorrishabh at gmail.com
Sun Jun 15 23:14:20 EDT 2008


hi all,
 I have a problem. How can I define different colors to backfaces of a
polygon. I have defined a ambient, diffuse color of a polygon mesh. But I
want to assign a different color to backfaces of this polygon mesh.
When backfaces culling is switched on then the backfaces are not rendered
when the camera faces the back of the polygon mesh. Please tell me how can I
solve this problem of mine.
Regards,
 Rishabh Kapoor
-- 
Rishabh Kapoor
Medical Physics Consultant
202 Ashok Bhavan
93 Nehru Place
New Delhi 110019
Ph. +91-11-26423266, +91-11-26420136.
Mobile: 9910772490
EMail: tsgintegrations at gmail.com
Web: www.tsgintegrations.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080616/94436709/attachment.htm>


More information about the vtkusers mailing list