Altus denoiser

I did a custom install. What i have seen is :
1) At the end of the install, you have a directory on C:\Innobright
You have also 2 env :
- altus_PATH : the path to the bin directory inside C:\Innobright
- altus_LICENSE : the license info

2) So i removed all the userSetup and did something like in env :


    'ALTUS_VERSION': '1.0',
    'ALTUS_PIPE': 'C:/Altus/${ALTUS_VERSION}',
    'altus_PATH': '${ALTUS_PIPE}/bin',
    'altus_LICENSE': '5053@license',
    'MAYA_PLUG_IN_PATH': '${altus_PATH}/plug-ins',
    'XBMLANGPATH': '${ALTUS_PIPE}/icons',
    'MAYA_SHELF_PATH' : '${ALTUS_PIPE}/shelves',

3) I created a shelf that i added into the shelves directory :


global proc shelf_Altus () {
    global string $gBuffStr;
    global string $gBuffStr0;
    global string $gBuffStr1;

    shelfButton
        -enableCommandRepeat 1
        -enable 1
        -width 35
        -height 35
        -manage 1
        -visible 1
        -preventOverride 0
        -annotation "Altus@innobright" 
        -enableBackground 0
        -align "center" 
        -labelOffset 0
        -font "plainLabelFont" 
        -imageOverlayLabel "Altus" 
        -overlayLabelColor 0.8 0.8 0.8 
        -overlayLabelBackColor 0 0 0 0.25 
        -image "altusButton.bmp" 
        -image1 "altusButton.bmp" 
        -style "iconOnly" 
        -marginWidth 1
        -marginHeight 1
        -command "checkAltusEnv" 
        -sourceType "mel" 
        -commandRepeatable 1
        -flat 1
    ;

} 

This is cleaner.

Now i have to test the GUI but yeah, this is not very “production friendly”