Edit curve control

Edit curve control

Версия: 0.01a
Автор: Vojtech Cada

Редактирование элементов управления кривой в большем, изменяемом по размеру окне:

Additional Info:

Installation: Copy the .ms file inside the stdscripts folder (evaluate once if this is your first time using it), that way it will be available for scripts in the script folder and macroscripts. FileIn approach is another alternative. To try it out, run in once. After that, you can call the editCurve function, passing the curve you want to edit.

Usage: The script exposes an editCurve function. Pass the curve you want to edit as an argument. For example, if you want to edit the mono output curve of a map currently selected in compact material editor (provided that it’s enabled), you’d use

    editCurve (mEdit.getCurMtl()).Output.Mono_Color_Map.Curve_1

Attached is also an example macro that opens the dialog for active output curve in Slate or classic material editor. If you want to use it, run the .mcr file once via Scripting -> Run Script. It creates an item in the Shortcuts category under Customize UI, which you can then add to a quadmenu or assign a shortcut to it.

You might want to disable and re-enable the color map to force update.

Attachment curveEdit.mseditOutputMonoCurve.mcr