<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> </DIV>
<DIV>Read x,y,z file into points</DIV>
<DIV>Manually create polygons from this and store cells in vtkPolyData</DIV>
<DIV>vtkPolyDataNormals</DIV>
<DIV>vtkPolyDataMapper</DIV>
<DIV>vtkActor</DIV>
<DIV> </DIV>
<DIV>This works fine and I can see my map in 3D</DIV>
<DIV> </DIV>
<DIV>I then need to overlay this 3D base map with roads, rivers, cut lines, etc. which are stored in ESRI shape files. I have been these shape files using vtkShapefileReader (this was created by Malcolm Drummond of this group). Essentially it creates a bunch of vtkPolyLines in 2D. </DIV>
<DIV> </DIV>
<DIV>My problem occurrs when I try and map the 2D vtkPolyLine Data onto the 3D Surface and am not sure how to do this.</DIV>
<DIV> </DIV>
<DIV>I've read numerous posts discussing texture mapping and originally was thinking of transforming the 2D data into an image, and then texture mapping onto my 3D surface. I'm not sure this is the correct approach and was wondering if there is a better way of doing this?</DIV>
<DIV> </DIV>
<DIV>Ron</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV></BODY></HTML>