POV-Ray : Newsgroups : povray.bugreports : average normal bug (still) : average normal bug (still) Server Time
28 May 2024 17:16:29 EDT (-0400)
  average normal bug (still)  
From: PoD
Date: 22 Jun 1999 15:29:02
Message: <376FE534.2DBB660@merlin.net.au>
According to the change log for 3.1g, the average normal bug was fixed
some time before 3.1e.
I tried the scene file which I included with my first report of this bug
and the bug is still there.

// test file for average normal bug
#include "colors.inc"

camera{ right 4/3*x direction z*3 location <0,-.5, -28> look_at
<0,-.5,0> }

light_source{ <1000,2000,-5000> White }

#declare Norm1 = normal{radial .5 frequency 16 scallop_wave}
#declare Norm2 = normal{ average normal_map{[1 Norm1]}}
#declare Obj1 = cylinder{-y,y,1	pigment{White}	normal{Norm1}}
#declare Obj2 = cylinder{-y,y,1	pigment{White}	normal{Norm2}}

object{ Obj1 translate <-1.5,1.5,0> }
object{ Obj1 rotate z*180 translate <1.5,1.5,0> }
object{ Obj2 translate <-1.5,-1.5,0> }
object{ Obj2 rotate z*180 translate <1.5,-1.5,0> }

union{ //arrow pointing at faulty obj
	cone{ <1.5,-3,0>,0, <1.5,-3.5,0>,.5 }
	cylinder{ <1.5,-3.5,0>,<1.5,-4,0>,.25 }
	scale<1,1,.1>
	pigment{White}}


Post a reply to this message

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