HDK: OpenEXR Source / Could not open imager

   2304   0   0
User Avatar
Member
12672 posts
Joined: 7月 2005
Offline
Hi SESI,

I am attempting to modify the now-public OpenEXR IMG driver source code.

I have changed the getFormatName() to “OpenEXR2” and the getDefaultExtension and checkExtension to “.ex2”. I called the .so by a different name OpenEXRResume.so, and placed it under $home/houdini12.0/dso/fb and created an FBformats file that points at it.

~jiversen/houdini12.0/FBFormats

#include “$HFS/houdini/FBformats”
IMG_OpenEXRResume.so // OpenEXR (.exr)

I confirm the DSO is loading by:

>hscript
/ -> dsoinfo

IOTable /opt/hfs12.0.599/houdini/dso/fb/IMG_IOTable.so
OpenEXR2 /home/jiversen/houdini12.0/dso/fb/IMG_OpenEXRResume.so

When I attempt to render a .ex2 file now, I get a:


Generating Image: /home/jiversen/code/OpenEXR/HoudiniOpenEXR/tests/test.ex2 (640x480)
Plane: Cf+Af (16-bit float)
SampleFilter: alpha
PixelFilter: gaussian 2 2
VEX Type: vector4
Dither: 0.5
Gamma: 1
Gain: 1
White point: 1

mantra: Could not open imager
Error: Failed to create file “/home/jiversen/code/OpenEXR/HoudiniOpenEXR/tests/test.ex2 : Success”.

Any ideas where I might be going wrong?

Thanks,
Jason

PS. I did notice the header comments are quite … legacy
PPS. If it helps documentation in any way, I did this on Ubuntu 10.04 to build it:

# downloaded openexr-1.7.0 from openexr com, installed zlib-dev in package manager
# in openexr dir: ./configure, make, sudo make install
#
# when I had issues in Houdini, I also ran: make check
#
#PASS: IlmImfTest
#==================
#All 1 tests passed
#
Jason Iversen, Technology Supervisor & FX Pipeline/R+D Lead @ Weta FX
also, http://www.odforce.net [www.odforce.net]
  • Quick Links