POV-Ray : Newsgroups : povray.general : Aspect Ratio in POV : Re: Aspect Ratio in POV Server Time
12 Aug 2024 19:28:28 EDT (-0400)
  Re: Aspect Ratio in POV  
From: Roland Mas
Date: 17 Feb 1999 13:00:52
Message: <m3emnq59io.fsf@clodomir.rezel.enst.fr>
Bob Hughes <inv### [at] aolcom> writes:

> Sounds like something for #write and #read.

[Seems like my last message did not pass, re-posting the meaningful part]

1. I agree, #write could do the trick;
2. Point is: #write is executed only at parse time, but you need to
write the aspect.ini file before;
3. Trick is: add a "Refresh" to your aspect.ini file with a 1x1
resolution, no display, no pause at end, no file output, nothing.
Just parse and trace one ray.  This parsing re-writes the aspect.ini
file according to the aspect ratio you need for the scene.
4. Not-sure-it-works part is: I don't know when POV-Ray re-loads the
aspect.ini file, or if it does.

Roland.
-- 
                                                         Roland Mas


Post a reply to this message

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