Announcement

Collapse
No announcement yet.

Walkthrough with Saved IR Map : calculated at rendertime anyway ?

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

  • Walkthrough with Saved IR Map : calculated at rendertime anyway ?

    Hi,
    I'm still not very familiar with animation with vray and have a question.
    I'm currently working on a walkthrough. I am rendering the lightwache then the irradiance map files just as explained in the tutorial.
    Then when I launch the final render, vray calculates a "prepass 1 of 1" for each and every frame before rendering it. Why is it doing that while I'm stating to use the Irr map from file ? Is it normal ?

    mekene

  • #2
    any interpolated material in the scene?
    Nuno de Castro

    www.ene-digital.com
    nuno@ene-digital.com
    00351 917593145

    Comment


    • #3
      Originally posted by ene.xis View Post
      any interpolated material in the scene?
      You mean with "use interpolation" option checked ?
      I'll check but I never use that usually

      mekene

      Comment


      • #4
        I don't seem to have any materials with interpolation ON.
        Are there any other parameters that could force the IR Map to re-render ? For eg. I have a bunch of VrayLight materials in the scene.

        mekene

        Comment


        • #5
          There is a script from Sevens Heaven that will turn them all off automatically. (interpolated's) just in case you missed one...
          If you have the Imap setup to "use File" no prepass should be happening....
          Two heads are better than one ...
          ....but some head is better than none.....

          Comment


          • #6
            I looked on sevenheaven.nl and scriptspot but couldn't find that script

            mekene

            Comment


            • #7
              Check this thread:
              http://www.chaosgroup.com/forums/vbu...aterial+script

              To confirm that the problem is related to a material you can try to render with override material as well.

              Cheers

              Comment


              • #8
                other then that it would be easier to post some settings otherwise its a bit of blind guess to try to figure it out
                Nuno de Castro

                www.ene-digital.com
                nuno@ene-digital.com
                00351 917593145

                Comment


                • #9
                  Ok tried that script but didn't work.
                  Apart from a lot of cars scattered everywhere all of the scene elements were created by me and I'm sure they don't use any interpolation.
                  So i simply turned off the layer containing the cars... and indeed it worked !
                  So now the question is why was the script inefficient on these cars materials ? Is it because they are vrayproxies ?

                  mekene

                  Comment


                  • #10
                    Maybe the script does not traverse multi-subobject mats? Or blends or something?
                    Eric Boer
                    Dev

                    Comment


                    • #11
                      You can try this other script too:
                      Code:
                      m = getclassinstances VRayMtl
                      for i in m do i.reflection_useInterpolation = false
                      If still fails with the cars check the error that appears on the Maxscript listener.

                      Comment


                      • #12
                        are you turning off for all for both reflections and refractions?
                        if it's just a few cars you could go in manually i guess...the script works for us almost all the time, but multi-subs can defeat some scripts for sure...
                        Two heads are better than one ...
                        ....but some head is better than none.....

                        Comment

                        Working...
                        X