<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.3502.5390" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi All,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am trying to read data from a file and display
it. The data in the file is </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>1) vertex co-ordinates of triangles , 2) normals at
each vertex</FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>eg: </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>vertex1[x] vertex1[y]
vertex1[z] Normal[x] Normal
[y] Normal[z]</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>All values are in world/object space.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Now, i read these coordinates and made
triangles (vtkTriangle) out of them and renderered them.... there are a lot of
gaps in the object renderered. I am thinking, that is </FONT><FONT
face=Arial size=2>because I have just not done anything with the normals,
frankly because I dont know what to do with them.</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Can someone help with this?....How do I make use of
the normals ? </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Mayur</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV></BODY></HTML>