Jump to content


Photo

Multi Channel Exr


  • Please log in to reply
14 replies to this topic

#1 ezdz

ezdz

    Piglet

  • Adv Members
  • 4 posts

Posted 18 June 2008 - 11:42 AM

Is there a way to split out a multi-channel exr after the loader? For instance, if I have one loader for an exr with 10 channels in it, can I split out the channels after the loader, so I don't need 10 separate loaders?

#2 SirEdric

SirEdric

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 835 posts

Posted 18 June 2008 - 12:34 PM

Hi, ezdz.

You could use a couple of ChannelBooleans to copy your aux-channels into your rgb-channels.

Have Phun.

Eric.

#3 ezdz

ezdz

    Piglet

  • Adv Members
  • 4 posts

Posted 18 June 2008 - 02:48 PM

Thanks... for some reason my extra channels aren't listed in the channelBoolean (I should mention that they have non standard names like "occlusion" and "diffuse")

Hi, ezdz.

You could use a couple of ChannelBooleans to copy your aux-channels into your rgb-channels.

Have Phun.

Eric.



#4 SirEdric

SirEdric

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 835 posts

Posted 18 June 2008 - 03:00 PM

Hi, ezdz.

The Loader should find those channels anyways,
and in the Loader's format-tab you can then assign those "non-standard" channels to "standard channels",
which then again are understood by the ChannelBoolean.

HTH?

Have Phun.

Eric.

#5 ezdz

ezdz

    Piglet

  • Adv Members
  • 4 posts

Posted 19 June 2008 - 08:41 AM

That's a good suggestion... unfortunately I have too many aov's, it looks like the loader supports 15 "standard" channels, which I can use for 5 rgb layers, but in this case I have about 7 rgb layers.

Hi, ezdz.

The Loader should find those channels anyways,
and in the Loader's format-tab you can then assign those "non-standard" channels to "standard channels",
which then again are understood by the ChannelBoolean.

HTH?

Have Phun.

Eric.



#6 isotron

isotron

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 237 posts

Posted 29 October 2009 - 09:52 AM

look at: h__p://www.svenneve.com/?p=239

or download my modified script below (delete the .txt extension)

modifications: split the (X Y Z) Channels correct, rename the new loaders similar to the extracted Channels

Attached Files



#7 robocop

robocop

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 485 posts

Posted 30 October 2009 - 07:15 AM

hos_splitEXR_iso.eyeonscript.txt

i have a problem
http://i112.photobuc...r_splitting.jpg

#8 xmare

xmare

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 723 posts

Posted 30 October 2009 - 07:45 AM

hi!
a bit offtopic here, but i noticed You are using megaTk shader. once i came across a script designed to import and create comp from megaTk passes in fusion, and i thought to share them:
they are located here(post no3). Script are written by Gabor L. Toth - many Thanks for amazing work

still, they would work on passes, not single exr with many layers :( but maybe someone find them handy.

#9 isotron

isotron

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 237 posts

Posted 30 October 2009 - 08:12 AM

@robocop: are u have the problem only in your "special" channel?
can u write or show the correct channelname of "special" - in the nonsplitted exr file?

(the script "only" extract R G B and X Y Z values)

#10 robocop

robocop

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 485 posts

Posted 08 November 2009 - 03:39 PM

oops ) sorry for pause.
there is a example EXR
http://jump.fm/EFQOM

#11 Tilt

Tilt

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 2,137 posts

Posted 08 November 2009 - 10:28 PM

Just to pour oil into the fire of this topic... For a project I'm working on in Nuke right now we did a speed test and it turns out multichannel EXRs were slower than several separate EXR files for the passes. (in this particular case 20 seconds for 5 frames of the most basic pass setup when pulling everything out of a multichannel EXR and just 16 seconds if separate passes are used).

So, this is in no way representative since it depends a lot on network infrastructure, speed, the operating system... and the software hasn't been Fusion of course.

But if the only reason to use multichannel exrs is that you want to have a single loader so you can update the comp with a single click I'd suggest doing a speed test and then writing a script that checks any number of loaders for an updated file :-) It's usually super easy if you have a naming convention in place.

cheers

Stefan

(will do the same speed test with Fusion someday...)






#12 isotron

isotron

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 237 posts

Posted 10 November 2009 - 07:30 AM

okay, i checked your problem....your channels rgb have small letters, where did you generate your EXR ?

u need to change the script, but its easy.... open it with an editor, in line 56 replace R G B A with r g b a (its case sensitive) . the same in line 92 and following with R G B A X Y in it.


your first 4 channels in the your exr need a name, f.e. BYT.R BYT.G BYT.B , because only R / G / B will not extracted.

i attached the modified (_sl = small letters) script.

Attached Files



#13 robocop

robocop

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 485 posts

Posted 10 November 2009 - 07:41 AM

cool. i try it immediately!

we use megaTk shader with MentalRay.

and more.. i not first time confused by naming standart in EXR .. becouse when, for example, i render out from Nuke - channels in my input Exr seems like:
blabla.r
blabla.g
blabla.b
...
..
And after nuke render i have:
blabla.red
blabla.green
blabla.blue

uffff!!! :mf_trek: :mf_pyth:
:)

#14 isotron

isotron

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 237 posts

Posted 10 November 2009 - 07:44 AM

what the hell nuke doing ;)

okay , for some reasons u need to modifie the script in the lines i wrote, for your needs.

#15 robocop

robocop

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 485 posts

Posted 10 November 2009 - 07:51 AM

yoohouuu!!!! WORK AS CLOCKS!

thaaaaaaaaaaank you! iso!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users