Announcement

Collapse
No announcement yet.

Multipass render to layered PSD file

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

  • Multipass render to layered PSD file

    Hi,

    Is there a way of rendering 1 image to a layered PSD file so that each material is on a seperate layer?

    One of our clients likes to tweak colours seperatly in post and it takes AGES masking out in photoshop for them. It also takes too long to render seperate layers using the traditinal matte object method because we have more than 10 seperate layers.

    I read about a cebas plugin that can do this but cant find much more help on this forum regarding doing this. Is there a way without needing a plugin?

    Thanks for any help,

    Paul

  • #2
    In newer Vray builds,

    you get back the renderpasses from the gbuffer to the place , max usualy had it .


    with this build, you can use psd-manager from cebas. it gives you the freedom to get masks for all needed objects, think also materialchannels if you want.

    for me it works fine. Only thing is, with max backburner and stripeset for large immages it doesnt work.

    Our workflow usualy is, to render a big immage from the network with stripeset rendering,

    and after this disable gi, reflections , all lights, and get a very fast also big immage from one single computer using PSD Manager.

    Tom

    Comment


    • #3
      If you don´t have access to newer versions, as most of us don´t...

      You don´t need each material on a separate layer for selecting the different objects. You just need to render an ID pass which will provide you with an image with flat colors, assigned to each object. This image can be used in photoshop to mask individual objects. There are multiple methods to get this image from your scene. If you are interested in this id aproach i will elaborate it for you.


      Tom, what about the aliasing problem when selecting the objects? Is it accurate enough to mask them properly? Or you are still getting weird jagged edges?
      My Youtube VFX Channel - http://www.youtube.com/panthon
      Sonata in motion - My first VFX short film made with VRAY. http://vimeo.com/1645673
      Sunset Day - My upcoming VFX short: http://www.vimeo.com/2578420

      Comment


      • #4
        Panthon,

        This is exactly the thing I need. Could you please elaborate on how to get masks from individual objects? Thanks.

        Craig

        Comment


        • #5
          The material Id approach sounds interesting, could you elaborate? I'm guessing there is a way of rendering each material as a seperate flat colour defined by the material ID, then you just select by colour to create each mask in photoshop?

          I'd still prefer an all-in-one approach using psd manager although i can see how the material id method could be fairly quick.

          how could I get the vray build needed to be able touse psd manager though? I'd like to try both ways

          Comment


          • #6
            Well, here you can see my aproach. This is only valid for Vray 1.47.03. Newer versions will have better support for extracting the different channels.



            -Prepare my objects, assigning an unique id to each one i need, or just use the automatic RENDER ID, which assigns an id to each object automatically. Sometimes you just don't want that, because it will end up with tons of objects. In that case it´s better to assign manually the ids you need or use a script for that.

            -Check in the color mapping/gbuffer section the Object ID, and Render ID, optionally you can select others, like Zdepth or Material ID.

            -Render using RPF, and checking the OBject ID, render id, and the other channels you´ve previously selected. You must render directly to RPF, saving a rpf from the framebuffer does not work.

            -Here comes the trick. I use combustion to render out each channel, using the show gbuffer operator, but if you don´t have access to combustion, just use a script found in:

            http://www.scriptspot.com/start.asp?p=download&ID=267

            -Open your straight render (RGB Color) in photoshop, and use either the render id , the object id or material ID to make selections which will be applied to your render, to change whatever u need to change.

            That´s all!


            I find this method faster than rendering different passes and it´s based on one-file-only, the rpf.
            Let me know what you think about it, comments, suggestions to improve it...I´ll be glad to hear about it!
            My Youtube VFX Channel - http://www.youtube.com/panthon
            Sonata in motion - My first VFX short film made with VRAY. http://vimeo.com/1645673
            Sunset Day - My upcoming VFX short: http://www.vimeo.com/2578420

            Comment


            • #7
              wouldnt it be easier to do the same corrections in combustion as it has tools for selecting objects based on their id?
              i really like the discreet color corrector, for example...

              Comment


              • #8
                Originally posted by mike.edel
                wouldnt it be easier to do the same corrections in combustion as it has tools for selecting objects based on their id?
                i really like the discreet color corrector, for example...
                Yes, indeed. But I´m assuming they will be using photoshop for their postproduction.

                And, although i´m a combustion lover, some things are just impossible to do with this app, and you´ll save tons of time retouching in photoshop, anyway.
                Combustion's way of dealing with retouching stuff is sometimes cumbersome, not to mention it's extremely slow...
                My Youtube VFX Channel - http://www.youtube.com/panthon
                Sonata in motion - My first VFX short film made with VRAY. http://vimeo.com/1645673
                Sunset Day - My upcoming VFX short: http://www.vimeo.com/2578420

                Comment


                • #9
                  ok for retouching (paint/clone brush/healing brush) i prefer ps, too
                  but i cant complain about combustion's speed when it comes to color correction
                  especially working on stills that fit into memory seems very fast to me

                  Comment


                  • #10
                    Combustion color correction operators are well known in the industry, because they were picked from big brothers like inferno and flame. But seriously, do you think there´s something u cannot do in photoshop and it´s easily done in combustion when it comes to color correction? I agree combustion is fast when color correction, but so photoshop is, and autodesk would have a problem if it wasn´t this way. Nevertheless, things get slower when dealing with exr or heavily loaded rpfs!!

                    Amyway, does the method described above work for you? I haven´t read any replies from paulison or 3ddesign!
                    My Youtube VFX Channel - http://www.youtube.com/panthon
                    Sonata in motion - My first VFX short film made with VRAY. http://vimeo.com/1645673
                    Sunset Day - My upcoming VFX short: http://www.vimeo.com/2578420

                    Comment


                    • #11
                      Panthon - what do you do about the aliasing on the extracted channels?

                      rpf channel's don't appear to apply any antialiasing
                      F10Nick
                      http://www.f10studios.co.uk/

                      Comment


                      • #12
                        As Vlado has told me several times the object id and render id channel are integer and therefore can't be antialiased, what you see is a representation of these integer values.

                        Using these channels in combination with coverage in combustion seems to improve the results, but in fact , masks tend to be jagged, anyway.
                        This lead us to inexact object selections with severe artifacts when extreme corrections are applied.

                        I would like to see a workaround for this, like creating a random solid autoilluminated temporal material and assigning it to every object in the scene. This way you would benefit from the full antialiasing of vray and use this image to select the objects...Any other ideas would be appreciated
                        My Youtube VFX Channel - http://www.youtube.com/panthon
                        Sonata in motion - My first VFX short film made with VRAY. http://vimeo.com/1645673
                        Sunset Day - My upcoming VFX short: http://www.vimeo.com/2578420

                        Comment


                        • #13
                          I guess that's life then..

                          what do you mean by "Using these channels in combination with coverage in combustion?"

                          currently I am tyring to get around this by using scene states and the batch renderer...one state renders the base render with vray, other states render object channels using 100% self illuminated objects with a black light and with scanline. Does the trick, but would be simpler to use rpf channels.
                          F10Nick
                          http://www.f10studios.co.uk/

                          Comment


                          • #14
                            You can specify alpha colors. This is the way I use to do it in Maya.

                            The alpha chanel Does get antialaised. You are limited to values of grey of course, but it's relatively selectable.

                            In Maya what I did was give different materials different alpha values. Each material was a different value and when I opened the file, mind you the alpha chanel no longer works the way it's suppose to, in photoshop I can quickly make selections based on the value of the alpha.

                            It's not perfect, but it pretty much works. Just an idea. It should also be fairly simple for the guys at chaos to code. Some of the other ideas are more difficult I think. (but what do I know about programming?)

                            Comment


                            • #15
                              Originally posted by Nickh
                              I guess that's life then..

                              what do you mean by "Using these channels in combination with coverage in combustion?"
                              When you use the object id selection in combustion, it lets u tick the option "use coverage", which, in theory, should make your selections more accurate.The coverage channel is just another channel u can render in vray and include in the RPF.

                              Scene states, that´s an interesting idea. I will look into it.

                              Originally posted by andrewjohn81
                              In Maya what I did was give different materials different alpha values. Each material was a different value and when I opened the file, mind you the alpha chanel no longer works the way it's suppose to, in photoshop I can quickly make selections based on the value of the alpha.
                              I´m assuming you get perfect selections (not aliased) this way. Unfortunately i don't know a word of maya...Anyway, good for you if it's working!
                              My Youtube VFX Channel - http://www.youtube.com/panthon
                              Sonata in motion - My first VFX short film made with VRAY. http://vimeo.com/1645673
                              Sunset Day - My upcoming VFX short: http://www.vimeo.com/2578420

                              Comment

                              Working...
                              X