"jr" <cre### [at] gmailcom> wrote:
> hi,
>
> Ilya Razmanov <ily### [at] gmailcom> wrote:
> > Greeting,
> >
> > continuing experiments with Python (which continues to piss me off), I
> > decided to write small program to convert image heightfields into
> > triangle meshes. ...
> > The latter looks to me significantly better than POVRay heightfield
> > rendering ...
>
> for data "extrapolated" from a 64x64 image, that last image looks real good I
> think.
>wondering if the calculation could not be done in SDL ?
>
> regards, jr.
I didn't really know where I should post this so here it is...
A while back when I was exploring mars. They had just out with fairly large
Mars maps.(4096*2048) But even so, at that resolution it was still around 2
kilometers
per pixel. I wanted to get closer. What I did was take a chuck of the main map
and
using a large array , a pigment function and splines, I blew it up into any size
I liked. When I saw these posts I had to go back and find That code.
To make a long story short I found it and modified it but it needs a lot of
work to present it. But I have to show ya something I'm proud of. Using a 16*16
image
I made a Mesh2 with 12800 triangles and 81*81 pov units square.
Post a reply to this message
Attachments:
Download 'flat_inter.png' (203 KB)
Preview of image 'flat_inter.png'
|