POV-Ray : Newsgroups : povray.unofficial.patches : normals - how should they look? : Re: normals - how should they look? Server Time
2 Sep 2024 20:20:14 EDT (-0400)
  Re: normals - how should they look?  
From: Nieminen Juha
Date: 17 Dec 1999 06:04:44
Message: <385a18cc@news.povray.org>
Ken <tyl### [at] pacbellnet> wrote:
: If you glue sand to the surface of a box, like the one used in your examples,
: as you scale the x & z directions the sand will be further apart but the
: relative height of the roughness on the surface will remain unchanged. Since
: we are talking surfaces here, if you glued sand to a thicker box, all you
: would have is sand with the same granular size on a larger box. It's surface
: roughness would remain unchanged. Therefore it is important to remember that
: scaling an object should not change the surface normals depth. It may change
: the slope and scale of the pattern but not it's physical depth.

  Note that there is a difference between scaling the object before or
after applying the texture.
  It's like with pigment. If you don't want the scaling of the object to
affect its pigment, you should scale the object before applying the pigment.
The same with normals: If you don't want the scaling to affect the normals,
you should scale the object first.

  Now there's an interesting question: What if you want the scaling of the
object to affect the pigment but not the normals?

-- 
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.