Announcement

Collapse
No announcement yet.

Maxscript to toggle between Progressive/Adaptive not working

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

  • Maxscript to toggle between Progressive/Adaptive not working

    Hi All,

    making Maxscript buttons to quickly toggle between render settings... I can't get one to change between Progressive AA and Adaptive.

    This does not seem to do anything:

    vr=renderers.current
    vr.imageSampler_type=2

    It returns a blue "2", but nothing changes in the interface. Have tried integers 0 through 3.

    Bug? or do I have the wrong variable?

  • #2
    Sometimes changes to the render dialog don't reflect properly if it's open so you have to close it, apply the changes and open it again - try this page for the relevant stuff - http://docs.autodesk.com/3DSMAX/15/E...ber=d30e673717

    Comment


    • #3
      RenderSceneDialog.commit()
      RenderSceneDialog.update()

      It's really annoying to remember to do this....

      It's from a legacy mode in max where there used to be a cancel button on the Render Scene Dialog window...
      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


      • #4
        Thank you both - that is super useful. It works now if I close it before and open after.

        I will give that stuff a try next Dave...

        Cooking with gas now.

        Comment

        Working...
        X