● Maya匯出OBJ模型
jsyeh.org/3dcg10 下載
Part1
source.zip →下載\windows\ glm.c glm.h transformation.c
windows.zip →下載\windows\ transformation.exe
data.zip →下載\windows\data\ soccerball.obj soccerball.mtl
gult32.dll →下載\windows\glt32.dll
Part2
用右鍵Notepad++開啟 soccerball.obj
soccerball.mtl
Part3
myGLMsample.zip解壓縮
開啟04160011_hw1.cbp
*要記得裝freeglut在桌面才能改變模型圖案. \freeglut
起初開啟圖案↓
將文字改為"rose+vase",注意要匯入圖形有的圖案才能夠填入顯現↓
改變後的樣貌↓
●射擊遊戲
先在Google: NeHe Lesson32
射擊遊戲 Lesson32.zip解壓
執行Lesson32.exe應用程式
●WAV音效 MP3音樂
開頭加上#include <mmsystem.h>表頭檔
再找尋音效
"檔名.WAV"NULL,SND_ASYNC






沒有留言:
張貼留言