|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Is the any way I can declare the amount of frames in a .pov file for
instance:
#if(Result=Desired_Result)
#declare final_frame=10
#else
#declare final_frame=20
#end
According to the docs I can't do it this way. Is there any other way of
doing it? I can't seem to find anything.
Please help...
tnx
--
-Nekar Xenos-
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Nekar Xenos nous apporta ses lumieres en ce 2008/01/28 09:13:
> Is the any way I can declare the amount of frames in a .pov file for
> instance:
>
> #if(Result=Desired_Result)
> #declare final_frame=10
> #else
> #declare final_frame=20
> #end
>
> According to the docs I can't do it this way. Is there any other way of
> doing it? I can't seem to find anything.
> Please help...
>
> tnx
>
>
final_frame must be declared in an ini file or on the command line. It's
considered as a constant.
It can't be changed once the render is started. Please note that the final_frame
value will affect the time differential between each frame. In your case, clock
will change by 0.1 with final_frame =10 between each frames, and by 0.05 with
final_frame =20.
You can add a line like
//+kff 10
//+kff 20
at the start of the file. In the windows version, you can right-click one of the
comments and select "copy ... to the command line" BEFORE you start the
rendering process.
--
Alain
-------------------------------------------------
Coming soon: Windows for Nintendo!
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Nekar Xenos escribió:
> Is the any way I can declare the amount of frames in a .pov file for
> instance:
>
> #if(Result=Desired_Result)
> #declare final_frame=10
> #else
> #declare final_frame=20
> #end
>
> According to the docs I can't do it this way. Is there any other way of
> doing it? I can't seem to find anything.
> Please help...
Interesting. So you want to increase the number of frames if you still
didn't reach the result you wanted? Here's a trick you could use: render
with 1000 frames or some other super-high amount, and:
#if(Result = Desired_Result)
#error "Aborting render, reached desired result"
#end
That would render only enough frames :)
By the way, #declare statements should end on a semicolon.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Nicolas Alvarez" <nic### [at] gmailisthebestcom> wrote in message
news:479dfb3e$1@news.povray.org...
>> Is the any way I can declare the amount of frames in a .pov file for
>> instance:
>>
>> #if(Result=Desired_Result)
>> #declare final_frame=10
>> #else
>> #declare final_frame=20
>> #end
>>
>> According to the docs I can't do it this way. Is there any other way of
>> doing it? I can't seem to find anything.
>> Please help...
>
> Interesting. So you want to increase the number of frames if you still
> didn't reach the result you wanted? Here's a trick you could use: render
> with 1000 frames or some other super-high amount, and:
>
> #if(Result = Desired_Result)
> #error "Aborting render, reached desired result"
> #end
>
> That would render only enough frames :)
>
Thanks, this should work :)
> By the way, #declare statements should end on a semicolon.
oops! ;
--
-Nekar Xenos-
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |