POV-Ray : Newsgroups : povray.unofficial.patches : MegaPov 0.4 Now Available (Windows/Macintosh) : Re: MegaPov 0.4 Now Available (Windows/Macintosh) Server Time
3 Jul 2024 03:31:00 EDT (-0400)
  Re: MegaPov 0.4 Now Available (Windows/Macintosh)  
From: Chris Huff
Date: 30 Jan 2000 13:11:56
Message: <chrishuff_99-D4FEA3.13124230012000@news.povray.org>
In article <38947d50@news.povray.org>, Nieminen Juha 
<war### [at] punarastascstutfi> wrote:

>   The new features are amazing, as usual... :)
> 
>   I have a question about the trace function (perhaps this is not the 
>   correct
> thread for this, but I'm too lazy to write a separate article...):
>   The documentation says:
> 
> "If a fourth parameter in the form of a vector identifier is provided,
> the normal of the object at the intersection point (not including any 
> normal
> perturbations due to textures) is stored into that vector."
> 
>   What if I really want the perturbed normal? I can think of some uses of
> this.
>   Perhaps a 5th parameter (of boolen type) could be added? If the 
>   parameter
> is true, then the returned normal is perturbed by the texture before
> returning. The default value could be false.


How about adding a "perturb_normal()" function instead?

-- 
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

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