Stewart Dickson | 3 Feb 20:12
Picon
Favicon

Unpacking the multiView attribute?

Dumb question?

When reading the MultiView/* image files in the OpenEXR Sample Images source:
http://download.savannah.nongnu.org/releases/openexr/openexr-images-1.7.0.tar.gz
openexr-images-1.7.0/MultiView/*

One encounters the attribute of type StringVector, which I don't see hooks in the
OpenEXR API to unpack.

Can anyone explain how to do it?

Thanks,

-Stewart Dickson

From: 	Peter Hillman
Subject: 	Re: [Openexr-devel] Camera matrices in sxr files
Date: 	Wed, 04 Feb 2009 10:24:09 +1300
User-agent: 	Thunderbird 2.0.0.19 (X11/20090105)

This came up on the renderman forum last year:
https://renderman.pixar.com/forum/showthread.php?s=&threadid=10209

Florian's suggestion was to use <view>.worldToCamera and <view>.worldToNDC as the attribute names,
except the Default View (the first view listed in the multiView attribute), which remain worldToCamera
and worldToNDC, so that non-sxr aware software (which only loads the default view) would pick up the
corresponding worldToCamera/worldToNDC So if you have left-eye as hero eye you'd have worldToCamera
for the left and right.worldToCamera for the right

Gmane