[vtk-developers] Question About Terrain Visualization With VTK

David Doria daviddoria at gmail.com
Fri Dec 23 15:40:56 EST 2011


2011/12/22 Haiguang Bo <bhgcumt at hotmail.com>:
> Dear VTK Team:
> Recently I encounter a question about terrain visualization. Because the
> data of the terrain is stored in a unique Format that VTK don’t have class
> to read this file. So how can I read my data into VTK? And I want to
> visualization this terrian with different color determined by there height.
> Buy the way, I want to use vtk to build a LOD, if there are any possible to
> make it? Because My terrian data is quite huge, I try to read all of it into
> VTK, but I think it won’t work well because my PC’s memory’s limites.
>
> And I want to know some applications built with VTK which visualize terrian
> or something else, I have google it with different words, but it always
> hides from my eyes.
>
> I hope for your advise, and best regards for you.
>
> Thank you!
>
> Sincerely
>

You'll have to provide more information about your input file before
we can tell you how to read it. Once you get it into a PolyData, you
can use:

http://www.vtk.org/Wiki/VTK/Examples/Cxx/Meshes/Color_a_mesh_by_height
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Meshes/ElevationFilter

and you mentioned LOD rendering:

http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/LODProp3D

David



More information about the vtk-developers mailing list