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:18:01 EDT (-0400)
  Re: MegaPov 0.4 Now Available (Windows/Macintosh)  
From: Ron Parker
Date: 30 Jan 2000 16:32:44
Message: <slrn899but.16e.ron.parker@linux.parkerr.fwi.com>
On 30 Jan 2000 13:05:04 -0500, Nieminen Juha wrote:
>"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.

The main problem, if I recall correctly, is that the object may or may
not have a normal pattern applied to it at that point in parsing, since
it was #declared but not actually instantiated.  I could certainly check
if it does have one applied and if so do the extra calculations to perturb
the normal; it's just not something that occurred to me at the time.  I'm
not even sure you need the fifth boolean parameter: if you don't want
the perturbed normal, don't perturb it.


Post a reply to this message

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