POV-Ray : Newsgroups : povray.unofficial.patches : Why the scaling of normals in megapov is wrong : Re: Why the scaling of normals in megapov is wrong Server Time
2 Sep 2024 20:17:42 EDT (-0400)
  Re: Why the scaling of normals in megapov is wrong  
From: Nieminen Juha
Date: 17 Dec 1999 05:54:45
Message: <385a1675@news.povray.org>
Jerome M. BERGER <jbe### [at] enstfr> wrote:
: 	I did precisely this test and if the normal is inside a normal_map I
: get what you said, but if the normal is on its own it *is* almost
: invisible...

  Well, I did the same and the apparent depth of the surface doesn't change
at all. All the images render identically no matter what value of 'Size' you
specify here:

#declare Size=1;
#debug concat("Size=",str(Size,1,0),"\n")

camera { location -z*4*Size look_at 0 angle 35 }
light_source { <100,200,-150>*Size, 1 }
sphere
{ 0,Size
  pigment { rgb x } finish { specular .5 }
  normal { bumps .5 scale .1*Size }
}


-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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