POV-Ray : Newsgroups : povray.binaries.images : "The 10 hour render" (~130KB) : Re: "The 10 hour render" (~130KB) Server Time
7 Aug 2024 01:20:03 EDT (-0400)
  Re: "The 10 hour render" (~130KB)  
From: Warp
Date: 14 Oct 2006 16:59:35
Message: <45314fb7@news.povray.org>
Warp wrote:
>   Note, however, that there's evidence that heightfields don't always
> render correctly (perhaps precisely because of bugs in this optimized
> code). "Smooth" heightfields are not always so "smooth", even though
> equivalent smooth meshes are.

  Actually this isn't necessarily true. Height_field uses a rather
different algorithm for calculating normal vectors than a mesh. In
some cases this produces *better* smoothing than an equivalent mesh
gives. However, in some cases it doesn't seem to work perfectly.
I just tested this.

  In the attached image the upper heightfields are made with the
height_field primitive, and the lower heighfields are meshes created
with the HF_Square macro.
  The non-smooth versions are obviously identical. The smooth versions
have a considerable difference, the height_field being better.


Post a reply to this message


Attachments:
Download 'hftest.jpg' (64 KB)

Preview of image 'hftest.jpg'
hftest.jpg


 

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