Announcement

Collapse
No announcement yet.

Randomized Temp. for Vray lights

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

  • Randomized Temp. for Vray lights

    Hi.
    Just wondering if there is a "simple" way to assign some map to the colour\temp of a vray light (plane in this case) where you can randomly vary colour and intensity. In my case I'd want slight variations of a warm indoor lighting.
    Can the vraymultisubtex work here? What randomization option needs to be used?
    Signing out,
    Christian

  • #2
    Could be done with some clever scripting. I've resorted in the past to using a random selection script to grab chunks of lights, make them unique and change their temp, then repeat for other chunks across the set. But I'm sure there's a dynamic way to control this with maps somehow. Would love to hear people's suggestions.
    Alex York
    Founder of Atelier York - Bespoke Architectural Visualisation
    www.atelieryork.co.uk

    Comment


    • #3
      You could try a vray multisubTex map and set the random to "random by node handle"

      failing that try something like this. Select the lights and then...

      Code:
      for light in selection do light.color_temperature = random (minTemp, maxTemp)
      Patrick Macdonald
      Lighting TD : http://reformstudios.com Developer of "Mission Control", the spreadsheet editor for 3ds Max http://reformstudios.com/mission-control-for-3ds-max/



      Comment


      • #4
        Thanks.
        I will try both. I hope the "map" way works as it is a bit more dynamic.
        Signing out,
        Christian

        Comment


        • #5
          Well it seems using a map on instanced lights is a complete no-go. Tried all the modes in the map, but no effect.
          Ended up using the scripted method.
          Might add this to the wishlist later
          Signing out,
          Christian

          Comment


          • #6
            Hi trixian, hoping this script will help you.

            download link: http://isdesignsolution.blogspot.com/p/maxscript.html
            Best regards,
            Jackie Teh
            --

            3ds Max 2023, V-Ray 7 [7.00.05 build 32980]
            AMD Ryzen 9 7950X 16-Core Processor@4.50 GHz | 64GB RAM | Nvidia RTX 4090
            Website: https://www.sporadicstudio.com
            Email: info@sporadicstudio.com
            YouTube: https://www.youtube.com/c/SporadicStudio

            Comment


            • #7
              Hi Trixian,
              Thanks for reporting back. That's good to know the map method doesn't work.
              Cheers
              p.
              Patrick Macdonald
              Lighting TD : http://reformstudios.com Developer of "Mission Control", the spreadsheet editor for 3ds Max http://reformstudios.com/mission-control-for-3ds-max/



              Comment


              • #8
                Get the modzorb script from Jordan Walsh.
                It does A LOT of randomisation and other things on materials/lights/objects/everything!
                I can't recommend it enough.

                http://www.scriptspot.com/3ds-max/sc...-modifier-zorb
                Chris Jackson
                Shiftmedia
                www.shiftmedia.sydney

                Comment


                • #9
                  Ideally i wanted all my light to be instances, so randomization happens through the map. Now i have 358 unique vraylight planes
                  But it does work......
                  Signing out,
                  Christian

                  Comment


                  • #10
                    Ouch, just don't try to load the light-lister!
                    Patrick Macdonald
                    Lighting TD : http://reformstudios.com Developer of "Mission Control", the spreadsheet editor for 3ds Max http://reformstudios.com/mission-control-for-3ds-max/



                    Comment

                    Working...