POV-Ray : Newsgroups : povray.beta-test : Heightfield bug (most probably an inverted normals problem) : Re: Heightfield bug (most probably an inverted normals problem) Server Time
29 Mar 2024 06:25:13 EDT (-0400)
  Re: Heightfield bug (most probably an inverted normals problem)  
From: Francois Labreque
Date: 22 Jan 2002 07:55:41
Message: <3C4D610B.40700@videotron.ca>
Warp wrote:

> Mike Williams <mik### [at] nospamplease> wrote:
> : Is this the same as
> 
> : Unsmooth smooth HF shading
> : (the shading of height-fields with abrupt changes is very ugly when
> : smooth shading is turned on)
> : http://news.povray.org/3c02ac19@news.povray.org
> 
>   It says:
> 
> "the shading of height-fields with abrupt changes is very ugly when smooth
> shading is turned on."
> 
>   There are no abrupt changes in my example.
>   The problem in my example seems that normals get inverted when they
> shouldn't.


If it helps some of the coders, that problem was there in 3.1.  It is 
not due to new code in 3.5.

-- 
/*Francois Labreque*/#local a=x+y;#local b=x+a;#local c=a+b;#macro P(F//
/*    flabreque    */L)polygon{5,F,F+z,L+z,L,F pigment{rgb 9}}#end union
/*        @        */{P(0,a)P(a,b)P(b,c)P(2*a,2*b)P(2*b,b+c)P(b+c,<2,3>)
/*   videotron.ca  */}camera{location<6,1.25,-6>look_at a orthographic}


Post a reply to this message

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