<HTML>
<HEAD>
<TITLE>Re: [Paraview] vtkDEMReader - DEM files rendered in 2D in Paraview</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>I am not familiar with DEM files, but I am pretty sure that the file is being read in as a 2D image, which is probably the right thing to do, and 2D images are represented in ParaView as flat, colored planes, which is also the right thing to do. &nbsp;Reading this 2.5D data as 3D polygons would ruin your ability to perform many filtering operations that might be useful.<BR>
<BR>
You can reconstruct the 3D features by applying a couple of filters to your data. &nbsp;First, apply the &#8220;Extract Surface&#8221; filter to convert the image to polygons that can be freely manipulated in 3-space. &nbsp;The run the result through the &#8220;Warp (scalar)&#8221; filter. &nbsp;You will probably have to play with the &#8220;Scale factor&#8221; option to get the height to look as you expect.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 2/6/07 4:00 PM, &quot;Bikash Agarwal&quot; &lt;agarwa4@gmail.com&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>I am trying to view DEM(Digital Elevation Model) files in Paraview 2.6. but it is being rendered as 2D and the elevation is being represented as color on the plane surface. So basically the &nbsp;z-coordinate is being used to map it by color. I looked over the code for quite some time but was unable to pinpoint where exactly the class vtkDEMReader was reading the z-coord from the data file. <BR>
<BR>
I would like to be able to render a DEM file in 3D. Any help on how the reader works will be appreciated. Has anyone ever tried modifying the class this way?<BR>
<BR>
Thanks,<BR>
<BR>
Bikash<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:10.0px'>_______________________________________________<BR>
ParaView mailing list<BR>
ParaView@paraview.org<BR>
<a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:10.0px'><BR>
</SPAN></FONT></FONT>
</BODY>
</HTML>