<!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>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>1) vertex co-ordinates of triangles , 2) normals at 
each vertex</FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>eg: </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>vertex1[x]&nbsp; vertex1[y]&nbsp;&nbsp; 
vertex1[z]&nbsp;&nbsp; Normal[x]&nbsp;&nbsp;&nbsp;&nbsp;  Normal 
[y]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  Normal[z]</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>All values are in world/object space.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Now, i&nbsp; read these coordinates and made 
triangles (vtkTriangle) out of them and renderered them.... there are a lot of 
gaps in the&nbsp;object renderered. I am thinking, that is </FONT><FONT 
face=Arial size=2>because&nbsp; I have just not done anything with the normals, 
frankly because I dont know what to do with them.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Can someone help with this?....How do I make use of 
the normals ?&nbsp; </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Mayur</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>