2022年2月22日 星期二

啵咕咕的圖學筆記 week01

第一個opengl程式
codeblocks 17.12 mingw 裝好
file-new-project-選opengl 專案
在點點點的目錄選桌面-projectsje nir 01_opengl













下一步×2,完成後,build&run
可以看到有色彩旋轉的三角型





















 登入 GITHUB.com 

week01

 GitHub 備份


0.登入
1.新增倉庫
2. public 雙A都勾 選C++
3.確認

Git 指令

1.去moodle裝 git 
2.一路下一步上勾下不勾
3.cd desktop
4.git clone 你的git網址
5.cd 2022graphicsl (完成後桌面會多一個檔案)

GitHub



0.登入GitHub.com
1. New repo 新增傳案倉庫
1.1. 取名 2022graphics(昨天乙班用掉了)或2022graphics1
1.2. Public, Add README, Add .gitignore 用C++
1.3. 綠色確認ㄝ, 看到你的新的專案

2. 利用 Git指令
2.1. 安裝 Git for Windows

3. 開啟 Git Bash
3.1. cd desktop 進入桌面
3.2. git clone http://你的網址
3.3. cd 2022graphics1


3.4. 把我們的2個程式目錄,放到2022graphics1
3.5. git status 看狀態(紅色2個目錄)
3.6. git add . 把它加進去
3.7. git status 再看狀態(變綠色)

4. 要推送上雲端
4.1. 要先有 commit 的動作, 第一次使用時,需

git config --global user.email "jsyeh@mail.mcu.edu.tw"
git config --global user.name "jsyeh"

git commit -m "訊息" 4.2. git push 推送上雲端 (Chrome 要登入才行)
 

AhFatKr的電腦圖學課堂筆記week01


0. 安裝CodeBlocks 17.12 mingw
1. File->NEW->Project,選OpenGL專案

2. 選擇[...]的目錄,選[桌面],Project  01_OPENGL
3. 下一步下一步,完成後,Build & Run(齒輪加播放鍵的按鈕)

4. 可以看到彩色旋轉的三角形

0. 第一個GLUT專案
1. MOODLE下載 freeglut....zip
2. 解壓縮 桌面freeglut目錄
3. 桌面freeglut的lib裡面有libglut.a 把它複製並改成ilbglut32.a以便GLUT專案的連結使用
4. 取名 week01_GLUT
5. 設定GLUT 目錄C:\Users\?????\Desktop\freeglut
6. Build & RUN 可看到6個紅色的東西在旋轉

Github備份程式


0. 登入GitHub.com
1. New repository
1.1 取名2022graphics1
1.2 Public, Add README, Add.gitignore 用C++
1.3 點擊確認,看到你的新的專案

2. 利用Git指令
2.1. 安裝 Git for Windows

3.開啟 Git Bash
3.1. cd desktop 進入桌面
3.2. git clone https://自己的網址
3.3. cd 2022graphics1
3.4. 把我們的2個程式目錄,放到2022graphics1
3.5. git status 看狀態(紅色2個目錄)
3.6. git add . 把它加進去
3.7. git status 再看狀態(變綠色)

4. 要推送上雲端
4.1. 要先有 commit 的動作, 第一次使用時,需

git config --global user.email "我的email"
git config --global user.name "我的名稱"

git commit -m "訊息"

4.2. git push 推送上雲端
(Chrome 要登入才行)

【咔咔打code】Week #1: 如何快速生出你的第一個 OpenGL 程式!

嗨嗨大家好這裡4咔咔!
覺得 OpenGL 起步要做太多事情很煩瑣很麻煩嗎?
第一次入門 OpenGL 嗎?

讓 Code::Blocks 解放你的大腦和手指吧!! (。◕∀◕。)(。◕∀◕。)

3.. 2.. 1.. 來吧(。A。)

哈囉你好嗎隨便week01

 第一個OPENGL 程式


0.codeBlocks 17.12 mingw裝好 不要新版 會不相容

1.File-new-project,選openGL專案 (最下面的上面)

2.點【點點點】的目錄,選【桌面】project 名子:01_OPENGL

3.下一步下一步,完成後,Build&Run (影片開始圖加齒輪)

5.可以看到彩色旋轉的三角形






第一個GLUT 程式

1.到moodle的【上課用軟體】載壓縮檔解壓縮
2.複製一個freeglut\lib\libfreeglut.a
3.把複製的libfreeglut.a改名改成libglut32.a
4.CodeBlocks: File-new-project,選GLUT專案 (最上面的下面)
5.取名Week01_GLUT
6.GLUT目錄選freeglut的檔案
7.完成後,Build&Run (影片開始圖加齒輪) 可以看到6個東西再轉

GitHub 備份

0.登入
1.新增倉庫
2. public 雙A都勾 選C++
3.確認

Git 指令

1.去moodle裝 git 
2.一路下一步上勾下不勾
3.cd desktop
4.git clone 你的git網址
5.cd 2022graphicsl (完成後桌面會多一個檔案)

GitHub



0.登入GitHub.com
1. New repo 新增傳案倉庫
1.1. 取名 2022graphics(昨天乙班用掉了)或2022graphics1
1.2. Public, Add README, Add .gitignore 用C++
1.3. 綠色確認ㄝ, 看到你的新的專案

2. 利用 Git指令
2.1. 安裝 Git for Windows

3. 開啟 Git Bash
3.1. cd desktop 進入桌面
3.2. git clone http://你的網址
3.3. cd 2022graphics1


3.4. 把我們的2個程式目錄,放到2022graphics1
3.5. git status 看狀態(紅色2個目錄)
3.6. git add . 把它加進去
3.7. git status 再看狀態(變綠色)

4. 要推送上雲端
4.1. 要先有 commit 的動作, 第一次使用時,需

git config --global user.email "jsyeh@mail.mcu.edu.tw"
git config --global user.name "jsyeh"

git commit -m "訊息" 4.2. git push 推送上雲端 (Chrome 要登入才行)
 






電腦圖學筆記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(送上雲端) 
    



Ru的電腦圖學筆記>

 


第一個OPENGL程式

    1.安裝Codeblocks

    2.File/New/Project/OpenGL專案

    3.在[...]的目錄中點選<桌面>


    4.完成後,Build&Run,會看到旋轉的彩色三角形



 第一個GLUT專案
    1.Moodle下載freelut
    2.解壓縮 桌面 freeglut 目錄
    3.桌面的freeglut 裡的 lib 裡面的 libfreeglut.a 複製並改成libgult32.a
    4.Fild/New/Project/GLUT
    5.取名:week01_GLUT

    6.設定 GLUT目錄 C:\Users\......\Desktop\freeglut


    7.Build&Run,會看到六個圖形在轉動

Github程式備份
    1.登入 Github
    2.Repositories 新增專案倉庫
    3.取名2022graphics1,點選 Public-Add gitignore 用C++,按確認

    4.到 Moodle 安裝 Git for windows 後開啟 Git Bash
        -cd desktop 進入桌面
        -git clone https://github.com/MCUYeeZhiHua/2022graphics1
        -cd 2022graphics1


    5.這時桌面會新增<2022graphics1>資料夾,把2個程式檔案夾放進
        -git status 看狀態(會看到紅色2個目錄)
        -git add .  把它加進去
        -git status 在看狀態(變綠色)



    6.推送上雲端,要先有 commit 的動作,第一次使用時,需
        -git config --global user.email "09160501@me.mcu.edu.tw"
        -git config --global user.name "MCUYeeZhiHua"
        -git commit -m"add week01"
        -git push 推送上雲端 (預設瀏覽器要登入才行)

完成!!!💓💓💓💓💓💓💓💓💓


        





VERY BEAUTIFUL, VERY POWERFUL

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