|
![](/i/fill.gif) |
"albe99" <alb### [at] hotmail it> wrote:
> Hi to all..
> Sorry for my bad english, but I need a code-sample or a tutorial that
> describes how POV-Rays isosurface objects can be used to render a landscape
> from digital elevation maps (DEM)..
> can someone help me?..please?..
>
> thanks,
> Alberto
Well, I don't know for sure how it's done, but I guess it all depends on
what you want exactly: do you want an exact replica of the data? In this
case I would use a mesh rather than an isosurface. I'm sure somebody more
knowledgeable than me can give you a macro that reads the data and outputs
triangles. Otherwise, if you want smooth surfaces that follow the data with
some error (smoothing out the data), you can use isosurfaces: pick a
function shape you fancy, impose boundary conditions if you want to use
splines, find out the parameters in a regression package (Excel can do it
too, although it isn't recommended) and render.
Post a reply to this message
|
![](/i/fill.gif) |