프로그래밍43 glOrtho, glViewport void glOrtho( GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble nearVal, GLdouble farVal ); // 위 그림과 같이 View volume의 왼쪽 아래 앞쪽 꼭지점 ( left, bottom, -nearVal ), // 오른쪽 위 뒤쪽 꼭지점 ( right, top, -farVal ) 를 parameter로 갖는다. // User가 viewport를 변경할 때 좌표 체계를 바꾸어 공간이 왜곡되는 오류를 막기 위함. void glViewport( GLint x, GLint y, GLsizei width, GLsizei height ); // Viewport rectangle의 왼쪽 아래 꼭지점의 좌표 .. 2015. 11. 16. Maya curve lockLength attribute // MAYA MEL script select -r curveName; setCurveLengthLock 1; // create lockLength attribute. setAttr curveName.lockLength 0; // = select -r curveName; setCurveLengthLock 0; setAttr curveName.lockLength 1; // = select -r curveName; setCurveLengthLock 1; * lockLength attribute을 끈 상태(0)로 scaling 등의 수정을 한다. 그 후 comb operation 등을 위하여 lockLength를 켜고(1) 포인트를 움직이는 순간 curve point들이 튀면서 재배열된다. (포인트들이 겹치는.. 2015. 11. 13. Maya Manipulators http://around-the-corner.typepad.com/adn/2012/10/maya-custom-manipulators-.html 2015. 9. 10. Implicit vs. Explicit http://engineering.utsa.edu/~foster/ME4603/files/integration.pdfhttps://agidari.wordpress.com/2010/01/31/explicit-method%EC%99%80-implicit-method/http://nfx.co.kr/techpaper/keyword_view.asp?idx=208 2015. 8. 21. 이전 1 2 3 4 ··· 11 다음