<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>I have been trying to get VTK to plot 3D map data, but am running into some problems.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Read&nbsp; x,y,z file into points</DIV>
<DIV>Manually create polygons from this and store cells in&nbsp;vtkPolyData</DIV>
<DIV>vtkPolyDataNormals</DIV>
<DIV>vtkPolyDataMapper</DIV>
<DIV>vtkActor</DIV>
<DIV>&nbsp;</DIV>
<DIV>This works fine and I can see my map in 3D</DIV>
<DIV>&nbsp;</DIV>
<DIV>I&nbsp;then need to overlay this 3D base&nbsp;map with roads, rivers, cut lines, etc. which are stored in ESRI shape files.&nbsp;&nbsp; I have been&nbsp;these shape files using vtkShapefileReader (this was&nbsp;created by Malcolm Drummond of this group).&nbsp; Essentially it creates a bunch of vtkPolyLines in 2D.&nbsp; </DIV>
<DIV>&nbsp;</DIV>
<DIV>My problem occurrs when I try and&nbsp;map the 2D vtkPolyLine Data onto the 3D Surface and am not sure how to do this.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I've read numerous posts discussing texture mapping and&nbsp;originally was thinking of&nbsp;transforming the 2D data&nbsp;into an image, and then texture mapping onto my 3D surface.&nbsp; I'm not sure this is the correct approach and was wondering if there is a better way of doing this?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Ron</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>