(2)機器人Robot
TODO1:
void display()
{
glPushMatrix();
glutSolidTeapot(0.3);
glTranslatef(0.5, 0, 0);
glutSolidTeapot(0.3);
glPopMatrix();
glutSwapBuffers();
}
TODO2:
加glutMotionFunc(motion);
glRotatef(rot1,...);

(3)關節轉動T-R-T
TODO3:
glTranslatef 掛在哪 - 3
glRotatef 轉動 - 1
glTranslatef 轉的中心,放在中心 - 2



(4)期末作品
(5)T-R-T考試
沒有留言:
張貼留言