Missing Imf attributes for CTL

Gonzalo Garramuño <[email protected]> Thu, 14 Feb 2008 18:49:28 -0300
Newsgroups gmane.comp.video.openexr.user
Message-ID <[email protected]>
As openexr now adds support for CTL, it would be good to add some of the 
missing attribute types so that they can be added to the header to be 
passed to the CTL script, using the new ImfCtl::applyTransforms api call.

Missing/useful attributes would include:

	ImfFloatVectorAttribute.h  ( for uniform float x[] )
	ImfHalfVectorAttribute.h   ( for uniform half x[] )
	ImfNMatrixAttribute.h  ( to pass luts or other multi
                                  value attrs like uniform float
                                  x[][][3] )


Also, probably a bug, but when doing:

	$ make check

on current SVN of OpenEXR_CTL, I get a:

Testing function argument types
ERROR -- caught exception: Cannot convert image header attribute of type 
box2i to CTL data type.
IlmImfCtlTest: testTypes.cpp:327: void testTypes(): Assertion `false' 
failed.


-- 
Gonzalo Garramuño
[email protected]

AMD4400 - ASUS48N-E
GeForce7300GT
Xubuntu Gutsy