Announcement

Collapse
No announcement yet.

PhoenixFD + Vray issues

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

  • PhoenixFD + Vray issues

    VrayNext + Phoenix:

    1. When rendering Phoenix in volumetric mode, a frame takes about 3 minutes, see attached screenshots. But it doesn't work with Vray atmospheric fog, doesn't produce zdepth or other useful channels to tweak it's color to fit the foggy environment in post production.
    2. When turning volumetric geometry on and setting relatively low (150) transparency levels in vray, the same frame takes more than an hour on i9 7940x and 128gb ram. Actually it seems it takes day per frame, so I couldn't wait till over of rendering.

    This way I am in serious trouble, because there is no way to extract zdepth or anything from volumetric render mode (zdepth is just plain white on phoenix objects). I can't afford for rendertimes skyrocket tenfold because of switching into volumetric geo mode only to have proper fog occlusion, or zdepth required to create fog in post.
    Can we expect for better integration of vray with phoenix? Or at least some phoenix render elements as PhoenixZdepth/PhoenixSmoke etc (as in fumefx)?
    Is there any workaround to resolve this problem? Right now I am in a very unpleasant situation - hoping for devs to implement something or "hotfix" to be able to continue work isn't the realistic idea. Switching to other plugin or renderer - not possible at this stage of film development. What solution do you propose, guys?

    (I also wrote to vray support with the same issue)

  • #2
    Hey,

    Let's start with all your Phoenix and V-Ray rendering settings. Before talking about improving integration, let's make sure your settings are optimal.

    Thank you!
    Svetlin Nikolov, Ex Phoenix team lead

    Comment


    • #3
      Apart from the Rendering rollout and all Volumetric Options, since you are rendering with Progressive, it's very important to know if you are using Phoenix's 'Use Probabilistic Shading' in the Phoenix atmosphere settings, and how many subdivs you use there.
      Svetlin Nikolov, Ex Phoenix team lead

      Comment


      • #4
        Of course I use Probalistic shading with extremelly low settings in order to speed up things: Samples: 2, GI Samples 4. It helps with volumetric render times (3 mins) but not with volumetric geometry render times (above hour or more)

        Comment


        • #5
          Convert to vdb and render with fume, if the speed is THAT important... Btw, what happens if you lo render steps?
          I just can't seem to trust myself
          So what chance does that leave, for anyone else?
          ---------------------------------------------------------
          CG Artist

          Comment


          • #6
            For some caches turning off Phoenix's Light cache option speeds things up. Note that when using V-Ray progressive rendering, if the Phoenix Light cache is on it might slow down rendering startup or the overall render speed.
            Georgi Zhekov
            Phoenix Product Manager
            Chaos

            Comment


            • #7
              1. In order to speed up "investigation" I attach all crucial settings on a single screen. One is with volumetric geo on, and the other is with volumetric only. The rest remains unchanged. Notice how low quality progressive render settings are. Less than preview quality... I didn't wait for the final render time (est: 6hour per frame). I9-7940x is one of the fastest single cpu on the market and easily gets a production quality HD frames below 3mins... except volumetric geo mode.

              2.
              Originally posted by Paul Oblomov View Post
              Convert to vdb and render with fume, if the speed is THAT important... Btw, what happens if you lo render steps?
              Shadow and light steps in Phoenix: When I set steps from default 90% to 400%, which is very low value causing flicker and shadow artifacts, there is very little speedup, but for production non-flickering results 90% is required.

              I just tried to see what fumefx has to offer in this situation, but Vray aerial perspective + FumeFX doesn't work, the same way as Volumetric mode in Phoenix. Also, there is no way to extract only smoke pass from Fume for some unknown reasons. There is zdepth available only for Fume (FusionWorksZdepth element) but without solo smoke element w/ alpha it is useless in postprod.

              3. Overally, it seems a lot of trouble starts when trying to do fogs + volumetrics at the same time, both in Phoenix and Fume. It is hard to believe that "volumetric geometry" mode, even on low settings, increases render times about x100. I have acess to the same quality in 3 minutes, but lack of zdepth or aerial fog is blocking this way. Perhaps adding a zdepth for volumetric Phoenix mode would be a good idea (as well as true smoke/fire channel extraction).
              Still confused. Perhaps I can wetransfer you a simplified scene with single aur frames to test it yourselves?

              Comment


              • #8
                There is something specific to that setup that causes such a huge difference in render times. If you create a large smoke preset in a new scene, you will see that the difference is less than two times slower in volumetric geometry. We gotta deconstruct the scene and find what is causing the slowdown.

                Start turning off important options in order to isolate what causes the slowdown. At first, please compare rendering only the smoke without any other geometry in the scene and without the aerial perspective, but with the same lighting. Is the huge difference still there? After that, you could also try disabling all lights and adding just a sun; leaving the entire scene as it is and disabling only the aerial perspective; disabling all lights and using just a sun with all the geometry and the aerial perspective. And finally, reset the V-Ray settings to default and comparing volumetric vs vol. geom.

                This would be the process of pinning down exactly which component causes the issue, because it's not there in a simple scene.
                Svetlin Nikolov, Ex Phoenix team lead

                Comment


                • #9
                  Have no problems at all...
                  Attached Files
                  I just can't seem to trust myself
                  So what chance does that leave, for anyone else?
                  ---------------------------------------------------------
                  CG Artist

                  Comment


                  • #10
                    It might be possible to work around the issue, or it might need a change in the code, but first we have to narrow down on the factors that cause it so we'd know where to look at. If you can route the scene through Support to us, we'd be able to profile it and see what is taking so long, or if you can try to simplify it yourself, it would help us reproduce the slowdown here as well.
                    Svetlin Nikolov, Ex Phoenix team lead

                    Comment


                    • #11
                      Okay, I will try to pin down the issue and send you the lightest scene possible that still causes the problem. The cache files are around 400mb in total per frame (4 grids with the same settings each)
                      Best,

                      Comment


                      • #12
                        After 4 hours of testing I was able to narrow down the problem to shadows type and opacity of the smoke in volumetric geometry mode. Also, two grids rendered at once in volumetric geometry mode makes render time skyrocket out of proportion. But lets start from scratch, render times visible at the vray frame buffer's lower bar:

                        1. 1st render is without phoenix at all. Very good quality as for full hd 1 minute render time, 25 millions polygons, Forest Pack, Railclone, xmesh caches and stuff...

                        2. Turning on Phoenix with volumetric mode, with Aerial perspective on. No fading of smoke over distance and no zdepth extraction possible. Of coures slower, its expected, goes up from 1 minute to 5 minutes due to volumetrics involved.

                        Click image for larger version

Name:	phx volumetric mode aerial perspective on.JPG
Views:	1075
Size:	982.1 KB
ID:	1018981

                        3. Aerial perspective off with the same settings. Almost the same, 5 mins.

                        4. Deleting all objects from scene except phoenix grids and turning off GI. Now, instead of 5 mins we have 2 mins. With 25mil polys off and GI turned off it is normal speedup:

                        Click image for larger version

Name:	phx volumetric mode aerial perspective off GI off bkg off sun only.JPG
Views:	1053
Size:	630.3 KB
ID:	1018982

                        5. Now turning on Volumetric Geometry mode with exactly the same settings as above. Render time goes unnaturally apeshit, up to infinity (waited 30 mins and stopped it).

                        Click image for larger version

Name:	phx clean scene volumetric geometry on.JPG
Views:	1077
Size:	588.6 KB
ID:	1018983

                        6. Turning off the sun at all. Big improvement - about 1 minute only, but no visible smoke.


                        6.5 Rendering every grid solo gives you normal render times (~2 mins each grid). Only after unhiding more than one grid, the render times go back to hour or more.

                        Click image for larger version

Name:	phx clean scene volumetric geometry on 4th geosmoke only.JPG
Views:	1054
Size:	645.8 KB
ID:	1018985


                        7. Deleting sun and inserting new Direct light with VrayShadowMap. Render and smoke is ugly, but mutliple grids' time gets back to reality - 1 minute.


                        8. Conclusion: After more testing - increasing opacity cutoff threshold in vray settings to 0.2 (unrealistic and flicking smoke) decreases render time into 2-3 minutes range. As same as lowering opacity levels to crude 1 (!) in vray, but the look is full of artifacts then, useless.

                        Changing opacity curve for smoke to less transparent seems to help, slightly. Vray sun or Vray Shadows (except ShadowMap) existence doesn't allow for fast render times at all, it has something to do with raytraced shadows and low opacity voxels. The scene geometry is not important in here, vray aerial perspective is not important either. Of course with two grids in scene already long rendertimes stretch even more, up to 6 hours... In this simple, empty scene with quite standard grids. Rendering any of the grids as solo (isolated) gives about 1min rendertime per grid, which is normal. But try to unhide 2 grids on-screen (overlaping or not) and time goes to 6 hours or more.

                        Any ideas? I can't go forward or backward here, one day wasted right now and deadlines looming...




                        Attached Files

                        Comment


                        • #13
                          Thank you for the very detailed report! Does the VFB say estimated 0:00 at step 5 throughout the render? Does the progress bar not start moving at all?
                          Svetlin Nikolov, Ex Phoenix team lead

                          Comment


                          • #14
                            Just upload empty scene. Will link my own caches.
                            I just can't seem to trust myself
                            So what chance does that leave, for anyone else?
                            ---------------------------------------------------------
                            CG Artist

                            Comment


                            • #15
                              Originally posted by Svetlin.Nikolov View Post
                              Thank you for the very detailed report! Does the VFB say estimated 0:00 at step 5 throughout the render? Does the progress bar not start moving at all?
                              Yes it doesn't move at all. Sometimes it "catches" after one hour or so, but it goes one step more and another hour of work. But in general, if it doesn't start after 15 minutes I cancel render...

                              Comment

                              Working...
                              X