openexr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Openexr-devel] Appending to a partially rendered image


From: Richard Hadsell
Subject: Re: [Openexr-devel] Appending to a partially rendered image
Date: Mon, 17 Jun 2013 18:33:32 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6

On 06/17/2013 06:10 PM, David Aguilar wrote:

Not necessarily, but my answer is not strictly an "append" operation.

Here's one way that might work.  EXR files have a notion of a
"dataWindow" which is separate from the display window; they can be
different.

I'm imagining that you could set the data window to be just the region
that does exist; later you can "append" to the image by reading in the
current data (as defined by the data window) and filling in the
missing regions; eventually the data window will be equal to the
display window size, and the image will be complete.

This implies that you (or one of the apps you use, e.g. Nuke) is not
already using the dataWindow header for something else.  The absolute
safest thing is to invent your own custom header, e.g.
"completedScanlines" or whatever you want to call it, and manage the
custom EXR header yourself.
Can one modify the header of an output file after opening the file and writing some of the data?  I would want to modify the "completedScanLines" attribute after every scanline, before my app has to close or gets killed.  I also want to update some other attributes in the header, such as how long it took to render the image so far.

--
Dick Hadsell			203-992-6320  Fax: 203-992-6001
Reply-to:			address@hidden
Blue Sky Studios                http://www.blueskystudios.com
1 American Lane, Greenwich, CT 06831-2560
Follow Blue Sky Studios on Facebook and Twitter

reply via email to

[Prev in Thread] Current Thread [Next in Thread]