POV-Ray : Newsgroups : povray.general : Aspect Ratio in POV : Re: Aspect Ratio in POV Server Time
12 Aug 2024 11:18:07 EDT (-0400)
  Re: Aspect Ratio in POV  
From: Bob Hughes
Date: 15 Feb 1999 05:27:38
Message: <36C7F671.23C7F06A@aol.com>
Sounds like something for #write and #read. I've not touched anything
like this yet, but of course if you could output those parameters to a
single particular re-written file each time it's invoked, ie.
Aspect.ini, then all you'd need do is select that ini once and leave it.

#fopen ASPECT "Aspect.ini" write

#write (ASPECT,"\"WIDTH=\",", RIGHT,","/n","\"HEIGHT=\", UP,"\n")

This is only a guess as to how this syntax works. Like I say, don't know
how to use it yet.
But never mind anyhow, because as far as I know you cannot affect the
image size settings *after* parsing begins unless the information is
already in the INI, not from within a scene which has begun. These are
the first things setup along with file type and all. Although I may be
wrong and the image size could be before the image creation and after
the scene parsing. I'm still a bit lost in the newer DOC.
This would mean a first render to set things up if it didn't work out as
planned, then a second render of the same thing to get the right INI
settings. Back to square one. Sorry to get your hopes up, no help.
Boy, do I ever need to get at some of this new (though older and older)
stuff.


"John M. Dlugosz" wrote:
> 
> In POV, there are two values that need to agree -- the up/right camera
> ratio, and the render height and width.  If I design a scene to be, for
> example, greeting card aspect (8:5) or square (1:1) or golden (1:phi), I set
> the camera to suit.  Fine.
> 
> But using the GUI in POV-Windows, I have to choose a different INI file to
> give appropreate resolution choices in the drop down box.  This would not be
> an issue if I only needed to do it once, but this choice "sticks" and stays
> that way no matter which image file I have loaded and "on top".
> 
> Is there a way to associate INI settings on a per-POV file basis, and tell
> the GUI to read =that=, and still let me interactivly choose my mode (large,
> small, low-Q, etc.) from my list of very common settings for that particular
> image?
> 
> --John

-- 
 omniVERSE: beyond the universe
  http://members.aol.com/inversez/POVring.htm
 mailto:inv### [at] aolcom?PoV


Post a reply to this message

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