POV-Ray : Newsgroups : povray.macintosh : INI files on Mac Server Time
22 Dec 2024 11:18:24 EST (-0500)
  INI files on Mac (Message 1 to 4 of 4)  
From: George Franco
Subject: INI files on Mac
Date: 20 Sep 2003 13:53:19
Message: <babydoc-EE3A7C.10531920092003@netplex.aussie.org>
I would like to set up a set of ini files. I want to be able to set the 
resolution, animation variables, etc. for a set of files so that I can 
change all of them at once for proofing and debugging. I've set up the 
ini files as described in the documentation, but I can't get them to be 
recognised by POVRay. I'm in OS X 10.2.6 using POVRay 3.5.1.

I tried the various settings in the settings panels but I can't seem to 
get the propgram to recognise the ini files. I need some step by step 
directions here - or else the info that it doesn't work on a Mac so I 
can give up!

Thanks.


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: INI files on Mac
Date: 20 Sep 2003 14:51:18
Message: <3f6ca1a6@news.povray.org>
In article <bab### [at] netplexaussieorg> , George 
Franco <bab### [at] cyberversecom>  wrote:

> I tried the various settings in the settings panels but I can't seem to
> get the propgram to recognise the ini files. I need some step by step
> directions here - or else the info that it doesn't work on a Mac so I
> can give up!

The INI file needs to have the same name as the scene file.  Then select
"INI file" in the render Settings dialog.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: George Franco
Subject: Re: INI files on Mac
Date: 20 Sep 2003 15:48:46
Message: <babydoc-D5A08D.12484620092003@netplex.aussie.org>
In article <3f6ca1a6@news.povray.org>,
 "Thorsten Froehlich" <tho### [at] trfde> wrote:

> In article <bab### [at] netplexaussieorg> , George 
> Franco <bab### [at] cyberversecom>  wrote:
> 
> > I tried the various settings in the settings panels but I can't seem to
> > get the propgram to recognise the ini files. I need some step by step
> > directions here - or else the info that it doesn't work on a Mac so I
> > can give up!
> 
> The INI file needs to have the same name as the scene file.  Then select
> "INI file" in the render Settings dialog.
> 
>     Thorsten
> 
> ____________________________________________________
> Thorsten Froehlich, Duisburg, Germany
> e-mail: tho### [at] trfde
> 
> Visit POV-Ray on the web: http://mac.povray.org

Super. That worked. Thanks very much.
Now, does anyone know if there is a way to pass a variable to an ini 
file. For example if I have a file ANI.ini that has animation settings 
like so:

   Initial_Frame = 1 ;default
   Final_Frame  = -1 ;default (off)
   Display = on      ;preview on

   [On]
   Final_Frame  = 10 ; <-- I want to change this
   Display = off     ; turn off the display

   [Off]
   Final_Frame  = -1 ;
   Display = on      ; turn the display on

is there a way to pass a number so when I call Ani[On] I can pass a 
number for Final_Frame?


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: INI files on Mac
Date: 20 Sep 2003 16:12:27
Message: <3f6cb4ab@news.povray.org>
In article <bab### [at] netplexaussieorg> , George 
Franco <bab### [at] cyberversecom>  wrote:

> Now, does anyone know if there is a way to pass a variable to an ini
> file. For example if I have a file ANI.ini that has animation settings

No, currently you cannot access subsections of INI files through the GUI.
However, an INI file can specify other INI files.  So you would have one INI
file that specifies another INI file and passes the section to it.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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