2021年2月24日 星期三

距地表面160 Week01

  • OPENGL

    開啟  Code Blocks >> File - New - Project


       選擇 OpenGL



    要叫甚麼名字 >> Week 01 

    要存在哪裡 >> Desktop

會存到這個 >>


 \搭拉/

------------------------------

球球有光線 、 很炫酷的水波 、 還有光影

透過鼠標移動可以轉移攝影機視角

是未來可以做成的目標ヽ(●´∀`●)ノ


------------------------------

  •   FREEGLUT

1.CodeBlocks, File-New-Project, GLUT
2.要叫什麼名字? 放在哪裡?
week01glut C:\Users\...\Desktop
2.3 Moodle下載freeglut 安裝在「桌面」
2.6 C:\Users\...\Desktop\freeglut
的 lib\libfreeglut.a copy lib\libglut32.a
2.9 GLUT在 C:\Users\...\Desktop\freeglut
3. 下一步...下下下,
(步驟難/要外掛GLUT,程式碼簡單,100%懂)




























沒有留言:

張貼留言

距地表面160 Week11

 #include "glm.h" GLMmodel* pmodel = NULL; void drawmodel(void) {     if (!pmodel) { pmodel = glmReadOBJ("data/porsche.obj...