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
20 Apr 2024 04:35:45 EDT (-0400)
  Re: Heightfield bug (most probably an inverted normals problem)  
From: Christopher James Huff
Date: 22 Jan 2002 12:37:57
Message: <chrishuff-235D1D.12385522012002@netplex.aussie.org>
I don't have the POV 3.5 source available, but in POV 3.1:

lighting.c, Determine_Apparent_Colour()

...

  VDot(Normal_Direction, Raw_Normal, Ray->Direction);

  if (Normal_Direction > 0.0)
  {
     VScaleEq(Raw_Normal, -1.0);
  }

-- 
 -- 
Christopher James Huff <chr### [at] maccom>


Post a reply to this message

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