POV-Ray : Newsgroups : povray.binaries.images : POVEarth: Distorted Terrain Texture : Re: POVEarth: Distorted Terrain Texture Server Time
28 Apr 2024 22:35:04 EDT (-0400)
  Re: POVEarth: Distorted Terrain Texture  
From: Jörg "Yadgar" Bleimann
Date: 13 Aug 2020 18:29:49
Message: <5f35bedd$1@news.povray.org>
Hi(gh)!

On 13.08.20 21:03, jr wrote:
> "jr" <cre### [at] gmailcom> wrote:
>> ...
>> that would be my expectation too.  the code looks kosher, have you tried with
>> same code but different data tile/set?
> 
> actually, belay that.  :-)  sorry, noise, etc..
> 
> the increments where you make the vector for 'eval_pigment', pretty sure you'll
> want '<(.5+b)*(1/xdim), (.5+a)*(1/ydim),0>'.

As the data tile is square, xdim = ydim! Of course you're right, if I 
ever wanted to render a non-square data set, it's better to have the two 
variables assigned to the proper dimensions.

See you in Khyberspace!

Yadgar


Post a reply to this message

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