|
![](/i/fill.gif) |
"Chris Cason" <del### [at] deletethistoo povray org> wrote in
message news:4891a171@news.povray.org...
> Jim Holsenback wrote:
>> It seems the biggest issue is going to be the assumed_gamma handling
>> change
>> in v3.7. If I'm understanding correctly if the parser sees the inclusion
>> of
>> that keyword it basically spits out a warning and handles gamma
>> correction
>> based on what you have in resolution.ini. Is that correct? So there's no
>> way
>
> It's a little more complicated than that: best to read the release notes
> regarding that (I'll paste the relevant section in a followup to this
> message).
thanks .... I'm squared away on that now.
>> I've reread through this thread and it still seems that there is no
>> consensus on image file format and size. Whats the best approach here?
>> Produce a full sized image and just scale for the thumbnails, or two
>> separate runs.
>
> Scaling to thumbnails is fairly easy, so I'd recommend that. For full-size
> images you could render at a width of, say, 768, with the height being
> whatever that scales to with the aspect ratio taken into account.
ok that answers size .... what about format? png?
> One other suggestion: when leaving a #version in the scene file, it might
> be good to add a comment above it that says e.g. "minimum POV-Ray version
> needed to render this scene", or something like that.
>
> thanks,
> -- Chris
I've seen what I think perhaps catches all the cases we are likley to
encounter that involve gamma correction and they are:
version <= 3.5 with assumed_gamma = 2.2, 1.8, 1, or 0.8 in 244 of the 365
scene files, or no version set at all for the rest.
It seems then that the 244 files with some mention of gamma correction have
the version reference removed, so that by default gamma correction is on.
the test file I was using sourced a couple of includes that had #version 3.5
keyword. Does the pov source file inherent the version from a sourced
include? If so I would be in favor of setting #version = 3.7 in those pov
files. Maybe we need to up version the includes as well. The remaining files
that have no mention of assumed_gamma should be set to 3.5 so to have gamma
correction off.
here's the header of the test file i've been using and a pretty free form of
what I'm thinking we ought to be doing:
// Persistence Of Vision raytracer version "what ever we decide" sample
file.
//
// -w320 -h240
// -w800 -h600 +a0.3
#include "stdinc.inc"
#include "arrays.inc"
/* The following has been obsoleted due to the way gamma correction is now
being handled.
Please refer to the release notes for additional information. Any version
references should
be considered as a minimum requirement to render this scene. */
//#version 3.5;
global_settings {
//assumed_gamma 1
}
Cheers
Jim
Post a reply to this message
|
![](/i/fill.gif) |