POV-Ray : Newsgroups : povray.binaries.images : Making a Height Field Look Good? Server Time
19 Nov 2024 22:43:03 EST (-0500)
  Making a Height Field Look Good? (Message 1 to 4 of 4)  
From: Aaron Gillies
Subject: Making a Height Field Look Good?
Date: 22 Aug 2003 22:25:10
Message: <3f46d086$2@news.povray.org>
Follow-up to Noe's post on height fields.

Attached are two renders of the same 128x128 height fields.
One is a render without any texturing.  The other
uses a background, water, pigment and normals to hide
the blocky-ness of the height field.

Neither one use the smooth keyword.  I really don't think it's
necessary to use it for landscape type images, as you can usually
more effectively disguise any problems with a decent texture.

This island is apparently half-mountain and half-zebra. :)

Aaron


Post a reply to this message


Attachments:
Download 'hf_after.jpg' (55 KB) Download 'hf_before.jpg' (26 KB)

Preview of image 'hf_after.jpg'
hf_after.jpg

Preview of image 'hf_before.jpg'
hf_before.jpg


 

From: Chris Johnson
Subject: Re: Making a Height Field Look Good?
Date: 23 Aug 2003 06:29:01
Message: <3f4741ed@news.povray.org>
The textured one, as you say, looks much better. I think this is mainly
because the irregularities of the pigment help to disguise the triangular
artifacts on the untextured image. Nice sea btw - how did you do it?

The posts that I have made in Noe's thread about 16-bit height-fields apply
here to a certain extent, but as you have used a quite steep slopes and
quite low-resolution height fields, they're not so obvious.

The attached image shows the same heightfield at a 255x255 (left) and 16x16
(right). In the high-resolution image, because of the small gradient,
several adjacent pixels of the heighfield are the same colour, then it
sudenly jumps to the a colour one brighter, leaving ridges of one colour and

when there is an increase). This is an artifact of using an 8-bit
heightfield

On the right hand image, the resolution of the height-field is low enough
for there to be several steps in height for each horizontal step of the
height-field, so the steps no longer occur and the image appears smoother.
Its just a pain that 16-bit images aren't supported well by most image
editing programs.

Of course, small details cannot be reproduced in the low-resolution
version - to avoid this problem altogether, a 16-bit heightfield means that
with even high-resolution height map, there are always several vertical
steps per pixel, so the artifacts do not appear.

-Chris


Post a reply to this message


Attachments:
Download 'heightfields2.jpg' (25 KB)

Preview of image 'heightfields2.jpg'
heightfields2.jpg


 

From: Apache
Subject: Re: Making a Height Field Look Good?
Date: 23 Aug 2003 06:40:26
Message: <3f47449a$1@news.povray.org>
Seems that 24bit grayscale png files work fine for heightfields here.....


Post a reply to this message

From: Aaron Gillies
Subject: Re: Making a Height Field Look Good?
Date: 25 Aug 2003 14:13:26
Message: <3f4a51c6@news.povray.org>
For the sea, I adapted some "realistic water" techniques
from Christoph Hormann's POV-Ray pages.

Here is the link:

http://www-public.tu-bs.de:8080/~y0013390/pov/water/

The pigment for the water is:

color rgb 1 filter 1

The blue color comes entirely from reflecting the sky.

Aaron





"Chris Johnson" <chr### [at] chris-jcouk> wrote in message
news:3f4741ed@news.povray.org...
> The textured one, as you say, looks much better. I think this is mainly
> because the irregularities of the pigment help to disguise the triangular
> artifacts on the untextured image. Nice sea btw - how did you do it?
>
> The posts that I have made in Noe's thread about 16-bit height-fields
apply
> here to a certain extent, but as you have used a quite steep slopes and
> quite low-resolution height fields, they're not so obvious.
>
> The attached image shows the same heightfield at a 255x255 (left) and
16x16
> (right). In the high-resolution image, because of the small gradient,
> several adjacent pixels of the heighfield are the same colour, then it
> sudenly jumps to the a colour one brighter, leaving ridges of one colour
and
> planes of another (due to there being only two angles of slope: flat, or

> when there is an increase). This is an artifact of using an 8-bit
> heightfield
>
> On the right hand image, the resolution of the height-field is low enough
> for there to be several steps in height for each horizontal step of the
> height-field, so the steps no longer occur and the image appears smoother.
> Its just a pain that 16-bit images aren't supported well by most image
> editing programs.
>
> Of course, small details cannot be reproduced in the low-resolution
> version - to avoid this problem altogether, a 16-bit heightfield means
that
> with even high-resolution height map, there are always several vertical
> steps per pixel, so the artifacts do not appear.
>
> -Chris
>
>
>


Post a reply to this message

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