POV-Ray : Newsgroups : povray.general : Height field to mesh - more resolution : Re: Height field to mesh - more resolution Server Time
17 Jun 2024 10:40:30 EDT (-0400)
  Re: Height field to mesh - more resolution  
From: Leroy
Date: 5 Dec 2023 17:10:00
Message: <web.656f9ef42c1eda44a57fc429f712fc00@news.povray.org>
"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'
flat_inter.png


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.