1. new file week15-1_PlaySound
Playsounds
2.add more3.new file week15-2_PlaySound_empty
4.加程式來擋住
5.go back to 1把freeglut music copy到目錄
6.把Project Properties 改成 .
把老師的檔案放進目錄
也把Project Properties 改成 .
8.MP3 code9.new file week15-4_mouse_motion_translate_rotate
10.貼上11行
#include <GL/glut.h>
void display()
{
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glutSolidTeapot( 0.3 );
glutSwapBuffers();
}
int main(int argc, char *argv[])
{
glutInit(&argc, argv);
glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH);
glutCreateWindow("week06 lighting");
glutDisplayFunc(display);
glutMainLoop();
}
11. add float and Push/Pop TRT and other
12.列印出座標
13.註解teapot 加中心點
沒有留言:
張貼留言