哈哈哈哈
今天上課教了3個作業,OPENGL, WEBGL,GLUT
1.OPENGL
1-1 codeblocks,File-new-project, 選OpenGL專案,記得
2.madebyevan的webgl water作品 水裏面的球
3. freeglut專案
1.moodle下載freeglut
2.解壓縮到桌面freeglut
複製短的libfreeglut.a再貼上
3.改檔名 lib/libglut32.a
4.file-new-project,glut專案
4 建github倉庫
1.登入 github
2.建 2022graphics 的repo倉庫
2.1.要設定 Public
2.2.要README.md
2.3. Add .gitignore 設定 c++
3. 利用 git指令下載
3.0. 安裝 git for windows
3.1. 開啟 git bash
3.2. cd desktop 進入桌面
3.2. git clone https://你的倉庫網址
3.3.查看 桌面,多了 2022grphics 目錄
3.4. 把今天的程式 複製到 剛剛目錄
4. 把修改的資料,推送到雲端
4.1. cd 2022graphics 進入你的倉庫
4.2. git status 看你的狀況
4.3. git add. 把檔案加進帳冊
4.4. git status 再看一次
這裡要加入
git config --global user.email "你的email"
git config --global user.name "你的名"
git commit -m "上傳第一周"
4.5. git push 推送到雲端,but要登入
4.6. 在chrome記得再登入
沒有留言:
張貼留言