MoI discussion forum
MoI discussion forum

Full Version: Lighting themes

Show messages: All  1-3  4-7

From: Barry-H
9 Oct   [#4] In reply to [#3]
Hi Michael,
my lighting option htm is within Max's custom ui .
I have added a new lighting option to the htm but its not showing in the dropdown menu.
Thats my issue its not being read by moi.ini
Thanks
Barry
From: Michael Gibson
9 Oct   [#5] In reply to [#4]
Hi Barry,

re:
> I have added a new lighting option to the htm but its not showing in the dropdown menu.

Can you please post your edited .htm with your new lighting option in it?

- Michael
From: Barry-H
10 Oct   [#6] In reply to [#5]
Hi Michael,
here is my htm file.
Barry

Attachments:
LightingOptions.htm


From: Michael Gibson
10 Oct   [#7] In reply to [#6]
Hi Barry, thanks for posting that.

So editing it there isn't working because that is the default values which will only be used the first time that someone runs the dialog. Once you have some lighting data stored in the moi.ini file, that default data won't be used.

The easiest way to add a new setting is to use the "Add" button on the lighting dialog. If you run this script does the dialog show up ok for you? :

script: /* Opens Lighting Options Dialog */ moi.ui.createDialog( 'moi://appdata/customui/LightingOptions.htm' );

You can run that by selecting the above line and doing Ctrl (or on Mac Cmd) + c to copy it, then in MoI press the tab key to put focus in the XYZ input control and then Ctrl+v paste then Enter.

If that doesn't work please let me know where your LightingOptions.htm file is located, the path will need to be adjusted.

When you push "Add" on the dialog the new one should then show up on the menu.

- Michael

Show messages: All  1-3  4-7