Updated
This commit is contained in:
@ -0,0 +1,16 @@
|
||||
ExampleFiles can be automatically downloaded with from the Demo section of the AdvancedSkeleton tools.
|
||||
Or they can be manually downloaded from:
|
||||
|
||||
|
||||
www.animationstudios.com.au/advancedskeleton/download
|
||||
|
||||
Some of the example files require the wbDeltaMushDeformer plugin that comes with AdvancedSkeleton.
|
||||
If a example file does not load correctly, it might be because this plugin has not been added to "modulePath".
|
||||
A quick way to fix this, is to drag`n`drop the "setModulePath.mel" file, into any Maya viewport.
|
||||
|
||||
If you wish to use any of the AdvancedSkeleton example rigs for any commercial project, please obtain a AdvancedSkeleton license.
|
||||
For non-commercial projects, such as student work, please add "Rig by AdvancedSkeleton" to the credits,
|
||||
and if the the project is will be avaiable for viewing online, please email us a link.
|
||||
|
||||
Copyright (C) 2016 by AnimationStudios, Oslo, Norway.
|
||||
|
@ -0,0 +1,33 @@
|
||||
global proc asScriptExampleFilesLocatorProc (){}
|
||||
|
||||
global proc string asGetScriptExampleFilesLocation ()
|
||||
{
|
||||
string $whatIs=`whatIs asScriptExampleFilesLocatorProc`;
|
||||
string $fullPath=`substring $whatIs 25 999`;
|
||||
string $buffer[];
|
||||
int $numTok=`tokenize $fullPath "/" $buffer`;
|
||||
int $numLetters=size($fullPath);
|
||||
int $numLettersLastFolder=size($buffer[$numTok-1]);
|
||||
string $scriptLocation=`substring $fullPath 1 ($numLetters-$numLettersLastFolder-1)`;
|
||||
return $scriptLocation;
|
||||
}
|
||||
|
||||
string $buffer[];
|
||||
tokenize `asGetScriptExampleFilesLocation` "/" $buffer;
|
||||
string $asPath="";
|
||||
for ($i=0;$i<size($buffer)-2;$i++)
|
||||
{
|
||||
$asPath+=$buffer[$i];
|
||||
if ($i<size($buffer)-3) $asPath+="/";
|
||||
}
|
||||
string $asFile=$asPath+"/AdvancedSkeleton5.mel";
|
||||
string $modFile=$asPath+"/AdvancedSkeleton5Files/modules/wbDeltaMushDeformer.mod";
|
||||
if (!`file -q -ex $asFile`)
|
||||
error ("file:\""+$asFile+"\" not found");
|
||||
if (!`file -q -ex $modFile`)
|
||||
error ("file:\""+$modFile+"\" not found");
|
||||
|
||||
evalEcho ("source \""+$asFile+"\"");
|
||||
evalEcho ("asAddModulePath");
|
||||
|
||||
|
Reference in New Issue
Block a user