Whats New - Version 7.4.9

July 15 2016


return to main index



Args Popup Menu

When adding param blocks to a .args file Cutter now inserts them in multi-line format, for example, a (int) checkbox.



Figure 1

    <param name="CPP_NAME"
        label="UI_NAME"
        type="int"
        default="0"
        connectable="False"
        widget="checkbox">
        <tags>
            <tag value="int"/>
        </tags>
    </param>

Args Procs Menu

The procs button ({}) now displays a list of the parameter names prefixed with the name of their host page (panel) names. For example.



Figure 2


Osl Popup Menu

The (right mouse button) popup menu for .osl documents is now context sensitive. When activated in the parameter declarations block the following options are available.



Figure 3


If the cursor is positioned within a metadata block ie. between opening and closing square brackets, [[ ]], metadata hints can be conveniently inserted. For example, in figure 3 if "Label" had been chosen the following metadata would have been inserted.

shader
cell_noise(
    float frequency = 5 
        [[
        string label = "Your Label",
        ]],
    float variation = 1,

If the popup is activated within the body of the shader the following options are available.



Figure 4


The Create... Args Script menu item offers a convenient way of creating an .args file that defines the equivalent UI. For example, the osl shown on the left would generate the args on right.



Figure 5


shader
stToColor(   
    float s = 0 [[
                string widget = "null",
                int lockgeom = 0
                ]],
    float t = 0 [[
                string widget = "null",
                int lockgeom = 0
                ]],
    color patcolor = color(1,1,0)
                [[
                string label = "Pattern Color",
                ]],
    output color resultRGB = 0
    )
<args format="1.0">
    <shaderType>
        <tag value="pattern"/>
    </shaderType>
    <help>
        No Description Available.
    </help>
        <param name="patcolor"
            label="Pattern Color"
            type="color" default="1 1 0" 
            input="True">
            <tags>
                <tag value="color"/>
            </tags>
        </param>
        <output name="resultRGB"
            label="resultRGB">
            <tags>
                <tag value="color"/>
            </tags>
        </output>
  
    <rfmdata nodeid="1" classification="rendernode/RenderMan/pattern"/>
</args>

HyperShade Node Ids

The Rman User Panel now expects a min and max node id values. These are used when Cutter assigns nodeids.



Figure 6











© 2002- Malcolm Kesson. All rights reserved.