Does anyone enable OpenEXR support for Shake 3.5 under linux? (Yeap, stupid question
Actually I mean - can anyone explain how to do it?)
OpenEXR
Normally you have to compile the exr plugin off the openexr.org website. But your in luck, I compiled it last year and have it on my site:
http://www.freakydeke.com/exr/exrFormat.so
hey beaker,
what are the chances you know anything about openexr for us poor windows users (shake 2.51)?
regards,
sunit
beaker, thanks. Iāll try it out soon.
Now Iām compiling it myself but have some problems:
1)Iāve compiled OpenEXR 1.2.2 source - now I have variuos utils like exrdisplay etc.
2)Set pkg-config variable for openEXR.pc file
3)The quantity of errors is decreased to that:
[root@localhost OpenEXR_Shake-1.0.1]# make
Using /usr/apple/shake-v3.5
g++ -O2 -fPIC -I/usr/apple/shake-v3.5/sdk/include/nrcc -I/usr/apple/shake-v3.5/sdk/include/nrfx -I/usr/apple/shake-v3.5/sdk/include/nrgl pkg-config --cflags OpenEXR exrFormat.C -c -o exrFormat.o
In file included from /usr/apple/shake-v3.5/sdk/include/nrcc/NRiFile.h:28,
from exrFormat.h:47,
from exrFormat.C:52:
/usr/apple/shake-v3.5/sdk/include/nrcc/NRiHashTable.h: In member function void NRiHashTable<T>::resize(uint32_t)': /usr/apple/shake-v3.5/sdk/include/nrcc/NRiHashTable.h:116: error:deā undeclared (first use this function)
/usr/apple/shake-v3.5/sdk/include/nrcc/NRiHashTable.h:116: error: (Each undeclared identifier is reported only once for each function it appears in.)
/usr/apple/shake-v3.5/sdk/include/nrcc/NRiHashTable.h: In member function void NRiHashTable<T>::addEntry(NRiHashTable<T>::Entry<T>*)': /usr/apple/shake-v3.5/sdk/include/nrcc/NRiHashTable.h:234: error:eā undeclared (first use this function)
make: *** [exrFormat.so] Error 1
Can you advice anything in this case?
The exr plugin wonāt compile for 2.5, sorry, your SOL.
Upgrade to linux or buy a mac. 2.51 is 4 years old. Isnāt it about damn time you move on? 3.5 is so much faster and has a lot of nice features.
Ok, Iāve set your plugin and shake returned that he canāt find som libs from OpenEXR. I do have them in /usr/local/lib but shake doesnāt wanāt to read them from there. So I put links on them to shakes dir/lib/mesa - now shake loaded plugin sees .exr as image-files but when I try to open - it crashes and returns āSegmentation faultā⦠Any ideas what could it be?
What version of gcc are you using?
As for my plugin, I compiled it with exr 1.2.1, so 1.2.2 is probably causing it to crash. 1.2.1 requires you to compile the nvidia sdk, but supposedly they got rid of that dependancy in 1.2.2. I wonder if the shake plugin still requires 1.2.1.
Thatās Mandrake 10.1 - gcc 3.4
Yeap, nvidia sdk in 1.2.2 was an optional thing and didnāt set up in my case.
What do you suggest in this situation?
Also shake 3.5 plugins are supposed to be compiled with gcc 3.2.3. So maybe there is an issue with 3.4. Just some ideas.
four years old? nah, only about two and a half :)
yes, linux. iāve heard about that⦠:wise:
-sunit
install 1.2.1
Thereās no old versions on openexr.org - only recent 1.2.2 version. Is there another place where I can get 1.2.1?
Also shake 3.5 plugins are supposed to be compiled with gcc 3.2.3. So maybe there is an issue with 3.4. Just some ideas.
I thought about that, but Iām not very good in this thing. Can I somehow compile with 3.2 in system with 3.4?
Do you know fundamentally why it wont compile ?
Is it an issue that it has to be compiled against the 3.5 SDK which
contains new library functions that are not available in the older version of
the SDK ?
Thanks for any insight
The plugin doesnāt but EXR is built into Shake 4 and it supports all those features(Multibuffer).
Its still very limited in shake 4, you can select which channels to map to the rgbaz channels when inporting a clip but you cannot export a exr image with more then the standard rgbaz channels. So if you import a clip and wanna say edit your ambient occlusion pass then reexport it back out intact with the new data your screwed. This is pretty much due to the fact that shake is still limited to rgbaz color channels unlike say D2ās nuke which is the only commercial app Iāve use that USES what exr is for straight out the box.
Only way for realy useing exr in shake is still with a custom exr plugin you create with the sdk. Kinda sad but like one always says āIt hopefully will be fixed/updated in the futureā.

[edit]
Also shake doesnt support multiresolution exr files along with all the custom info stored in the exr header such as adding tracking info you got from a tracking application. Multiresloution exr files not being supported is realy a shame because storing proxies all in the same file is a nice feature of the format.
You should write Angus Taggart about that. He came on the EXR listserve asking about implementing EXR support back a year ago. Seems like he would be pretty open to adding stuff like that. It would be nice to be able to embed stuff like trackers and DODās.
That sounds like a good idea beaker. I myself have been messing around with creating little tools for reading exr header info along with other do dads. I like the possibilitys open exr offers as a image format, I just wish more apps would support this new format to its full extent. Alot of the newer releases in software that companies are coming out with all praise āOPEN EXR SUPPORT!ā but I realy havent seen one that fully uses all the features. Most of the time they just load the highest resolution tile and allow you to map which channels goto rgbaz.
