POV-Ray : Newsgroups : povray.general : Speed up the calculation of a single image by using the options +sr and +er : Speed up the calculation of a single image by using the options +sr and +er Server Time
8 Jul 2024 14:30:13 EDT (-0400)
  Speed up the calculation of a single image by using the options +sr and +er  
From: Christian Baun
Date: 4 Aug 2014 14:55:01
Message: <web.53dfd628263d1e289108b29d0@news.povray.org>
Hi,

I want to speed up the calculation of a single image by using multiple servers
in parallel.

Before POV-Ray 3.7 this was possible by starting a POV-Ray job on each available
server and letting each server calculating a part of the final image by using
the options +sr and +er.

The behavior of POV-Ray 3.6 and older is very well explained here [1]:

"When rendering a subset of *rows* (+sr/+er) POV-Ray writes the full height into
the image file header and only writed those lines into the image that are
rendered. This can cause problems with image reading programs that are not
checking the file while reading and just read over the end."

When using PPM as output format, it is easy to concatenate the resulting parts
to the final image.

POV-Ray 3.7 works in a modified way as described here [2]:

"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."

Is there any way to get the old behavior back without doing a downgrade?
Is there any "hidden" command line option?
The new behavior makes distributed image generation very complicated.

Best Regards
   Christian Baun

[1] http://www.povray.org/documentation/view/3.6.0/217/
[2] http://www.povray.org/documentation/3.7.0/r3_2.html#r3_2_4


Post a reply to this message

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