Announcement

Collapse
No announcement yet.

Bug: VRLightMtl w/direct lighting enabled hangs XrefScene

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

  • Bug: VRLightMtl w/direct lighting enabled hangs XrefScene

    VRayLight Materials that have the "direct lighting" checkbox enabled cause problems when XRefScene'd into a master file.

    To demonstrate:
    - Create a sphere w/VRLightMtl and enable "direct lighting" checkbox.Save file.
    - Reset max / new file. Jewel / Refereinces / XRefScene / Add then select your previously saved file.
    - Render and it'll hang on "transforming vertices".

    Just updated to the latest VRay for 3ds Max 2012 (2.20.03) last week...
    Christopher Grant
    Director of Visualization, HMC Architects
    Portfolio, ChristopherGrant.com

  • #2
    Seems i'm having this exact same problem.

    Comment


    • #3
      i can confirm this, we are still on 1.5 tho, i was pulling out my hair before i found out this bug

      Comment


      • #4
        THANK YOU for highlighting this bug, we have been having the same issue on 1.5 too... And like mcnamex, my hair has firmly been pulled out for weeks now

        Michael
        Cheers, Michael.

        Comment


        • #5
          Originally posted by mcnamex View Post
          i can confirm this, we are still on 1.5 tho, i was pulling out my hair before i found out this bug
          Quoted for agreement, thanks for posting this, helped a ton. Hope this gets fixed soon.

          Comment


          • #6
            here's a workaround if you don't need the direct light enabled in your scene and can function with them turned off. run the script to kill the direct light in all your vraylightmtls will at least get you rendering till a fix comes out.


            for o in geometry do
            (
            if classof o.material == VRayLightMtl do
            (
            o.material.directlight_on = off
            )

            if classof o.material == Multimaterial then
            for m = 1 to o.material.numsubs do
            (
            if classof o.material[m] == VRayLightMtl do
            (
            o.material[m].directlight_on = off
            )
            )
            )

            Comment


            • #7
              Easier than that...

              for o in getclassinstances VrayLightMtl do o.directlight_on = off


              Thanks for bringing this to our attention, we often use XRefScene so we've probably come across this bug too.
              Happens on 3dsmax 2011 with Vray 2.2 too.
              Last edited by Dave_Wortley; 22-08-2012, 02:48 AM.
              Maxscript made easy....
              davewortley.wordpress.com
              Follow me here:
              facebook.com/MaxMadeEasy

              If you don't MaxScript, then have a look at my blog and learn how easy and powerful it can be.

              Comment

              Working...
              X