Announcement

Collapse
No announcement yet.

A couple of questions (V-Ray for Maya RT)

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

  • A couple of questions (V-Ray for Maya RT)

    Hi,

    I'm fairly new to V-Ray for Maya. I have always been using CPU renderes but as of now I want to move to a GPU solution since the work I'll be doing won't require all the fancy features of the CPU V-Ray.

    I'm currently using the beta version for Maya 3.0 (3.05.04). I would like to know which parameters from all the V-Ray related tabs inside of Maya have an influence on RT GPU (besides of course the RT tab)? If this isn't a question with a quick response I would then as well appreciate a reference to any educational resources about RT. Furthermore I still do not know how to render an image sequence (animation) with RT.

    Thanks in advance

    Martin

  • #2
    Hi Martin,

    We are glad to hear that you want to move and test our RT GPU render engine. There are few important thing to know about this.
    First make sure that your graphic card has enough memory to handle the current project. Also make a test render in order to be sure that all features and additional plugins that you are using are supported and the final result duplicates the one from the CPU.
    We have a list with features and option supported by the RT GPU here:
    http://docs.chaosgroup.com/display/V...orted+Features

    I still do not know how to render an image sequence (animation) with RT.
    There is an option "Render animation with V-Ray RT" under the Maya Render menu.

    If you have any questions or problems do not hesitate to contact us via our support mail.
    Tashko Zashev | chaos.com
    Chaos Support Representative | contact us

    Comment


    • #3
      Originally posted by tashko.zashev View Post
      Hi Martin,

      We are glad to hear that you want to move and test our RT GPU render engine. There are few important thing to know about this.
      First make sure that your graphic card has enough memory to handle the current project. Also make a test render in order to be sure that all features and additional plugins that you are using are supported and the final result duplicates the one from the CPU.
      We have a list with features and option supported by the RT GPU here:
      http://docs.chaosgroup.com/display/V...orted+Features


      There is an option "Render animation with V-Ray RT" under the Maya Render menu.

      If you have any questions or problems do not hesitate to contact us via our support mail.
      Hi,

      thanks for replying! I only knew about this list in the V-Ray for 3ds Max section. Great that there is one for Maya as well now! I went through it and as it seems RT GPU has all the features that I need. I already have a few test scenes where the result is more than satisfying. The last bits that I still to find out is how to control the quality while rendering with GPU, for example, if I set the Max. noise under the Adaptive Sampling rollout (RT panel) to something like 0.003, most of the passes (reflect, GI, specular) they all finish more or less noise free. Lighting however is then still quite noisy. So my question would be, how do I only raise the lighting pass quality without having to lower the global Max. noise which would result in longer render times since all passes will render longer. On the CPU it would be simply by increasing the light source's samples but what do I change while in RT?

      Thank you!

      Martin

      Comment


      • #4
        If you can share some images (or scene) it would be easier to tell what is going on (also we may run a profiler to know better) ... Lighting/GI/Reflection/Refraction/Specular render elements usually are enough.

        RT GPU will ignore the light samples param. Currently it will use the russian roulette technique for calculating lighting and this may cause a bit more noise in the lighting for some scenes, especially if you have a lot of lights. We plan to have option to turn off the russian roulette for lights in future.

        At the moment we have such option, but it is for the materials. Basically it makes the GI a bit worse, but the glossy parts a lot cleaner. But this is not your case .. (it is a bit experimental option so it can be turned on with environment variable only - "VRAY_RT_GPU_RECURSIVE_BLEND=1". It is not official feature, so use at your own risk . If you decide to test, you can always turn it off by setting "VRAY_RT_GPU_RECURSIVE_BLEND=0". You have to restart Maya/V-Ray in order the changes to appear).
        V-Ray fan.
        Looking busy around GPUs ...
        RTX ON

        Comment


        • #5
          Originally posted by savage309 View Post
          RT GPU will ignore the light samples param. Currently it will use the russian roulette technique for calculating lighting and this may cause a bit more noise in the lighting for some scenes, especially if you have a lot of lights.
          Make that "a lot more noise" with many light sources We definitely need to work on that.

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

          Comment


          • #6
            Here is one of my test scenes and this time the reflect/specular channels are far noisier. Is there anything one can do except letting it render longer? Rendered with GTX 780 6GB, render time: 49min59sec.

            Click image for larger version

Name:	GI.GI.png
Views:	1
Size:	400.6 KB
ID:	854121
            Click image for larger version

Name:	lighting.lighting.png
Views:	1
Size:	413.8 KB
ID:	854122
            Click image for larger version

Name:	reflect.reflect.png
Views:	1
Size:	337.2 KB
ID:	854123
            Click image for larger version

Name:	RGB.jpg
Views:	1
Size:	164.5 KB
ID:	854124
            Click image for larger version

Name:	specular.specular.png
Views:	1
Size:	27.7 KB
ID:	854125

            Comment


            • #7
              Close Maya, set environment variable VRAY_RT_GPU_RECURSIVE_BLEND=1, start Maya again and see if it is any better.
              (if you have done this correctly, in the vray.exe command line log there should be line "Using brute force for blend mtl" and the reflection pass should become a lot clearer much faster)
              As I said before, keep in mind that this is a bit "experimental" and "not official" feature
              Last edited by savage309; 10-09-2014, 01:42 AM.
              V-Ray fan.
              Looking busy around GPUs ...
              RTX ON

              Comment


              • #8
                I tried RECURSIVE_BLEND=1 and it helps a lot! The reflect pass was smoother after 10min of rendering than a 2h render with RECURSIVE_BLEND=0. And the best thing is that I didn't notice any increase in noise in the GI pass. Thank you very much! This feature should definitely become official .

                I have two more questions:
                -When I set the Max. noise value to something diffrent than 0.000 I notice that once the areas that meet the treshhold value have been rendered out, the GPU load drops even to a point where the GPU is only utilized to 1-2%. I guess this would mean that this option is not adaptive? Is there a way to make RT stay at 100% and take over diffrent areas when others have met the treshhold?
                -Which GI engines are supported by RT GPU? If more than one (brute force) which one would be most suitable for animations?

                Thanks

                Martin
                Last edited by _martin; 10-09-2014, 04:54 AM.

                Comment


                • #9
                  Very glad to hear it helped.

                  Probably we should consider making this an option (its not like we have too few options already, but seems like this could save the day). Will be a bit tricky to explain how/when to use it (usually it makes the feedback worse - images come slower, but are with much higher quality; the GI usually gets a bit worse; it might have some more params to be tweaked with some GPUs/scenes, etc.).

                  For your questions :
                  1. For the moment no - if there are small number of noisy pixels left, the GPU usage will go down, there is nothing you can do. In the future we can probably think of something for that, too.
                  2. For primary engine, only Brute Force is supported (if something else is selected, RT GPU will ignore it and use Brute Force instead). For the Seconday Engine, Brute Force and Light Cache are supported. So you can choose BF/BF or BF/LC (BF/BF is flicker free; for the LC and animations you can check that http://docs.chaosgroup.com/display/VRAY3/Light+Cache; Pretty much what goes for the CPU production render goes the same for the GPU version).
                  Last edited by savage309; 10-09-2014, 06:14 AM.
                  V-Ray fan.
                  Looking busy around GPUs ...
                  RTX ON

                  Comment


                  • #10
                    Originally posted by _martin View Post
                    This feature should definitely become official .
                    Ideally this will be the case, yes. Though probably for CUDA only.

                    -When I set the Max. noise value to something diffrent than 0.000 I notice that once the areas that meet the treshhold value have been rendered out, the GPU load drops even to a point where the GPU is only utilized to 1-2%. I guess this would mean that this option is not adaptive? Is there a way to make RT stay at 100% and take over diffrent areas when others have met the treshhold?
                    This is exactly what happens, however when there are only a few pixels left, V-Ray spends more time updating the frame buffer and recalculating the AA mask than doing actual rendering. This will be a bit better for future builds.

                    -Which GI engines are supported by RT GPU? If more than one (brute force) which one would be most suitable for animations?
                    For the moment, only brute force GI, and the light cache. Which would be more suitable for animations, depends. F.e. if you are doing fly-throughs, then the light cache for secondary GI may help a lot as you can compute it just once for the entire animation, like I did in this example:

                    https://www.youtube.com/watch?v=U-t2d4M98Bc

                    The light cache could also work well for animations with moving objects, though you might need to fiddle a bit with settings to minimize any flickering. If you have mostly open scenes without a lot of light bounces, then brute force will be fine.

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

                    Comment


                    • #11
                      Thanks! Seems most of the times I will be using BF/BF. Are material settings considered in any way? F.e. Max depth?

                      What about the image sampler? Is this ignored as well (since RT is a progressive path tracer)?

                      Comment


                      • #12
                        Image sampler is ignored (always "progressive"), but the max depth param of the materials will work (subdivs however are ignored).
                        V-Ray fan.
                        Looking busy around GPUs ...
                        RTX ON

                        Comment


                        • #13
                          All right, thanks! It does all make a lot more sense to me now. Do you maybe know why the statistics are not shown in the VFB? I have Show statistics checked.

                          Comment


                          • #14
                            Originally posted by _martin View Post
                            All right, thanks! It does all make a lot more sense to me now. Do you maybe know why the statistics are not shown in the VFB? I have Show statistics checked.
                            They will be implemented very soon - we are working on it.

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

                            Comment


                            • #15
                              Hi there,

                              I just wanted to ask whether the "VRAY_RT_GPU_RECURSIVE_BLEND=1" option is still available now that we have the official release of V-Ray for Maya 3.0? I doesn't seem to work anymore. Neither does it show up in the vray.exe console anymore nor is there any speed increase over light cache in seconday bounces.

                              Cheers

                              Comment

                              Working...
                              X