POV-Ray : Newsgroups : povray.general : Problem with patterns in height_fields : Re: Problem with patterns in height_fields Server Time
31 Jul 2024 14:34:19 EDT (-0400)
  Re: Problem with patterns in height_fields  
From: Christoph Hormann
Date: 5 Jan 2002 04:51:41
Message: <3C36CCA6.A1FFDFFF@gmx.de>
Hugo wrote:
> 
>[...]
> 
> Why does the following code produce some abrupt changes in the Y direction?
> The result is these shadowed lines and dots. I tried different scales and
> patterns, and different resolutions of the function. You're welcome to
> experiment with this yourself, to see that the problem is not something
> dull, like too few triangles or a bad scale.. I don't know what it is,
> actually.
> 
> [...]
> height_field { function 500,500 { y-Pigm(x,y,z) }

The function in heightfields is not the same as in an isosurface.  It is
evaluated in the xy-plane and the function value determines the height of
the heightfield.  Try:

height_field { function 500,500 { Pigm(x,y,0) }


-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

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