Author Topic: Settings with MaxScript  (Read 998 times)

2021-06-22, 16:43:01

alexandrestage

  • Users
  • *
  • Posts: 1
    • View Profile
Hi, I would like to use MaxScript to specify settings for Corona.
I have found the properties name for the ones I am interested in (progressive_passLimit and colorMap_simpleExposure) but I can't make them work.
I've tried :
Code: [Select]
renderers.current.progressive_passLimit = 5But it doens't seem to affect the property in anyway
if someone has an idea, it would help me a lot

2021-06-22, 17:07:32
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12764
  • Marcin
    • View Profile
Please see:

Corona and maxscript wiki - https://wiki.corona-renderer.com/maxscript
There are simple examples scripts at the bottom of the page.

And also this might help:
https://forum.corona-renderer.com/index.php?topic=30946.0

Feel free to edit the above script and use any parts of it (according to the included license).
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2021-06-22, 17:08:04
Reply #2

Frood

  • Active Users
  • **
  • Posts: 1922
    • View Profile
    • Rakete GmbH
But it doens't seem to affect the property in anyway

What makes you think the property is not affected? If you open Render Setup -> Scene and paste that "renderers.current.progressive_passLimit = 5" into the max script listener, the pass limit should change immediately. It does not?


Good Luck



Never underestimate the power of a well placed level one spell.