openexr-devel
[Top][All Lists]
Advanced

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

[Openexr-devel] Deep data API: another batch of questions.


From: Lerenard Michel
Subject: [Openexr-devel] Deep data API: another batch of questions.
Date: Sat, 19 Apr 2014 11:18:03 +0200

Hi,

still trying to write deep data image, i'm struggling a bit with FrameBuffers.
As I need to write subsampled deep images, I cannot use Tiled images. I went for the scanline approach. My idea was to write batches of n scanlines, in increasing Y order.

This way I was thinking I would be able to limit the memory footprint:
OpenEXR would not need to cache data, and I would be able to reuse the same buffers for every batch of lines: one buffer for Z and one for each visible channel.

So I created a bunch of buffers, whose size was my image width * 32. (arbitrary value). I planned to feed these buffers to the DeepSlices I added to the FrameBuffer.
Thing is, it appears the FrameBuffer/Slices cannot work that way: they need to have memory allocated for the whole image. I couldn't find any function limiting / defining the region I want to work on.

Here are my questions:
- Is the statement above correct ?
- Should I work differently ? I doesn't look like using several framebuffers would help, I out of ideas at the moment.

I can explain in more details my process if it can help.


Thanks

Michel

reply via email to

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