![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Bob Hughes <inv### [at] aol com> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
I think you are onto something here.
Roland Mas wrote in message ...
>The parade could be something like a nem item, entitled "refresh",
>which would parse the file and render a 0x0 or 1x1 image (short
>calculation time) and still parse the file, so that the thing.ini file
>would be rewritten. Change scene, then select "refresh", render, then
>select the correct aspect ratio from the menu...
>
>I won't be able to try that since I'm not using Windows (which I don't
>complain about), and anyway I don't really care, but I'd like to be
>kept informed on how it goes.
>
>Roland.
>--
> Roland Mas
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Found the relevent part of the P-R 3.* DOC under Shell Command
Sequencing:
---snipping
Here is the sequence of events in an animation loop. Non-animated scenes
work the exact same way except there is no loop.
1) Process all INI file keywords and command line switches just once.
2) Open any text output streams and do Create_INI if any.
3) Execute Pre_Scene_Command if any.
4) Loop through frames (or just do once on non-animation).
a) Execute Pre_Frame_Command if any.
b) Parse entire scene file, open output file and read settings,
turn on display, render the frame, destroy all objects,
textures etc., close output file, close display.
c) Execute Post_Frame_Command if any.
d) Go back to 4 a until all frames are done.
5) Execute Post_Scene_Command if any.
6) Exit POV-Ray.
---unsnipping
As you can see by item one, appears to not be plausible. However, then
item 2 states writing to a new INI. What for? If a 2-cycle render is not
going to re-read the INI... so I don't know now. Trying it out is worth
a hundred "what-ifs" I suppose.
Roland Mas wrote:
>
> Bob Hughes <inv### [at] aol com> 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
>
> Sauvez une souris, mangez votre chat.
--
omniVERSE: beyond the universe
http://members.aol.com/inversez/POVring.htm
mailto:inv### [at] aol com?PoV
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |