2022年2月22日 星期二

電腦圖學筆記week01

 Week01 


OpenGL


    下載軟體



    開啟CodeBlocks建立新的Project




    Build&Run產生彩色旋轉的三角形


 


Glut


    下載檔案,並解壓縮



    將桌面目錄freeglut中lib的資料夾新增一個libglut32.a的檔案




    開啟CodeBlocks建立一個GLUT  Project



    Build&Run產生紅色圖形




將檔案上傳至GitHub

    開啟GIT Bash



    cd desktop
    git clone https://github.com/QASSBB/2022graphics1
    cd 2022graphics1



   
   將兩個目錄放進2022graphics1



    
    git status (看狀態)  
    git add 
    git status(再看狀態)



    
    git commit  
    git config -- global user.email "09160881@me.mcu.edu.tw"
    git config --global user.name "qassbb"(第一次使用時)





    git commit -m "訊息" 
    git push(送上雲端) 


 

  1. cd desktop
  2. git clone https://github.com/QASSBB/2022graphics1
  3. cd 2022graphics1
  4. git status
  5. git add .
  6. git status
  7. git commit  
  8. git config -- global user.email "09160881@me.mcu.edu.tw"
  9. git config --global user.name "qassbb"(7-9行第一次使用時才要做)
  10. git commit -m "訊息" 
  11. git push(送上雲端) 
    



沒有留言:

張貼留言

VERY BEAUTIFUL, VERY POWERFUL

一.     一樣先安裝且設定好freeglut,OpecCV, 開啟CodeBlocks建立新專案 week11_gundam,                 把 MyGundam.zip下載解壓縮後的data資料夾放到freeglut/bin裡面 把week09_openc...