0

Compositing channels of an EXR together

Hello:

  I have an EXR sequence that has multiple channels.  Is there any way to composite these channels together in RV?  I'd like to do things like an OVER, MULT or ADD across channels.  If possible, I'd like to do it using Mu/Python with a hotkey. 

 

Thanks!

Jake

3 comments

  • 0
    Avatar
    Jon Morley

    Hi Jake,

    Does each file in your image sequence have each element or do you mean you have each element separated out into different files (or example shadow.exr, hilight.exr, etc)?

    In either case have you tried using the Session Manager (from the Tools menu) to arrange your sources in a stack? With stacks you can control the compositing operation from the edit tab in the Session Manager or under the Stack menu. If you can arrange your sources interactively through RV the way you want then you can certainly do so through scripting/hotkeys.

    Please describe your goal a bit further and maybe include a session file of your arranged sources into a stack if you can produce the effect you want interactively.

    Thanks,
    Jon

  • 0
    Avatar
    Jake Richards

    Sorry, I'll try to describe it a bit better. 

    Each EXR file has extra channels in it, like an Object ID or Z or other per pixel information.  What I'd like to do is comp them together.  So, say an EXR has these channels:

     

    RGBA, atmo.R,atmo.G, atmo.G

     

    I'd like to comp them together:
    R+atmo.R, G+atmo.G, B+amo.B

    Or, just as an example (I wouldn't do it)

    Multiply the Z by the RGB channels.

     

    Again though, they are just channels inside the same EXR.  I'm sorry I can't provide a screenshot though, work is very strict about us providing screenshots :(

     

    Jake

  • 0
    Avatar
    Jon Morley

    Hi Jake,

    It sounds like what you are after is a bit beyond the built-in (or at least expressed in the default UI) composting features of RV. The core of RV can certainly composite these files and channels the way you describe, but I think the way to do this is with RVX and some custom GLSL authoring. You can read a little bit about it under the section on "User Programmable GPU Image Processing*" from:

    http://www.tweaksoftware.com/products/RV-4.0

    Please send us an email if you want to get a test license to try RVX out.

    Thanks,
    Jon

Please sign in to leave a comment.