Announcement

Collapse
No announcement yet.

No performance gain with shade maps, buffer display of shademap not complete

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

  • No performance gain with shade maps, buffer display of shademap not complete

    Dear all,

    I currently render a stereoscopic version of a camera walk through. The irradiance maps and lightcaches are already calculated for the entire scene for the center camera in flythrough mode / multiframe incremental, since the monoscopic version of the movie was rendered in fall last year. Now the customer wants a stereoscopic version of the movie

    here is the workflow (nothing special):

    1. Switch vrayStereoscopicHelper to create shademaps, store them on a network drive where all render servers can access files, use base file name: shademap_.vrst. Adjust the irradiance map and lightcache to load from precalculated file. The stereoscopic helper has also the following settings:

    - eye distance about 30mm
    - specify focus on
    - shear, no rotation
    - shift both
    - view both
    - camera view is the center camera

    2. Render the scene with just the center camera, store also an rgb-image for comparison.

    3. Switch vrayStereoscopicHelper to use shademap, standard setting reuse threshold 1.0. Locate the same folder and use the base shademap filename, for example shademap_.vrst. Render now the stereoscopic view with left and right image (3840 x 1080).

    I don't see any performance gain as the rendertime for the stereoscopic view is twice as high as rendering the center view for the shademap, so generating and using the shademap takes even longer than just rendering the stereoscopic view without shademap.
    But I made a test before with the same irradiance map and lightcache, but in a very small rendering resolution (320 x 180 instead of Full HD), and there I had a huge performance gain. But this was not working with the full HD image.


    Is any of the following settings the issue?

    - a scene with a lot of displacement maps and reflections
    - Geometry is always referenced as xref-scenes
    -lightcache and irradiance map are used from stored files in both steps (creation and reuse of shademap).
    -Antialiasing is switched on for shademap creation, today I read in the forum that this is not recommended for the shademap generation?
    - When looking at the frame buffer, I just see some geometry (5% of the image) that is visible in the loaded shademap pass and looks like the rendered image, all other areas are black.
    - i use vray advanced 2.1
    - irradiance map and lightcache were calculated for 1280 x 720 pixels, now i use them for FullHD


    Would be great if anybody could help.

    Thanks

    Robert
    Robert

    Max, VRay, Fusion:

    https://www.youtube.com/watch?v=g5fSLrVzpxg
    https://www.youtube.com/watch?v=bpmJgTb_9Ro

  • #2
    - When looking at the frame buffer, I just see some geometry (5% of the image) that is visible in the loaded shademap pass and looks like the rendered image, all other areas are black.
    Can you show me?

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

    Comment


    • #3
      Hi Vlado,

      thanks for the quick reply . Yes, I can, but only tomorrow morning from the office. I will post it here.
      Robert

      Max, VRay, Fusion:

      https://www.youtube.com/watch?v=g5fSLrVzpxg
      https://www.youtube.com/watch?v=bpmJgTb_9Ro

      Comment


      • #4
        Dear Vlado,

        the shade map is not reproduceable. Right now I have a black shademap (in the frame buffer), so no performance gain. Is it possible that this approach is not working when I use stored lightcache and irradiance maps? When I generate lc and irrad new, then the shade map is reused. otherwise not, which is strange.
        Last edited by Robert1977; 15-02-2012, 02:58 AM.
        Robert

        Max, VRay, Fusion:

        https://www.youtube.com/watch?v=g5fSLrVzpxg
        https://www.youtube.com/watch?v=bpmJgTb_9Ro

        Comment


        • #5
          It should be working just fine; in that case it would be best if you can get me the scene to look at.

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

          Comment


          • #6
            Dear Vlado,

            it finally worked. Somehow it now takes the prerendered shademaps. Maybe because I also save the RGB-buffer as file in the vray frame buffer settings along with the "Render shademap" option in the vraystereoscopic-Helper. Then vray creates the rgb-file and suffixes it with .shademap. But then no file with the ending vrst is saved. But it works just fine. Also I found out that the shademap creation doesn't work in distributed mode, but this probably is not intended and doesn't make much sense on a renderfarm which has to render thousands of frames.
            Robert

            Max, VRay, Fusion:

            https://www.youtube.com/watch?v=g5fSLrVzpxg
            https://www.youtube.com/watch?v=bpmJgTb_9Ro

            Comment


            • #7
              Ok then I noticed we don't really print out any warnings if there are issues with the shade map files (e.g. if they are not found) - I have made a note to fix this.

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

              Comment

              Working...
              X