Forum: DAZ|Studio


Subject: Saving an alternate UV Map set with a prop.

3dcheapskate opened this issue on Dec 11, 2012 · 14 posts


3dcheapskate posted Wed, 12 December 2012 at 3:41 AM

No, definitely doesn't work, at least not the way I did it. Here's what I just did:

DsActions.prototype.setMaterialProperties = function( oMaterial, oShape ){
    ...
    switch( sID ){
            case "Studs":
                ...
                g_oPresetHelper.setNumericProperty( "UV Set",  [ 0 ] );
                ...
                break;
            case "Handle":
                ...
                g_oPresetHelper.setNumericProperty( "UV Set",  [ 0 ] );
                ...
                break;
            case "Shield":
                ...
                g_oPresetHelper.setNumericProperty( "UV Set",  [ 1 ] );
                ...
                break;
            case "Back":
                ...
                g_oPresetHelper.setNumericProperty( "UV Set",  [ 0 ] );
                ...
                break;
        default:
            break
    }
}

 

(need to rush off now - I'll check back later)


The 3Dcheapskate* occasionally posts sensible stuff. Usually by accident.
And it usually uses Poser 11, with units set to inches. Except when it's using Poser 6 or PP2014, or when its units are set to PNU.

*also available in ShareCG, DAZ, and HiveWire3D flavours (the DeviantArt and CGBytes flavour have been discontinued).