[vtkusers] Help -- Determine Shade and Lit Triangles

Davood Ansari david.ansari at gmail.com
Sun Oct 11 15:16:05 EDT 2009


Hi all

I have a complex object represented as a triangular mesh.
I am going to do some kind of numerical analysis on the object surface.
*The assumption is that light is impinging onto the object surface from some
infinitely faraway point*. Is there an efficient
function which based on the location of the light source determines  *which
triangles are in light and which ones fall in the shade*?

Many many thanks
Davood
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091011/47510009/attachment.htm>


More information about the vtkusers mailing list