What's New in v2.1? |
Syntax: NodeName([, type plugName = plugValue]);
Examples: Black1 = Black(720, 486, 1, string comment = "This is a black node"); Mult(Black1, value*1.2, value*1.3, value*0.7, float value = 0.75);
Cineon/tif writer speed enhancement. Shake works with images bottom-up, meaning 0,0 is at the bottom left corner. The Cineon file format has a header indicating if the image is written top-down or bottom-up. To be compatible with a specific vendor's implementation of the Cineon format, we formerly forced the writing to the Cineon and tif images top-down, slowing down the process considerably as Shake had to flip the image twice in order to process it. The new writer speeds up a writing of a 4k Cineon from 60 seconds down to 12 seconds. However, these new files may have compatibility problems with certain programs. See About File Formats for more information on how to change these settings.
gui.doBoxColumns = 8; // Number of columns in the doboxwhich, the sharp ones amongst you will have guessed allows you to control the number of columns in the do box.
In nrui.h, if you have:
nuiPushControlGroup("Controls"); nuiGroupControl("Gamma.rGamma"); nuiGroupControl("Gamma.gGamma"); nuiPushControlGroup("SubControls"); nuiGroupControl("Gamma.bGamma"); nuiPopControlGroup(); nuiPopControlGroup();
.. it will display rGamma and gGamma, but hide bGamma in a subControl.
The naming scheme works just like in nuiDefSlider: If you say this...nuiPushControlGroup("Color Controls"); nuiGroupControl("red"); nuiGroupControl("green"); nuiGroupControl("blue") nuiPopControlGroup();...then every node that has "red,green,blue" will be bunched up.