2023年2月15日 星期三

Week01 試運行OpenGL、GLUT、WebGL

Week01-1_OpenGL

1.打開codeblocks

2.file-> new -> project




3.選opengl-> 位置選桌面 -> 一直確定 -> 按 齒輪開始 按鍵



Week01-2_GLUT

前置作業:桌面 > freeglut > lib > 複製libfreeglut.a檔案 > 將複製檔名改為libglut32.a



1.file-> new -> project -> GLUT project -> 位置為電腦桌面






2.選freeglut資料夾



WebGL

空白鍵暫停時間,G賦予重力加速度,L改變光照位置

沒有留言:

張貼留言