POV-Ray : Newsgroups : povray.binaries.images : To Encore, Making part of an object tranparent : Re: To Encore, Making part of an object tranparent Server Time
2 Aug 2024 20:16:28 EDT (-0400)
  Re: To Encore, Making part of an object tranparent  
From: Ger
Date: 6 Dec 2012 14:33:35
Message: <50c0f30f$1@news.povray.org>
Encore wrote:

> "Encore" <nomail@nomail> wrote:
>> > I had a mix-up in my code which wasn't apparent at short distances. I
>> > have tried it with direction z * 1e8 and it still works now.
>> >
>> > --
>> > Ger
>>
>> Ah so that was the problem with direction. I tried z*1000 but it wouldn't
>> work. Thanks a lot, I'll animate this and upload my results soon!
> 
> I have a question:
> Why is the CamFactor first set to frame_number/100 and then instantly
> changed to 1000?
> 
> What is the use of that?
> #declare CamFactor = frame_number/100;
> #declare CamFactor = 1000;

I used the first one to create an animation that showed me the progress when 
increasing the camera distance. So, if you remark the second one out you'll 
get an animation where the camera starts close to the cube and gradually 
moves back.

-- 
Ger


Post a reply to this message

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