Announcement

Collapse
No announcement yet.

Rounded edges in GPU RT.

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

  • Rounded edges in GPU RT.

    Just putting this here as a formal request to have the rounded edges in GPU RT.

    I work with CAD files a fair amount, and would love to use GPU RT for most things as my scenes and materials are fairly straight forward, but having rounded edges is essential.

    Thanks for all the work in GPU RT BTW- nice to have this option along side the CPU version of Vray!

  • #2
    Originally posted by GidPDX View Post
    Just putting this here as a formal request to have the rounded edges in GPU RT.

    I work with CAD files a fair amount, and would love to use GPU RT for most things as my scenes and materials are fairly straight forward, but having rounded edges is essential.

    Thanks for all the work in GPU RT BTW- nice to have this option along side the CPU version of Vray!
    Hey GidPDX,

    Thank you for the post. I hope that attached file can help you. BTW, the geometry is a normal mesh.
    BR Boyan
    EDIT : Yep, it is a build # 27026 - 20161101. https://nightlies.chaosgroup.com/#/k...tlies/20161101
    Click image for larger version

Name:	2016-11-01_1210.jpg
Views:	1
Size:	466.3 KB
ID:	864082
    Last edited by boyan; 01-11-2016, 05:07 AM.
    Boyan Nalchadjiiski | QA Engineer @ Chaos |
    E-mail: boyan.nalchadjiiski@chaos.com

    Comment


    • #3
      Yes, I've merged the fixes for rounded edges that the GPU guys did for V-Ray for Maya.
      This means the rounded edges will work in RT GPU in today's nightly build ( 2016.11.01 ).
      You can use them from a MODO material as well, not only from the V-Ray Mtl Common tab like in Boyan's screen-shot.

      Greetings,
      Vladimir Nedev
      Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

      Comment


      • #4
        I just tried the latest build with the rounded edges in GPU mode. It works nicely.

        However, I noticed some strange behaviour. When edge rounding is enabled in GPU mode I get severe UI lag with the mouse occasionally freezing very briefly and viewport navigation slowing down considerably when V-Ray GPU is running. Turn edge rounding off and the UI responsiveness is back to normal levels while V-Ray GPU is running. This is just testing with a simple 1 meter cube with some basic bevels on it. (8-12 mm edge rounding in V-Ray Mtl Common tab). So there might be a bug in the implementation.

        I'm using a GTX 980.

        Comment


        • #5
          Originally posted by neverko View Post
          I just tried the latest build with the rounded edges in GPU mode. It works nicely.

          However, I noticed some strange behaviour. When edge rounding is enabled in GPU mode I get severe UI lag with the mouse occasionally freezing very briefly and viewport navigation slowing down considerably when V-Ray GPU is running. Turn edge rounding off and the UI responsiveness is back to normal levels while V-Ray GPU is running. This is just testing with a simple 1 meter cube with some basic bevels on it. (8-12 mm edge rounding in V-Ray Mtl Common tab). So there might be a bug in the implementation.

          I'm using a GTX 980.
          It's doubtful that the rounded edges are causing the UI lag.
          Is this GPU driving your monitor ?
          Can you try lowering the rays per pixel and bundle size for the GPU?

          Click image for larger version

Name:	gpu_bundle_size.PNG
Views:	2
Size:	82.0 KB
ID:	864083

          We have a low priority option for display GPUs in the 3.5 branch. Maybe that will help in the future in such cases.

          Greetings,
          Vladimir Nedev
          Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

          Comment


          • #6
            Originally posted by vladimir.nedev View Post
            It's doubtful that the rounded edges are causing the UI lag.
            Is this GPU driving your monitor ?
            Can you try lowering the rays per pixel and bundle size for the GPU?

            [ATTACH=CONFIG]33908[/ATTACH]

            We have a low priority option for display GPUs in the 3.5 branch. Maybe that will help in the future in such cases.

            Greetings,
            Vladimir Nedev
            Yes, the GPU is the only one in my system.

            Lowering the ray related settings from the default helps a fair bit on the lag, but it's still there when I use the rounded edges in GPU mode - and only then. Usually the UI and camera navigation is fine when V-Ray GPU is running. I've only noticed this lag with the new rounded edge feature (GPU) from the latest build.

            Comment


            • #7
              Originally posted by neverko View Post
              Yes, the GPU is the only one in my system.

              Lowering the ray related settings from the default helps a fair bit on the lag, but it's still there when I use the rounded edges in GPU mode - and only then. Usually the UI and camera navigation is fine when V-Ray GPU is running. I've only noticed this lag with the new rounded edge feature (GPU) from the latest build.
              Can you send me the scene or attach it here ?

              Greetings,
              Vladimir Nedev
              Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

              Comment


              • #8
                Extremely simple scene.

                UI and viewport camera navigation is sluggish while GPU rendering, only with the edge rounding enabled.
                Attached Files

                Comment


                • #9
                  Awesome! I'll download and give it a try.

                  Comment


                  • #10
                    Hey All,

                    Thank you for the feedback. Can I mention a deferent approach? In order to use RT GPU as preview render increase a "Max.paths per pixel" value to 1. When you use GPU as a final render use default value "0". I am not sure if it GL issue of MODO. As attached file simply prepare a scene file for both scenarios. Hope it will be workable for you.
                    BR Boyan
                    Click image for larger version

Name:	2016-11-02_1221.png
Views:	1
Size:	488.0 KB
ID:	864099
                    Attached Files
                    Boyan Nalchadjiiski | QA Engineer @ Chaos |
                    E-mail: boyan.nalchadjiiski@chaos.com

                    Comment


                    • #11
                      I don't have general problems with UI/viewport interactivity when using V-Ray GPU on my single GTX 980.

                      As described earlier I only get a noticeably sluggish experience with the new rounded edge GPU implementation. It's isolated to this one feature.

                      Comment


                      • #12
                        Originally posted by neverko View Post
                        I don't have general problems with UI/viewport interactivity when using V-Ray GPU on my single GTX 980.

                        As described earlier I only get a noticeably sluggish experience with the new rounded edge GPU implementation. It's isolated to this one feature.
                        Do you have "consider same object only" turned on ?

                        Best,
                        Blago.
                        V-Ray fan.
                        Looking busy around GPUs ...
                        RTX ON

                        Comment


                        • #13
                          Originally posted by savage309 View Post
                          Do you have "consider same object only" turned on ?

                          Best,
                          Blago.
                          It doesn't seem to matter. The same goes for "raytraced" being enabled or not.

                          I made a new test object which is just another cube with some different bevels. It doesn't seem to exhibit the same issue. Weird.
                          I'll try with some imported SolidWorks CAD data for a real production scenario and see how that goes.

                          Edit: Tried some CAD data imported from SolidWorks. Worked well on GPU with rounded edges, pretty dense geometry to boot. That cube thingy I attached here must have some left over Halloween haunting in it .
                          Last edited by neverko; 02-11-2016, 01:09 PM.

                          Comment


                          • #14
                            Originally posted by neverko View Post
                            It doesn't seem to matter. The same goes for "raytraced" being enabled or not.

                            I made a new test object which is just another cube with some different bevels. It doesn't seem to exhibit the same issue. Weird.
                            I'll try with some imported SolidWorks CAD data for a real production scenario and see how that goes.

                            Edit: Tried some CAD data imported from SolidWorks. Worked well on GPU with rounded edges, pretty dense geometry to boot. That cube thingy I attached here must have some left over Halloween haunting in it .
                            Okay, glad to hear it works now.
                            We have implemented more efficient sampling of the rounded edges texture when "consider same object" recently, so on some point it will get better as well.

                            Best,
                            Blago.
                            V-Ray fan.
                            Looking busy around GPUs ...
                            RTX ON

                            Comment

                            Working...
                            X