Announcement

Collapse
No announcement yet.

How to disable "Intensity Rays" in viewport by default when creating lights?

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

  • How to disable "Intensity Rays" in viewport by default when creating lights?

    Just noticed that after the latest update the intensity rays are enabled in the viewport every time a new light is created (plane/sphere). Is there any way to disable this by default?

    It's really annoying having to turn that off every time a new light is created. Viewport gets really messy when that's on with a lot of lights in scene....

    Click image for larger version

Name:	Capture.jpg
Views:	280
Size:	10.2 KB
ID:	1197491

  • #2
    Hi, thanks for posting. You can use a script to turn off intensity rays. The command for this is

    $.intensityRaysOn = off
    Paste this command in a notepad file and save it as .ms file, for example RaysOff.ms
    Select all the lights you want this checker disabled and paste the RaysOff.ms in your viewport.
    Use the $.intensityRaysOn = on to reverse the process.
    Vladimir Krastev | chaos.com
    Chaos Support Representative | contact us

    Comment


    • #3
      well.... that's handy but not exactly what I was looking for.....

      They still show by default whenever a new light is created......

      I don't want them to appear at all

      Comment


      • #4
        Agreed. I don't normally need them on and end up shutting them off for 95% of the lights.
        www.dpict3d.com - "That's a very nice rendering, Dave. I think you've improved a great deal." - HAL9000... At least I have one fan.

        Comment


        • #5
          No way to change the default behavior, I'm afraid. Here's a little script to enable/disable the parameter for all VRayLights:
          Code:
          select (for o in $* where classof o == VRayLight collect o)
          for each in selection do
          (
          case each.intensityRaysOn of (
          true: each.intensityRaysOn=false
          false: each.intensityRaysOn=true
          )
          )
          clearSelection()​
          Make a button out of it.
          Aleksandar Hadzhiev | chaos.com
          Chaos Support Representative | contact us

          Comment


          • #6
            ok..... until then

            Click image for larger version

Name:	Capture.jpg
Views:	220
Size:	181.5 KB
ID:	1197622

            Comment


            • #7
              Thank you though... That script assigned to a button does help! Appreciate it!

              Comment


              • #8
                Max 2024.2 has an option to define custom defaults:

                Click image for larger version

Name:	image.png
Views:	217
Size:	3.1 KB
ID:	1197627
                Yavor Rubenov
                V-Ray for 3ds Max developer

                Comment


                • #9
                  Originally posted by yavor.rubenov View Post
                  Max 2024.2 has an option to define custom defaults:

                  Click image for larger version

Name:	image.png
Views:	217
Size:	3.1 KB
ID:	1197627
                  FUCK YAH!!! Yavor for the win!!! Awesome

                  Comment

                  Working...
                  X