POV-Ray : Newsgroups : povray.bugreports : Is the average normal bug fixed yet? Server Time
23 Dec 2024 03:36:47 EST (-0500)
  Is the average normal bug fixed yet? (Message 1 to 2 of 2)  
From: Nieminen Mika
Subject: Is the average normal bug fixed yet?
Date: 25 Sep 1998 09:01:03
Message: <360b85ff.0@news.povray.org>
There is an evident bug in povray related to normals inside average
textures. Is it corrected already?
  A little code to show the bug:

// Average normal bug test.
// Lower box shows ordinary normal map, upper box averaged one (buggy)
camera { location <-5,0,-2> look_at <0,0,0> angle 35 }
light_source { <0,0,-1> color 1 }
#declare TestNormal=
normal
{ gradient x 1
  slope_map
  { [0 <0,0>] [.2 <0,0>] [.2 <0,1>] [.4 <1,1>] [.4 <1,0>]
    [.6 <1,0>] [.6 <1,-1>] [.8 <0,-1>] [.8 <0,0>] [1 <0,0>]
  }
}
#declare TestTexture=texture { pigment { rgb 1 } normal { TestNormal } }
#declare TestAverage=
texture
{ average texture_map
  { [TestTexture rotate z]
    [TestTexture rotate z*90]
  }
}
box { <-2.5,.05,0><5,2,.1> texture { TestAverage scale 2} }
box { <-2.5,-.05,0><5,-2,.1> texture { TestTexture scale 2} }


-- 
                                                           - Warp. -


Post a reply to this message

From: Nieminen Mika
Subject: Re: Is the average normal bug fixed yet?
Date: 24 Oct 1998 16:02:51
Message: <3632245b.0@news.povray.org>
Nieminen Mika <war### [at] assaricctutfi> wrote:
:   There is an evident bug in povray related to normals inside average
: textures. Is it corrected already?

  I don't want to be rude, but can anyone answer this question? I have waited
for months.

-- 
                                                           - Warp. -


Post a reply to this message

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