HW1_Maya匯出OBJ模型
Step1 Download Link:http://www.cmlab.csie.ntu.edu.tw/~jsyeh/3dcg10/
下載: [Source][data][win32] glut32.dll
下載: [Source][data][win32] glut32.dll
Step2 開啟Transformation>Soccerball
Step3 用右鍵Notepad++開啟data資料夾內soccerball.mtl、soccerball.obj檔案
HW2
將老師提供的myGLMsample解壓縮試著執行
HW3
Google:NeHe Lesson32 Download:visual studio.Net版本
射擊遊戲 lesson32解壓縮,並執行Lesson32
HW4_加入WAV音效
在Lesson32.cpp找sound。
PlaySound("路徑/檔名.wav",NULL.SND_ASYNC)
#include <mmsystem.h>
void mouse(int button,int state,int x,int y)
{
PlaySound("聲音檔所在的位置",NULL,SND_ASYNC);
}
glutMouseFunc(mouse);
#include <mmsystem.h>
void mouse(int button,int state,int x,int y)
{
PlaySound("聲音檔所在的位置",NULL,SND_ASYNC);
}
glutMouseFunc(mouse);
HW5






沒有留言:
張貼留言