2022年3月10日 星期四

Kuo's Graphic_Note_Week03

Step 1 : Download File On GitHub

    1-1. Download Git-2.30.1-64-bit.exe


    1-2. Click "Next" until start install



    1-3. Open Git Bash


    1-4. Download File on Github (annotations are in picture)



Step 2 : Using Example (Shapes.exe) to Know What We Want to Make.

    2-1. Download Example (URL:https://jsyeh.org/3dcg10/)


    

    2-2. Open Shapes.exe


    2-3. Right click can change type of vertices

    

    2-4. Right click can change shape


 2-5. Data of vertice


2-6. Change data



Step 3 : Setting freeglut-MinGW to make the Files From Week01 Executable

    3-1. Unzip freeglut-MinGW-3.0.0-1.mp.zip


    3-2. Find the file name "libfreeglut.a"                                                                          ( Path : ".\freeglut-MinGW-3.0.0-1.mp\freeglut\lib" )

    

    3-3. Copy & Rename to "libglut32.a" 



Step 4 : Using CodeBlocks to make a Yellow Solid Teapot

    4-1. Coding (annotations are in the picture)


    4-2. Build & Run (Result:A Yellow Solid Teapot)



Step 5 : Using CodeBlocks to make a Colorful Solid Triangle

    5-1. Coding (annotations are in the picture)


    5-2. Build & Run (Result:A Colorful Solid Triangle)


Step 6 : Upload File (2022graphics) to GitHub

    6-1. Move file "week03_color_Triangle" & "week03_color_teapot" to file   "2022 graphics"



6-2. Upload to GitHub



6-3. Complete








沒有留言:

張貼留言