MAYA Tips



   

 

 

viewCube   
tunble  

 

()  
(Linux)  
(Windows)  
 
(Linux)  
 (Linux - KDE)
 (Windows2000)  
 (WindowsXP)  
BOT使  
MayaBinaryMayaAscii  
 
(SGI)  
 
 



Spotlight  



2D 
 
 
NURBS   
 
""使  



 
 Shatter   
 Per Particle Attributes  

 

 
 CV,   

 

 
 
MAYA (SGI, Linux)
MAYA  Script Editor (SGI, Linux)
MAYA Script Editor (Windows)  
MAYA   

Photoshop & Illustrator  

 (Photoshop)
 (Illustrator)  

 

 Maya 
Illustrator   
Illustrator   
 (Windows)  
 
 (SGI, Linux)
 (SGI, Linux)
MAYA(SGI, Linux)
Shelves 
MAYA (Linux)
Maya 6.0  Maya 5.0  (Linux)
 




 

(一)NURBS   
NURBS   
(二)NURBS 
(三)    
[押し出し オプションウインドウ]
(四)    NURBS  
[NURBSをポリゴンに オプションウインドウ]
(五)NURBS  
[NURBSサーフェスとポリゴンフェース]
[レンダリング結果]



 viewCube   
/      
  viewCube     viewCube   
 tunble  
View  Camera Tools  Tumble Tool     
Orthographic Views  Locked   
MEL    tunble  



 ()  
Maya     
 Maya     $MAYA_PROJECT    
(Linux)  
% setenv MAYA_PROJECT project  
(Windows)  
C:\ set MAYA_PROJECT=project
(Linux)
(Windows)
 
 
% Render -rep   

(Linux)  
#!/bin/csh -f
foreach f (*.iff)
        set ret = `filePaste $f | awk '/resolution/{print $3,$4}' | uniq | wc -l`
        if($ret == 2) rm -i $f
end
  filePaste  fileStats 使2(Maya?)
 (Linux - KDE)

(一)  myrender.sh   
test1.mb, test2.mb   (myrender.sh)
Render -rep test1.mb
Render -rep test2.mb
kdeinit_shutdown

(二)  
% csh myrender.sh
(三)

KDE 

(一) (dorend.sh) myrender.sh 
kterm -e csh myrender.sh

(二)  dorend.sh   
Konqueror  dorend.sh     
(三)
(四)   
% chmod +x dorend.sh  
12
(五) dorend.sh 1  kterm 
()
myrender.sh, dorend.sh 
dorend.sh  2
 (Windows2000)

(一) logout.js 
var e = new Enumerator(GetObject("winmgmts:{impersonationLevel=impersonate,(Shutdown)}").InstancesOf("Win32_OperatingSystem"));
for(; !e.atEnd(); e.moveNext())
{
 var obj = e.item();
 obj.Win32Shutdown(0);
}
()
logout.js 
 obj.Win32Shutdown(0)  obj.Win32Shutdown(8)  shutdown 
(二)
 .bat  (myrender.bat )
 Maya  logout.js  cscript 
test1.mb, test2.mb 
Render -rep test1.mb
Render -rep test2.mb
cscript logout.js

(三)
(四)  


(一)
(二)
(三)
(四)

  (Windows)
 (WindowsXP)

(一)
 .bat  (myrender.bat )
test1.mb, test2.mb 
Render -rep test1.mb
Render -rep test2.mb
shutdown /f /l

(二)
(三)  
shutdown  shutdown /f /s Windows 

  (Windows)
BOT使  
BOT(Block Ordered Texture)   使使    
(使)

(一)(test.mb)
(二)  
 
% maya -optimizeRender test.mb test2.mb  
(三) test2.mb 使  
(使)  
4096 X 4096 

BOT 使  
185.309 Mb Peak total size(Estimated)  
Total Elapsed Time For Maya (hh:mm:ss): 00:00:22  
BOT 使  
57.211 Mb Peak total size(Estimated)  
Total Elapsed Time For Maya (hh:mm:ss): 00:00:10  
 
テクスチャーの画像
 
レンダリング結果
()  
Photoshop  BOT 
MayaBinaryMayaAscii  
Windows  Settings/Preferences  Plug-in Manager...
 
 
% setenv MAYA_REVERSE_FILEFORMAT_EXT
(SGI)  
 
% setenv WF_IMF_SGI_MATTE 
 
Render  -renderer hw   
% Render -x 640 -y 480 -s 1 -e 30 -renderer hw test.ma
 
Tail for Win32     CPU   
 Z:\myDocuments\maya\mayaRenderLog.txt   



Spotlight  

(一)Spotlight 
(二)spotlightShape  Attribute Editor   
(三)Light Effects  Light Fog  lightFog 
(四)spotlightShape  調
(五)lightFog  Color   
(六)spotlightShape  Color   



2D   
   


(一)file1  place2dTexxture2  place3dTexture2 
(二)place2dTexxture1  file2   
(三)place3dTexture1  projection2   
(四)  place3dTexture1 (parentInversMatrix)  projection2 (placementMatrix)  

 

(一)  
(二)Hypershade  Edit  Select Materials from Objects  

 


(一)file  Image Name   
 
#  1, 2, 3 ...  0001, 0002, 0003, ...  
image.#.ext  
image.ext.#  
image.#  
(二)Use Frame Extension on  
(三)Frame Extension   
frameExtension = frame;  

NURBS   
 Texture Map  Fix Texture Warp 
 


(一)12
(二)condition   
      
(三)1 outColor   condition  colorIfTrue 
(四)2 outColor   condition  colorIfFalse 
(五)samplerInfo   
    
(六)samplerInfo  flippedNormal   condition  firstTerm 
(七)condition  outColor    color   

""使  
  使

(一)  smear 
(二)2D  file     
(三)file  outColor  smear  inRgb 
(四)ramp   
(五)smear  outUV ramp  place2dTexture  offset 
(六)ramp   


()  

(使)  



   
NURBS  geoConnector  Tessellation Factor 
  Shatter   
 Effects  Create Shatter  
  Per Particle Attributes  
rgbPP   

(一)Particle Sampler Info   
Hypershade   Create  Particle Utilities  Particle Sampler Info   
(二)Particle Sampler Info   MMB   
(三)  Particle Sampler Info  Rgb PP   Color   



   
  /    
 
      
 
    
 
 

  CV,   
Quick Select Set 使  
Quick Select Set 

(一)  
(二)Create  Sets  Create Quick Select Set
(三)OK  
Quick Select Set   Edit  Quick Select Set 



 
gG  
gG
 
y    Curve Tool y   Curve Tool 
MAYA (SGI, Linux)  
~/.Sgiresources~/.Xresources  
Maya*useSmallFonts: True  
TrueFalse
MAYA  Script Editor (SGI, Linux)  
~/.Sgiresources~/.Xresources  
Maya*CommandWndCommandField.fontList:   
Maya*CommandWndHistoryField.fontList:   
調xlsfontsxfontsel使
MAYA Script Editor (Windows)  
Script Editor  Ctrl + 
 MAYA   
   
()  
 MAYA 5.0     
 MAYA   

(一)2 MAYA_SCRIPT_PATH   
myInitialLayout.mel (MAYA 5.0)  
myInitMainWindow.mel (MAYA 5.0)  
 
(Windows)  
MAYA_APP_DIR\5.0\scripts  
(Linux)  
MAYA_APP_DIR/5.0/scripts  

(二)MAYA_APP_DIR\5.0\Maya.env   
MAYA_OVERRIDE_UI = myInitialLayout.mel  
(三)MAYA   

Photoshop & Illustrator



  (Photoshop)

(一)
(二)     
  
(三) ...   
調
(四)    Illustrator 

  (Illustrator)

(一)  ... 
(二)
(三)
(四)



 Maya   
Maya 2009  Maya     
SET MAYA_UI_LANGUAGE=en_US
C:
cd  "C:\Program Files\Autodesk\Maya2009\bin\"
start maya.exe

Illustrator   
Create  Adobe Illustrator Object  
Illustrator   

 
Illustrator     
 
 

Illustrator   
Attribute Editor  IllustratorForBevel   Reload 
 (Windows)  
test.0001.iff  test.0030.iff  tmp.0001.iff  tmp.0030.iff   
C:\> ren test.* tmp.*  
()  
 test  tmp  . ()
 
imgcvt 使  
imgcvt  imconvert 使
 (SGI, Linux)  
~/myscript1~/myscript2MEL 
% setenv USER_SCRIPT_PATH ~/myscript1:~/myscript2 
 (SGI, Linux)  
newProj  
% setenv MAYA_PROJECT ~/maya/newProj
MAYA(SGI, Linux)  
/usr/aw/maya/app-defaults/Maya
Shelves 

(一) 32 x 32  xpm 

Linux  
~/maya/6.0/prefs/icons 
Windows  
C:\Documents And Settings\\My Documentes\maya\prefs\icons  

(二) Window  Setting/Preferences  Shelves... 
(三)Shelf Contens 
(四)Change Image...   

MAYA (Linux)  
 MAYA   ()  (Linux )  

(一)/var/tmp   
% cd /var/tmp  
(二)...mb ( ...ma)   
 ad000000   
% ls ad000000.*  
ad000000.3225.223.mb  
(三) MAYA   
% maya ad000000.3225.223.mb  
 
 

Maya 6.0  Maya 5.0  (Linux)  


(一)Maya 6.0  MayaAscii   (maya6.ma )  
(二)Linux   
% cd ~/maya/projects//scenes  
(三)  
% sed '4,11s/6\.0/5.0/' maya6.ma > maya5.ma  
maya5.ma  Maya 5.0   
 Window  Settings/Preferences  Preferences   UI Elements  Save Panel Layouts with File   ()  
()  
 MEL   
MAYA 6.0  5.0  (Linux)
   
 +   
 + 


Home | Contents

Mail