[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Openexr-devel] Camera matrices in sxr files
From: |
Jeff Clifford |
Subject: |
[Openexr-devel] Camera matrices in sxr files |
Date: |
Tue, 03 Feb 2009 12:56:54 +0000 |
User-agent: |
Thunderbird 2.0.0.18 (X11/20081105) |
Hi,
I have a question about how best to store the camera matrices in an sxr
file for the left, right (and maybe mono) cameras.
Is the best way to go to simply add some new attributes to the header like:
header.insert( "worldToCamera_left", Imf::M44fAttribute (Nl_left) );
header.insert( "worldToNDC_left", Imf::M44fAttribute (NP_left) );
header.insert( "worldToCamera_right", Imf::M44fAttribute (Nl_right) );
header.insert( "worldToNDC_right", Imf::M44fAttribute (NP_right) );
rather than use the stadard attributes of worldToCamera & worldToNDC?
Or is there some smarter way of having the standard attributes as a
vector attributes in some way to allow for multiple camera matrices?
Thanks,
Jeff Clifford.
- [Openexr-devel] Camera matrices in sxr files,
Jeff Clifford <=