Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Corona Goodies - User Contributions => Topic started by: Christa Noel on 2016-01-27, 09:05:03

Title: CoronaTools maxscript
Post by: Christa Noel on 2016-01-27, 09:05:03
Hi guys, this is my very first script. named CoronaTools, actually the original idea is coronatweak by headoff.
https://forum.corona-renderer.com/index.php/topic,6827.msg46080.html#msg46080 (https://forum.corona-renderer.com/index.php/topic,6827.msg46080.html#msg46080) again, thanx headoff.
but the UI is different, if you remember the corona pre1.0 rendersetup UI and yes it looks like that (i like that kind of UI).
features:
- duplicated most common corona rendersetup (not everything)
- each cameras has it's own rendersetup
- customizable outputsize preset
- button to do Interactive Rendering in PathTracing when you in UHDmode without changing it first (it will be unusable soon when ondra finish the improvemet of UHDcache calculation in IR)
- you can make autoback always disabled when IR running, return to enable when IR stop.
- some useful mini tools in "tools" rollout.

(http://oi66.tinypic.com/64l4c4.jpg)

please backup your scene first, this script isn't fully tested.
if you find there is some codes is badly written or not optimized (I believe you will), you can help me by share the optimized codes here.
Title: Re: CoronaTools maxscript
Post by: maru on 2016-01-27, 12:01:05
It looks very interesting! Reminds me of good old Corona ui.
I only checked it briefly and found these:

-After pressing IR w/ PT:  unknown system exception
         storeSecGICtrl = d.secondarysolver_DDL.selection

-After switching render region from view to region, then to view again:  type error: call needs function or class, got: false
         (   1: ( setRenderType #view; EditRenderRegion.IsEditing = false() )

Title: Re: CoronaTools maxscript
Post by: atelieryork on 2016-01-27, 12:02:15
Looks great. I will let others bugtest and jump on when more robust, but thank you for doing this. It's needed, for sure.
Title: Re: CoronaTools maxscript
Post by: romullus on 2016-01-27, 13:29:37
I would like to see camera tab as separate tool, as it's something new and looks interesting.
Title: Re: CoronaTools maxscript
Post by: Christa Noel on 2016-01-28, 02:37:23
It looks very interesting! Reminds me of good old Corona ui.
I only checked it briefly and found these:

-After pressing IR w/ PT:  unknown system exception
         storeSecGICtrl = d.secondarysolver_DDL.selection

-After switching render region from view to region, then to view again:  type error: call needs function or class, got: false
         (   1: ( setRenderType #view; EditRenderRegion.IsEditing = false() )

thanx maru. actually it was running nicely before, and i think learning optimizing codes couple days ago accidently made some stupid bugs.
-IR w/PT: it caused by rollout D isn't displayed first, has rewriten to make it not depending to rollout D, fixed.
-render area switching from else and back to view: that's a stupid typo by me, the "()" is deleted now, fixed.

update= you can download the updated script in first post attachment, i have modified the attachment.
Title: Re: CoronaTools maxscript
Post by: Christa Noel on 2016-02-01, 08:20:22
sorry, I've been so busy these days..
I would like to see camera tab as separate tool, as it's something new and looks interesting.
hi romullus,
yes you can make it by check the "tabs camera as default" on "opt" top menu , so that it will always show on first run.
(http://i65.tinypic.com/33kgphv.jpg)

Looks great. I will let others bugtest and jump on when more robust, but thank you for doing this. It's needed, for sure.
yes thanx atelieryork.