Kuo's Graphic_Note_Week04
Step 1 : Using Example (Transfotmation.exe) to Know What We Want to Make.
1-1.Download Example
1-2. Put file "data" to file "windows"
1-3. Open example (Path:windows/Transformation.exe)
1-4. Open Transformation.exe
1-5. Right click can change model
1-6. Change data
Step 2 : Using CodeBlocks to set Coordinatea
2-1. Create a new GLUT Project
2-2. Coding
2-3. Build & Run (Result: x = 0.3 , y = 0.2 , z = 0.0)
2-4. Coding
2-5. Build & Run
Step 3 : Using CodeBlocks to Accomplish Mouse Control
3-1. Create a new GLUT project
3-2. Coding
3-3. Build & Run (Result:Mouse tracing)
Step 4 : Mixed Step 2 and Step 3
4-1. Coding
4-2. Build & Run (Result:Teapot moves with mouse)
4-4. Build & Run (Result:Mouse tracing & connect it)
沒有留言:
張貼留言