[Paraview] vtkDEMReader - DEM files rendered in 2D in Paraview
Bikash Agarwal
agarwa4 at gmail.com
Tue Feb 6 19:23:18 EST 2007
Thanks a million Ken! Works great. I have been breaking my head for quite
some time trying to read it as 3D polygons.
-bikash
On 2/6/07, kmorel <kmorel at sandia.gov> wrote:
>
> 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/321806b4/attachment.html
More information about the ParaView
mailing list