|
From: | Paul Miller |
Subject: | [Openexr-devel] how to properly save with data window? |
Date: | Mon, 13 Feb 2012 15:16:43 -0600 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 |
Perhaps this is the way I am adding Slices to my frame-buffer? for (int i = 0; i < channels; i++) { const half *pixels = pixPtr + i;frameBuffer.insert(chanName, Slice(HALF, (char *)(pixels), sizeof(half) * channels, sizeof(half) * width * channels));
}I am basing this on "3.2 Writing a Cropped Image" in the reading/writing document. Though my RGBA pixels are packed into a single buffer.
What am I doing wrong?
[Prev in Thread] | Current Thread | [Next in Thread] |