본문 바로가기

Computer/Etc

그래픽 마야에 대해,.

1. 마야 동영상강좌
2. 마야로 만든 파이널 환타지 작품
3. 마야 핫키 설정법
마야를 쓰다 보면 맥스처럼 단축키로 X-ray 모드로 보고 싶을 때가 많을 것이다. 아래는 X-Ray 단축키를 만드는 방법이다.

1.Windows > settings/Preferences > Hotkeys
2.Hotkey Editor 가 열리면 왼쪽 Categories 에서 User를 선택한다.
3.오른쪽 밑에 NEW 를 클릭한후 name 에 Toggle_X_RAY 라고 적는다.
4.Description 에 역시 Toggle_X_RAY라고 적는다.
5.밑에 Command 에 아래의 스크립을 복사해 넣는다.
6.Accept 를 누른다.
7.오른쪽 위에 Key 란에 소문자 x 를 입력하고 Modifier 에 Alt 를 선택한후 Assign 을 누른다. (키는 x 를 쓰던 y 를 쓰던 마음데로 설정한다. 다만 기본단축키가 이미 설정되어 있는 것은 피하도록 한다. 이미 설정되어 있는것인지 알아보기 위해선 키를 설정할 때 Assign 옆에있는 Query 를 먼저 눌러보면 이미 설정되어 있는 키인지 확인할수 있다.)

8.Hotkey Editor 를 Save 하고 닫는다.
9.오브젝트 아무거나 하나 만든후 Alt + x 를 누르면 X-ray 모드로 반투명이 되고 다시 누르면 원상태로 돌아온다.

$currentPanel = `getPanel -withFocus`;
string $panelType = `getPanel -to $currentPanel`; if ($panelType == "modelPanel") {
modelEditor -e -xray ( !`modelEditor -q -xray $currentPanel` ) $currentPanel; }


위와 똑 같은 방법으로 이름과 hotkey 만 바꿔서 다른 기능들을 추가할수 있다.


Toggle_Grid 소스
단축키로 Grid를 껐다 켰다 한다.

$currentPanel = `getPanel -withFocus`;
string $panelType = `getPanel -to $currentPanel`; if ($panelType == "modelPanel") {
modelEditor -e -grid ( !`modelEditor -q -grid $currentPanel` ) $currentPanel; }



Toggle_Nurbs_Curve 소스
단축키로 Nurbs curve 를 껐다 켰다 한다.

$currentPanel = `getPanel -withFocus`;
string $panelType = `getPanel -to $currentPanel`; if ($panelType == "modelPanel") {
modelEditor -e -nurbsCurves ( !`modelEditor -q -nurbsCurves $currentPanel` ) $currentPanel; } ;


Toggle_Nurbs_Surfaces
단축키로 Nurbs Surfaces 를 껐다 켰다 한다.

$currentPanel = `getPanel -withFocus`;
string $panelType = `getPanel -to $currentPanel`; if ($panelType == "modelPanel") {
modelEditor -e -nurbsSurfaces ( !`modelEditor -q -nurbsSurfaces $currentPanel` ) $currentPanel; } ;



Toggle_Polygon
단축키로 폴리곤오브젝트를 껐다 켰다 한다.

$currentPanel = `getPanel -withFocus`;
string $panelType = `getPanel -to $currentPanel`; if ($panelType == "modelPanel") {
modelEditor -e -polymeshes ( !`modelEditor -q -polymeshes $currentPanel` ) $currentPanel; } ;


Toggle_Wire_Frame
단축키로 와이어프레임을 껐다 켰다 한다.

string $currPanel = `getPanel -withFocus`;
if ("" != $currPanel && ("modelPanel" == `getPanel -to $currPanel`))
{
int $wosonoff = `modelEditor -q -wos $currPanel`;
switch ($wosonoff)
{
case 0: modelEditor -e -wos true $currPanel;
break;
case 1: modelEditor -e -wos false $currPanel;
break;
default: break;
}
$wosonoff = `modelEditor -q -wos $currPanel`;
print("ShadingonWire: "+$wosonoff+"n");
} else {
error "No modeling panel selected or invalid.";
}
4. 마야와 3dmax의 차이점

'Computer > Etc' 카테고리의 다른 글

[인증]윈도우즈 업데이트후 인증창 뜨는것 없애기  (0) 2005.06.19
유용한 컴퓨터 팁 60가지  (0) 2005.06.10
테그종합편  (0) 2005.06.04
자동로그인 주소 알아내는법  (0) 2005.05.28
자동로그인 주소값  (0) 2005.05.28