All channels in a single openEXR

Discussions about FX-Tree and Compositing generally
Post Reply
Soth3dlife
Posts: 18
Joined: 19 Apr 2010, 10:38

All channels in a single openEXR

Post by Soth3dlife » 05 May 2010, 13:52

Greetings

Long ago I found a little tool in maya that allow to combine differents channels in a single OpenEXR. There anyway to do the same in XSI?

Sorry for my bad english

User avatar
Hirazi Blue
Administrator
Posts: 5107
Joined: 04 Jun 2009, 12:15

Re: All channels in a single openEXR

Post by Hirazi Blue » 05 May 2010, 15:06

I haven't tried this myself, so it might not work...
But if you're feeling adventurous you might want to try the SlideShaders (pdf included) for 3ds Max
and use the mi file and the dll
in the manner described in this thread ;)
Stay safe, sane & healthy!

mtea
Posts: 25
Joined: 12 Jun 2009, 10:36

Re: All channels in a single openEXR

Post by mtea » 06 May 2010, 09:24

in softimage 2011 it have to be inside...2011 versions have the new exr format, like 3d max..

User avatar
Hirazi Blue
Administrator
Posts: 5107
Joined: 04 Jun 2009, 12:15

Re: All channels in a single openEXR

Post by Hirazi Blue » 06 May 2010, 09:57

Oops, that's something I completely overlooked... :ymblushing:
Stay safe, sane & healthy!

User avatar
Rork
Posts: 1359
Joined: 09 Jul 2009, 08:59
Location: Close to The Hague, Netherlands
Contact:

Re: All channels in a single openEXR

Post by Rork » 06 May 2010, 10:42

Not sure about that, as it was requested during beta and afaik not implemented yet in SI......

correct me if i'm wrong and show us where to find it/to use it
SI UI tutorials: Toolbar http://goo.gl/iYOL0l | Custom Layout http://goo.gl/6iP5xQ | RenderManager View http://goo.gl/b4ZkjQ
So long, and thanks for all the Fish!!

HaDDeS
Posts: 9
Joined: 17 May 2010, 07:12
Skype: oo_haddes_oo

Re: All channels in a single openEXR

Post by HaDDeS » 17 May 2010, 07:23

I follow Rork, that has been requested long time ago, but if it exists somewhere in 2011 it's very well hidden ! :)) ... then i'd love to be wrong

User avatar
Hirazi Blue
Administrator
Posts: 5107
Joined: 04 Jun 2009, 12:15

Re: All channels in a single openEXR

Post by Hirazi Blue » 18 May 2010, 15:01

Earlier today a posted a now removed post (replaced by this one) claiming success with the aforementioned SlideShaders. Sadly, it looks as if it might work (hence my original post), but it really doesn't (as far as I can tell). Maybe someone with a little more time on their hands could look into it: it all goes wrong when trying to write the correct "encoded string" for the framebuffers. The SlideShaders do output a multichannel exr, which can be tested in imf_disp.exe, but apart from the "main" framebuffer, all the other framebuffers turn out wrong in the exr. Like I said, could easily be something to do with me coding the "encoded string" wrong, but could also be something more fundamental.
Just wanted to let you know, why I removed my original post... :((
Stay safe, sane & healthy!

HaDDeS
Posts: 9
Joined: 17 May 2010, 07:12
Skype: oo_haddes_oo

Re: All channels in a single openEXR

Post by HaDDeS » 19 May 2010, 00:48

Let's give it a try .... :D well i'm totaly sure i'll not get any further than you did, but I think it's worth trying

User avatar
Hirazi Blue
Administrator
Posts: 5107
Joined: 04 Jun 2009, 12:15

Re: All channels in a single openEXR

Post by Hirazi Blue » 19 May 2010, 13:52

Well, I gave it one last try today and it really doesn't seem to work.
The Main pass is correctly written into the exr, the other passes aren't. The frustrating part is, that I "managed" to get different images into the other passes, but never the correct image one would expect. The three images I was able to inadvertently write into the additional exr-channels were: an all-white matte, a totally black image and some colorful image reminding me of a normal pass. As I was actually trying to write an Ambient and a Diffuse framebuffer, this obviously wasn't what I was going for.
Could it be Max numbers/stores its Mental Ray framebuffers completely differently from the way SI does this?
(Better not tell me though, as I do not want to spend much more time on this... :- )
Stay safe, sane & healthy!

HaDDeS
Posts: 9
Joined: 17 May 2010, 07:12
Skype: oo_haddes_oo

Re: All channels in a single openEXR

Post by HaDDeS » 20 May 2010, 00:19

GRRR that's soooo frustrating ... ~x(

User avatar
Hirazi Blue
Administrator
Posts: 5107
Joined: 04 Jun 2009, 12:15

Re: All channels in a single openEXR

Post by Hirazi Blue » 23 May 2010, 16:19

Okay I've tried the SlideShaders and one other alternative, but in the end your best bet seem to be the famous puppet shaders by Ledin Pavel aka "Puppet". These shaders offer a way to save out multichannel exrs, but it may require some work to figure out how to get them to write out exactly what you want them to write out. You can get them here at the bottom half of the page. As there is no SI2011 version yet, here's what you can do:

Code: Select all

the following is written with a x64 machine in mind, 
change the directory names if your on a 32 bit machine...

download and unzip "shaders_p_3.3_maya_win64.zip"
from this unzipped directory get yourself the dll from this folder "\shaders_p_3.3_maya_win64\Maya2011_win64"
copy that specific "shaders_p.dll" into your 
"C:\Users\...\Autodesk\Softimage_2011\Application\bin\nt-x86-64" directory
download and unzip "shaders_p_3.3_xsi_win.zip"
copy the spdls from this second unzipped directory to the 
"C:\Users\...\Autodesk\Softimage_2011\Application\spdl" folder

Purely for multichannel openexr saving you won't be needing all puppet shaders, but it cannot hurt to  have them installed
Stay safe, sane & healthy!

Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests