Announcement

Collapse
No announcement yet.

Prepass with BF?

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

  • #16
    Originally posted by Morne View Post
    I just get
    "OK"
    in the listener
    Ok, in that case there aren't any materials using interpolation in your scene.
    Originally posted by Morne View Post
    and the maxscript window just changes the code into pretty colours
    You can execute single lines of code in the listener but for multiple lines you need to use the maxscript window.
    Dan Brew

    Comment


    • #17
      Would it be possible to send the scene for investigation ?
      Svetlozar Draganov | Senior Manager 3D Support | contact us
      Chaos & Enscape & Cylindo are now one!

      Comment


      • #18
        Originally posted by svetlozar_draganov View Post
        Would it be possible to send the scene for investigation ?
        no sorry this is one of "those" projects which is hush hush for now
        Kind Regards,
        Morne

        Comment


        • #19
          Originally posted by DanielBrew View Post
          I use this for find all materials using interpolation. It also prints the names of guilty materials and the objects to which it is applied in the listener.
          Code:
          (
              clearListener()
              
              for m in getClassInstances vrayMtl processAllAmins:true do
              (
                  if m.reflection_useInterpolation == true do
                  (
                      format "Material:% Applied to:%\n" m.name (refs.dependentNodes m)
                      m.reflection_useInterpolation = false
                  )
                  if m.refraction_useInterpolation == true do
                  (
                      format "Material:% Applied to:%\n" m.name (refs.dependentNodes m)
                      m.refraction_useInterpolation = false
                  )
              )
          )
          Dan, thanks this is soooo helpful!

          Comment


          • #20
            Originally posted by voltron7 View Post
            Dan, thanks this is soooo helpful!
            You're welcome. VMC will turn all interpolation off but sometimes it's useful for know which materials/objects were using them to stop it happening again.
            Dan Brew

            Comment


            • #21
              V-Ray prints all such materials in the V-Ray log file too.

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

              Comment

              Working...
              X