POV-Ray : Newsgroups : povray.newusers : Variables in INI files Server Time
1 Nov 2024 05:19:43 EDT (-0400)
  Variables in INI files (Message 1 to 2 of 2)  
From: Gyscos
Subject: Variables in INI files
Date: 29 Apr 2006 07:45:01
Message: <web.445351b130b18d1c1ba56a630@news.povray.org>
Hello !
I'd like to use some "variables" in my INI file - not really variables
actually, but some kind of constant, like :

#declare Time = 2;

Initial_Frame = 1
Final_Frame = 20*Time

Initial_Clock=0.0
Final_Clock=Time

Would it be possible ?
It isn't nescessary, i know, it's just a way to make things easier...


Post a reply to this message

From: Alain
Subject: Re: Variables in INI files
Date: 29 Apr 2006 12:22:28
Message: <445392c4$1@news.povray.org>
Gyscos nous apporta ses lumieres en ce 29/04/2006 07:44:
> Hello !
> I'd like to use some "variables" in my INI file - not really variables
> actually, but some kind of constant, like :
> 
> #declare Time = 2;
> 
> Initial_Frame = 1
> Final_Frame = 20*Time
> 
> Initial_Clock=0.0
> Final_Clock=Time
> 
> Would it be possible ?
> It isn't nescessary, i know, it's just a way to make things easier...
> 
> 
It is possible. Take a look in the "animations" folder. Look at the *.ini files in the
subfolders.
Also, take a look in the "renderer" folder.

-- 
Alain
-------------------------------------------------
'First things first -- but not necessarily in that order' -- Dr Who


Post a reply to this message

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