Author Topic: Need help scripting  (Read 32567 times)

2019-07-31, 08:47:15
Reply #15

Frood

  • Active Users
  • **
  • Posts: 1545
    • View Profile
    • Rakete GmbH
Then try the newest one :) Changes are:

  • v0.40 File Save/Reset/Open callbacks for resetting environment added
  • v0.35 Deepcopy of VFB parameters workaround (maxscript glitch), lightmix settings also revert after tweaking now. Catched possibly missing camera. 'useEnvironmentMap' fix/added. Undefined extended viewport types cause no error any more.



Good Luck and happy recreation :)



Edit: Removed old version
« Last Edit: 2019-08-02, 16:13:39 by Frood »
Never underestimate the power of a well placed level one spell.

2019-07-31, 17:39:48
Reply #16

LorenzoS

  • Active Users
  • **
  • Posts: 142
    • View Profile
Hi,
(very useful script),
if in ligthmix I deactivated the enviroment, when I launch the script I see the black vfb, so I think it should automatically switch to the beauty of the vfb and come back to te ligthmix when close it.

2019-07-31, 17:46:12
Reply #17

LorenzoS

  • Active Users
  • **
  • Posts: 142
    • View Profile
...i use three hdri:two enviroment in the lightmix and one loaded from script

2019-07-31, 18:06:11
Reply #18

Frood

  • Active Users
  • **
  • Posts: 1545
    • View Profile
    • Rakete GmbH
it should automatically switch to the beauty of the vfb

Yes, easy to do...

and come back to te ligthmix when close it.

... but this is not possible. There is no way to get the currently displayed channel index from Corona. So something which would not revert :-| But I will add a parameter for autoswitching to beauty.


Good Luck


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

2019-07-31, 18:21:01
Reply #19

LorenzoS

  • Active Users
  • **
  • Posts: 142
    • View Profile
thank you Frood

2019-08-02, 16:13:01
Reply #20

Frood

  • Active Users
  • **
  • Posts: 1545
    • View Profile
    • Rakete GmbH
Here you are:

v0.41 Changing to VFB beauty channel automatically when starting tweak (not revertable unfortunately, but configurable to switch it on/off)


Good Luck



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

2019-08-02, 16:59:04
Reply #21

LorenzoS

  • Active Users
  • **
  • Posts: 142
    • View Profile
Hi Frood,
the last thing,
when i toogle off the script, the IR stop automatically, where can i modify the script to continue IR?

thanks again

2019-08-02, 17:13:26
Reply #22

Frood

  • Active Users
  • **
  • Posts: 1545
    • View Profile
    • Rakete GmbH
Everything reverts when disabling tweak mode again. So if you have been running IR before pressing the button, IR would continue running after tweaking. If it was not running, IR is stopped after using the button. This is by purpose and kind of principle of the script: You break out of the prison of your scene with overrides, strange tone mapping settings+LUT and incredible exposure with one click to tweak in a defined environment and are exactly there where you have been when switching back. But of course this can be configured by a parameter (which would act like described by default), will consider.


Good Luck



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

2019-08-02, 17:39:36
Reply #23

LorenzoS

  • Active Users
  • **
  • Posts: 142
    • View Profile
I understand, what you say is coherent