POV-Ray : Newsgroups : povray.binaries.images : Interlocking heightfields : Re: Interlocking heightfields Server Time
1 Aug 2024 22:22:06 EDT (-0400)
  Re: Interlocking heightfields  
From: John VanSickle
Date: 26 May 2008 07:24:25
Message: <483a9de9@news.povray.org>
Thomas de Groot wrote:
> "John VanSickle" <evi### [at] hotmailcom> schreef in bericht 
> news:4835644f$1@news.povray.org...
> 
>> The macro may need tweaking.  The rippling in the left-hand side of the 
>> image appears to be an artifact.
>>
> 
> I have been wondering about that. It appears indeed in the close up height 
> field blocks.

The macro (IIRC) calculates the number of pixels spanned in any 
direction by the heightfield, and sets the height field's resolution to 
that value.  It may be that when the line of view is parallel or 
near-parallel to the diagonal of the height field, that this is not 
quite enough.  Increasing the resolution of the HF (probably by no more 
than 40%) should fix this.

The ripple may also be the result of aliasing, in which case the same 
remedy--increasing the HF resolution--is called for, but there would 
also need to be aa + jittering in the render for the rippling to be 
eliminated, if this is the cause.

Regards,
John


Post a reply to this message

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