POV-Ray : Newsgroups : povray.macintosh : MacMegaPOV and INI Files : Re: MacMegaPOV and INI Files Server Time
4 May 2024 12:22:22 EDT (-0400)
  Re: MacMegaPOV and INI Files  
From: Yvo Smellenbergh
Date: 4 Jun 2003 12:20:24
Message: <1fw1k7n.leecsdzfqixeN%yvos.s@gmx.net>
Yes, I understand but I meant that this feature is not supported by the
official Mac version.
Your first posting suggests that it does support this feature :-)

Only Unix and perhaps Windows are supporting this at the moment.
Correct me if I'm wrong.

But like I said before, I will try to add this feature for the next
release of MacMegaPOV.

Yvo
"Ironwolf" <nomail@nomail> wrote:

> For details on this feature, see the POV-Ray for Linux documention:
> 
> Section 1.5.2.1: INI File Sections
> 
> and
> 
> Section 5.1.2: Using INI Files
> 
> Here is part of the latter section:
> 
> INI files may have labeled sections so that more than one set of options may
> be stored in a single file. Each section begins with a label in []
> brackets. For example:
> 
>   ; RES.INI
>   ; This sample INI file is used to set resolution.
>   +W120 +H100  ; This section has no label.
>                ; Select it with "RES"
>   [Low]
>   +W80 +H60    ; This section has a label.
>                ; Select it with "RES[Low]"
>   [Med]
>   +W320 +H200  ; This section has a label.
>                ; Select it with "RES[Med]"
>   [High]
>   +W640 +H480  ; Labels are not case sensitive.
>                ; "RES[high]" works
>   [Really High]
>   +W800 +H600  ; Labels may contain blanks
> 
> When you specify the INI file you should follow it with the section label in
> brackets. For example...
> 
>   POVRAY RES[Med] +Imyfile.pov
> 
> POV-Ray reads res.ini and skips all options until it finds the label Med. It
> processes options after that label until it finds another label and then it
> skips. If no label is specified on the command line then only the unlabeled
> area at the top of the file is read. If a label is specified, the unlabeled
> area is ignored.
> 
> Yvo Smellenbergh wrote:
> >I see what you mean now.
> >Well, this is not possible in the current version of MacMegaPOV.
> >As far as I know this isn't possible in the official version either, at
> >least I can not figure out how or where it is listed in the
> >documentation.
> >
> >I will try to add this feature for the next release if time permits.
> >What you could do for now:
> >- Make several settings in the preference dialog and save each of them.
> >- You will only have to load the preferred setting and render your
> >scene.
> >
> >I do realize that  this isn't the same but it is a possibility once you
> >are used to it.
> >
> >Yvo


-- 
MacMegaPOV at:
http://users.skynet.be/smellenbergh

E-mail: yvo### [at] gmxnet


Post a reply to this message

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