POV-Ray : Newsgroups : povray.general : projected_through Test. : Re: projected_through Test. Server Time
29 Jul 2024 14:21:34 EDT (-0400)
  Re: projected_through Test.  
From: clipka
Date: 17 Feb 2011 19:14:13
Message: <4d5db9d5$1@news.povray.org>
Am 17.02.2011 17:11, schrieb Stephen:
> On 17/02/2011 3:30 PM, clipka wrote:
>
>> It's pretty simple: The projected_through object "sticks" to the light
>> source when it is translated around.
>>
>> So if you want to know where your projected_through object /really/ is,
>> you'll need to use
>>
>> #declare Target = box {...}
>> union {
>> light_source {
>> ...
>> projected_through { Target }
>> }
>> object { Target no_shadow }
>> }
>>
>
> Thanks, Christoph. I knew I was doing something wrong.
>
>> (Also note the no_shadow flag on the target.)
>>
>>
> Are you sure about the no_shadow flag? I'm sure I read that it was
> implicit.

Not if you also add the object to the scene, as in the sample above. It 
/may/ be reduntant there as well, but I'd prefer not to rely on it. (At 
any rate it speeds up rendering, if only by a few nanoseconds ;-))


Post a reply to this message

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