2023年3月2日 星期四

咻碰閃想睡了week03

 Week03

1-1 https://jsyeh.org/3dcg10 下載 windows.zip 及 data.zip


    -windows.zip 解壓縮 下載\windows\Transformation.exe
    -data.zip 解壓縮 下載\windows\data\很多3D模型檔


執行
    -glTranslatef(x ,y ,z ) 綠色數字可上下拉動
    -右上可以按右鍵換模型
1-2 CodeBlocks 開新專案 week03_Translate

剪貼上週程式碼




2-1  glTranslatef(x,y,z) 配合 glPushMatrix() glPopMatrix() 能移動物體到想要的位置
2-2










沒有留言:

張貼留言