2023年2月16日 星期四

KZNK Week01 設定環境

  

  OpenGL專案:

    File-New-project-OpenGL

    標題設成week01-1_OpenGL,存檔位置選桌面

    最後按Build&Run可開啟三角形


GLUT專案:


    葉正聖老師上課軟體-freeglut-MinGW-3.0.0-1.mp.zip-freeglut

    freeglut資料夾拖到桌面,
    將lib裡的libfreeglut.a複製原地貼上並改名成libglut32.a
    
    開CodeBlocks-File-New-project-GLUT

    標題設成week01-2_GLUT,存檔位置選桌面

    地址設桌面的freeglut檔案夾

    開啟圖型






沒有留言:

張貼留言