Announcement

Collapse
No announcement yet.

How to trigger RT refresh with maxscript

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

  • How to trigger RT refresh with maxscript

    I tried to adjust a material using "setproperty" in maxscript, but it doesn't appear to trigger RT to refresh. Is there a way to force the correct callbacks that RT is expecting to re-assess the scene?
    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/




  • #2
    I think material changes should be handled fine if you just modify the material from MaxScript. Can you tell me exactly what you are modifying?

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

    Comment


    • #3
      Hi Vlado,
      Actually, my mistake, I was switching a light on and off using setproperty. It wasn't doing anything on my workstation at home, but I've tested it on another machine and it's working fine. Sometimes vrayRT appears to be asleep, but re-starting it seemed to get it picking up the changes fine.
      I'm relieved to see my Mission Control script will work for tweaking lighting in RT... no more waiting for max to change selection when adjusting a collection of lights individually!

      Sorry for the mixup.
      Thanks
      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

      Working...
      X