2024年5月9日 星期四

電腦圖學Week12

week12-1_glm_gundam_handA_handB

先設定好環境
下載freglut
檔名libglut32
OpenCV下載
codeblock打開
setting-compiler打開
search directories 的 compiler
C:\OpenCV2.1\include
search directories 的 linker
C:\OpenCV2.1\lib
Linker setting 加 cv210 cxcore210 highgui210
把擋住的註解掉
把旋轉註解掉
把用來對照的座標原點,用glutSoildSphere(0.1,30,30)
glTranslatef();
glRotatef();
glTranslatef();

week12-2_glm_gundam_upper_lower

用maya把上下手臂做切割
然後修改程式碼



week12-3_glm_gundam_keyboard_angleID_mouse_motion_angle

加入motion函數
偵測滑鼠的Y



在 int main 函式裡面加這一行
這樣偵測的時候才會動



Git 指令

cd desktop

git clone https://github.com/mickey1132/2024-graphicsA

cd 2024-graphicsA

git status

git add .

git status

git config --global user.email mickylin1132@gmail.com

git config --global user.name mickey1132

git commit -m WeekXX

git push

沒有留言:

張貼留言