POV-Ray : Newsgroups : povray.general : can command-line settings be accessed automatically? : Re: can command-line settings be accessed automatically? Server Time
25 Apr 2024 20:25:59 EDT (-0400)
  Re: can command-line settings be accessed automatically?  
From: Bald Eagle
Date: 31 Jul 2018 18:15:00
Message: <web.5b60ded4edadbfa3458c7afe0@news.povray.org>
"Kenneth" <kdw### [at] gmailcom> wrote:
> In POV-Ray for Windows, is is possible to 'access'  command-line settings in
> some automatic way, to use later for another purpose?

I would have say that the answer is NO.
Perhaps in a future version, but heck, right now you can't even get the camera
position without going all meta.

And this is yet another reason it would be great to be able to write custom
metadata info to the file header, if the format supports it.

Now - here's an interesting tidbit:

When rendering a subset of columns (+sc/+ec) and/or rows (+sr/+er), POV-Ray
generates a full width image and fills the not rendered columns with black
pixels. This should not be a problem for any image reading program no matter
what file format is used. Earlier versions of POV-Ray had problems when a subset
of rows (+sr/+er) was rendered. The full height information was written into the
image file header but it only wrote image data for those lines that were
actually rendered. This made output files that were incompatible with various
image processing tools. In version 3.7 this is no longer the case.

So, maybe if you set the version back, you'd get the same behaviour?
Or maybe do the experiment in an old version?

Perhaps there's a way to get the start/end columns and rows by looking at that
data.

That's the best I've got at the moment.


Post a reply to this message

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