[Paraview] vtkDEMReader - DEM files rendered in 2D in Paraview

kmorel kmorel at sandia.gov
Tue Feb 6 19:10:15 EST 2007


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.  Reading this 2.5D data as 3D polygons would ruin
your ability to perform many filtering operations that might be useful.

You can reconstruct the 3D features by applying a couple of filters to your
data.  First, apply the ³Extract Surface² filter to convert the image to
polygons that can be freely manipulated in 3-space.  The run the result
through the ³Warp (scalar)² filter.  You will probably have to play with the
³Scale factor² option to get the height to look as you expect.

-Ken


On 2/6/07 4:00 PM, "Bikash Agarwal" <agarwa4 at gmail.com> wrote:

> 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  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. 
> 
> 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?
> 
> Thanks,
> 
> Bikash
> 
> 
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20070206/6815e9f2/attachment-0001.htm


More information about the ParaView mailing list