Announcement

Collapse
No announcement yet.

Flat Opacity for an entire object?

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

  • #31
    Suspected as much, thanks

    Comment


    • #32
      Any news on this?
      www.gaell.com

      Comment


      • #33
        Originally posted by gagui View Post
        Any news on this?

        http://mornestudio.com/render-3d-obj...aytoon-simple/
        Kind Regards,
        Morne

        Comment


        • #34
          Great work Morne.

          Comment


          • #35
            Thanks John, glad I could help somebody. Lots of neat little tips and tricks from people on here over the years
            Kind Regards,
            Morne

            Comment


            • #36
              Good tips !


              I would like to know how can I keep the flat shading WITHOUT the "step 4".
              Let me explain ... I would like to use that shading to render all my crowd in one pass, it's for a archviz animation.
              Some people are outside, some others are inside and if I unckeck "visible to refractions", all people behind glass windows are invisible.

              Any ideas how to do that ?

              Morne, you said :

              "Final Notes

              This method will work in most situations. However, there is a drawback and that is that your fake billboards won’t be seen through refractive objects such as a glass window or balustrade. In a later advanced version of this tutorial, I will show you how to overcome this."

              I would be very happy to see how to overcome this problem !!!


              Last edited by rikou; 08-02-2017, 08:12 PM.
              (Sorry for my bad english)

              Comment


              • #37
                Please, anyone else have a suggestion ?
                (Sorry for my bad english)

                Comment


                • #38
                  Hi Rikou

                  You need 2 passes.

                  1) Change your glass windows etc to not have any refraction or reflection
                  2) Then add 100% opacity map (pure black)
                  3) Select EVERYTHING except the glass and the people and change it to a matte object. In VRay 3.5 theres a new icon in the toolbar that lets you do this one shot - Shadow Catcher
                  4) Select all your glass windows, glass balustrades etc
                  5) In Render settings in Image sampler, select the Render Mask "Selected"

                  So basically you will only render the glass "windows". Which will be invisible, so you will render everything behind that. Since everything except people and glass is matte objects, what you get is ONLY the people behind the glass and also their shadows. Just comp this render over the original.

                  V-Ray 3.5 also now has a RenderElement for VRayToon, so you can change the color in post for example

                  You may be able to do it all in 1 pass, but havent had a chance to look "through" it yet (hehe)
                  Last edited by Morne; 09-02-2017, 04:00 AM.
                  Kind Regards,
                  Morne

                  Comment


                  • #39
                    Thanks for your quick answer Morné! I appreciate your help
                    I'm afraid I can not afford the "multi pass" renders, I do not have enough time for that.
                    It's why I was looking for a "one pass" solution.


                    Anyway, thanks a lot!
                    (Sorry for my bad english)

                    Comment


                    • #40
                      Originally posted by rikou View Post
                      Thanks for your quick answer Morné! I appreciate your help
                      I'm afraid I can not afford the "multi pass" renders, I do not have enough time for that.
                      It's why I was looking for a "one pass" solution.


                      Anyway, thanks a lot!
                      Just try it with 2 frames. The 2nd pass will render MUCH FASTER because in laymen's terms its only rendering the people. You can even switch off GI if you want and see if that speeds it up even more
                      Kind Regards,
                      Morne

                      Comment


                      • #41
                        Originally posted by Morne View Post
                        Just try it with 2 frames. The 2nd pass will render MUCH FASTER because in laymen's terms its only rendering the people. You can even switch off GI if you want and see if that speeds it up even more
                        Not sure to understand !

                        - 1st pass :
                        All my scene with people outside as normal.

                        - 2nd pass :
                        1) Change your glass windows etc to not have any refraction or reflection
                        2) Then add 100% opacity map (pure black)
                        3) Select EVERYTHING except the glass and the people and change it to a matte object. In VRay 3.5 theres a new icon in the toolbar that lets you do this one shot - Shadow Catcher
                        4) Select all your glass windows, glass balustrades etc
                        5) In Render settings in Image sampler, select the Render Mask "Selected

                        Why do you have to do 1) and 2) ?
                        Is it nothing else but "invisible to camera" ?

                        I'll give a try...
                        (Sorry for my bad english)

                        Comment


                        • #42
                          I've found a way using VRayToon:

                          Assign a VRayMaterial to the object, with its Refraction set to white (fully transparent), IOR set to 1.0 (no refraction) and Affect Channels set to "Color+alpha".

                          Add a VRayToon environment effect, including only the desired objects. Set Normal Threshold to 1.0 and adjust Color and Opacity to your liking.

                          A drawback is that the effect doesn't add up when two of these objects are overlapping each other... only one "layer" of the effect will show up. Also line width needs to be big enough, or it will cause noise. But it looks like with a width of 1 pixel you're always good. You could of course add another, regular toon effect with the "Hide inner edges" option activated to give them an outline, which might be enough to visually separate overlapping objects.

                          It's also probably a good idea to exclude these objects from lights and GI.
                          Last edited by Laserschwert; 09-02-2017, 09:34 AM.

                          Comment

                          Working...
                          X