POV-Ray : Newsgroups : povray.general : large renderings : Re: large renderings Server Time
1 Aug 2024 02:14:07 EDT (-0400)
  Re: large renderings  
From: Paul Bourke
Date: 25 Apr 2006 04:21:42
Message: <pdbNOSPAM-CDF605.18213925042006@news.povray.org>
> 1) Lets say I have a target size of some 10thousand
> pixels height and width, like 40000x30000 pixels.
> And I only want to render a part of it at a time
> so I can handle the resulting images easier. I can
> specify the wanted start/end-row and start/end-column
> but povray still creates a image of the *whole* size
> with only the rendered part in it. How can I avoid this
> and make povray create an image only of the size of the
> wanted part? I didn't find an appropriate command line
> switch.
> Of course I still can cut out the resulting part with
> an image manipulation tool, but...

The way PovRay handles this is a matter of contention, I for
one an often frustrated by the approach taken. I regularly
(at least in the past) render these sizes and often in strips.
The way it used to work was that while PovRay created a file
with the final dimensions, the actual image data was only the
piece you asked for. Very annoying since this is an illegal
image. One of the ways I used to get around this was to save
as TGA and write mmy own code that joined the bits together,
ignoring the file size header information.

Let me know if this has changed, ie: the image is now black
or equivalent except for the piece requested.

> 2) When specifying a region in the image, is the first
> line called 1 or 0? The man page again doesnt say some-
> thing about this. So e.g. if I want to render the first
> 400 columns, should I specify "+SC0 +EC399" or "+SC1 +EC400"?

0 to 399 I believe.

> 3) Is there any limitation to the size of the resulting image?
> Part of the image or the whole image?

I believe you are limited to 32bit ints for each dimension, haven't
tried to test this though.

-- 
Paul Bourke
pdb(NOSPAM)swin.edu.au


Post a reply to this message

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