|
|
MCHsieh <duo### [at] gmailcom> wrote:
> Now I'm gonna use POVRAY for visualizing ground motion on the surface of the
> Earth. The computation results give us a 3-D volume of ground motion amplitudes,
> and I want to show these amplitudes on topography and subsurface. I found the
> figures on the internet and these are exactly what I want:
> For 2-D array:
> http://www.eri.u-tokyo.ac.jp/furumura/tsunami/Zisin_snap.jpg
> For 3-D volume:
> http://www.eri.u-tokyo.ac.jp/furumura/scat/3Dsnap.jpg
> Now I can draw topography and sea floor, but I have no idea for visualizing the
> seismic wave. My question is, which functions should I use for this purpose,
> including visualizing 2-D and 3-D datasets?
If you have a heightmap, then the easiest way of rendering it is using
the heightfield primitive (which can be instantiated directly with a B/W
image file where each shade of gray represents an altitude). An unmodified
heightfield will be fitted inside a 1x1x1 cube, so you'll have to use the
'scale' transformation to get it to the proper size on each direction.
Rendering a 3D point could is a much harder problem and does not have
any trivial, unambiguous solution. One possible solution is to create a
DF3 file, which is basically a 3D density file (an NxNxN cube of density
values) which you can then use to instantiate a cube-shaped media effect.
However, getting it to render properly, while not impossible, can be an
arduous task of fine-tuning parameters and color maps.
--
- Warp
Post a reply to this message
|
|