POV-Ray : Newsgroups : povray.advanced-users : Weird results scaling normals : Re: Weird results scaling normals Server Time
2 Nov 2024 09:17:31 EDT (-0400)
  Re: Weird results scaling normals  
From: Nathan Kopp
Date: 29 Nov 1999 00:03:12
Message: <38420910@news.povray.org>
This will be fixed in the next release of UVPov.

-Nathan

Nieminen Juha <war### [at] punarastascstutfi> wrote...
>   Try this:
>
> camera { location y*4-z*4 look_at 0 angle 35 }
> light_source { <100,200,-300> 1 }
> #declare Granite = texture { pigment { rgb x } normal { granite 1 } }
> plane
> { y,0 texture { Granite }
> }
>
>   And now try this:
>
> camera { location y*4-z*4 look_at 0 angle 35 }
> light_source { <100,200,-300> 1 }
> #declare Granite = texture { pigment { rgb x } normal { granite } }
> plane
> { y,0
>   texture
>   { gradient x texture_map
>     { [0 Granite scale .01][1 Granite scale .01]
>     }
>     scale 100
>   }
> }
>
>   The result should be identical, but it isn't.
>   I remember reading about problems when scaling normals. Is this the one?
>
> --
> 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.