Announcement

Collapse
No announcement yet.

Single File EXR with Velocity Channel

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Single File EXR with Velocity Channel

    Hi,
    we have setup our workflow to incorporate single file exrs with all the render elements we need in it.

    We are using Reel Smart Motion blur in After Effects to render Motion Blur in post.
    I have managed to get the right results when using pngs (one for each render element) and preserving rgb in AE.
    But i am not able to get the same result with the single file exrs. It seems the velocity channel is getting a different
    gamma than the other channels.

    I would really like to stay with the single file exrs and only one render pass (high rendertimes / animation)

    We are using 3dsMAX 2012 64bit Vray 2.20.01. Linear workflow.

    This is the VFB velocity channel - looking right
    Click image for larger version

Name:	velocity-chanel-VFB.jpg
Views:	1
Size:	66.7 KB
ID:	874040

    This is how the channel looks like when used in AE - all other channels are ok!

    Click image for larger version

Name:	AE-EXR-result.jpg
Views:	1
Size:	96.8 KB
ID:	874041

    This is our render setup for single file EXRs (to my knowledge it only works this way - save separate render channels produces multiple files)
    Click image for larger version

Name:	single-file-EXRs.jpg
Views:	1
Size:	118.2 KB
ID:	874042

    Does anyone have a solution for this - or is it a bug?

    best regards
    Michael
    http://www.frame3d.de

  • #2
    The default for velocity is signed (so things moving from right to left will cause negative values) so the negative part is eventually dropped by AE ? Also the element records velocity as pixels/frame by default, so values above one might also be clamped by AE

    Regards,
    Thorsten

    Comment


    • #3
      @Thorsten, sorry I don't get what you mean with the negative part in AE.
      I used the same settings (with headroom for the max veolicity in last frame) and the same numbers within RSMB in AE.
      What I don't get is with the same settings it works using multiple pngs as opposed to a single EXR.
      http://www.frame3d.de

      Comment


      • #4
        I checked the EXR's in PDPlayer - in case AE is interpreting the EXR's wrong.
        But it's the same there. So it seems like a problem of Vray saving to single file EXR or EXR interpreting it wrong?

        Click image for larger version

Name:	pdplayer-velocity.jpg
Views:	1
Size:	122.7 KB
ID:	845143

        Can someone help - please?
        http://www.frame3d.de

        Comment


        • #5
          I use single EXRs with velocity channels in fusion and everything works perfectly
          Chris Jackson
          Shiftmedia
          www.shiftmedia.sydney

          Comment


          • #6
            here is a screen grab of fusion showing that the velocity channel in a single EXR is working perfectly well.
            If you want to try one of my EXRs PM me and I will send it to you to try in AFX.
            Attached Files
            Chris Jackson
            Shiftmedia
            www.shiftmedia.sydney

            Comment


            • #7
              @Chris, could you check your Vray VFB if it looks the same there? My velocity channel inside VFB is way flatter (more desaturated) looking.
              http://www.frame3d.de

              Comment


              • #8
                Here is what it looks like inside the VFB in max
                Attached Files
                Chris Jackson
                Shiftmedia
                www.shiftmedia.sydney

                Comment


                • #9
                  Looks quite different in the max VFB and that is because in fusion it is not showing the "blue" velocity information
                  Chris Jackson
                  Shiftmedia
                  www.shiftmedia.sydney

                  Comment


                  • #10
                    You don't really need the blue part; most compositing software doesn't use it anyways.

                    Best regards,
                    Vlado
                    I only act like I know everything, Rogers.

                    Comment


                    • #11
                      the way the exr looks in after effects appears correct. When vray displays the exr in framebuffer its placed against a neutral gray background. However if you are using a multichannel exr, the gray background does not get written into it, so you see Red and Green on pure black. If you simply take the image out of vray frame buffer and subtract 50% gray, you will get the same result.
                      Dmitry Vinnik
                      Silhouette Images Inc.
                      ShowReel:
                      https://www.youtube.com/watch?v=qxSJlvSwAhA
                      https://www.linkedin.com/in/dmitry-v...-identity-name

                      Comment


                      • #12
                        Thanks Dmitry,

                        with your idea i was able to get the right result.
                        I just added 50% gray to the velocity channel and it works the right way in AE!
                        Without the added gray the velocity calculation is wrong.
                        http://www.frame3d.de

                        Comment


                        • #13
                          what are you using in AE as the motion vector?
                          Dmitry Vinnik
                          Silhouette Images Inc.
                          ShowReel:
                          https://www.youtube.com/watch?v=qxSJlvSwAhA
                          https://www.linkedin.com/in/dmitry-v...-identity-name

                          Comment


                          • #14
                            I'm not quite sure what you mean - in AE it's just a layer or precomp.
                            Inside the precomp is the velocity channel with gray added on top.
                            Click image for larger version

Name:	gray-solid.jpg
Views:	1
Size:	33.8 KB
ID:	845163Click image for larger version

Name:	motion-vectors.jpg
Views:	1
Size:	26.5 KB
ID:	845164
                            http://www.frame3d.de

                            Comment


                            • #15
                              i see, i guess its how the reel smart motion blur reads it. Must be ae thing. Glad it works
                              Dmitry Vinnik
                              Silhouette Images Inc.
                              ShowReel:
                              https://www.youtube.com/watch?v=qxSJlvSwAhA
                              https://www.linkedin.com/in/dmitry-v...-identity-name

                              Comment

                              Working...
                              X