Presentation is loading. Please wait.

Presentation is loading. Please wait.

Graphics Graphics Korea University kucg.korea.ac.kr 1 Interaction and Animation 고려대학교 컴퓨터 그래픽스 연구실.

Similar presentations


Presentation on theme: "Graphics Graphics Korea University kucg.korea.ac.kr 1 Interaction and Animation 고려대학교 컴퓨터 그래픽스 연구실."— Presentation transcript:

1 Graphics Graphics Lab @ Korea University kucg.korea.ac.kr 1 Interaction and Animation 고려대학교 컴퓨터 그래픽스 연구실

2 KUCG Graphics Lab @ Korea University kucg.korea.ac.kr 2 2D Polygon

3 KUCG Graphics Lab @ Korea University kucg.korea.ac.kr 3 Reshape

4 KUCG Graphics Lab @ Korea University kucg.korea.ac.kr 4 Result – Reshape

5 KUCG Graphics Lab @ Korea University kucg.korea.ac.kr 5 Animation – Rotating a Square Four Vertices of the Square to Lie at Four Equally Spaced Points on a Circle (-cosθ, -sinθ) (-sinθ, cosθ) (cosθ, sinθ) (sinθ, -cosθ)

6 KUCG Graphics Lab @ Korea University kucg.korea.ac.kr 6 Class Wizard

7 KUCG Graphics Lab @ Korea University kucg.korea.ac.kr 7 New Variables

8 KUCG Graphics Lab @ Korea University kucg.korea.ac.kr 8 Constructor

9 KUCG Graphics Lab @ Korea University kucg.korea.ac.kr 9 OnCreate( )

10 KUCG Graphics Lab @ Korea University kucg.korea.ac.kr 10 OnSize( )

11 KUCG Graphics Lab @ Korea University kucg.korea.ac.kr 11 DrawScene( )

12 KUCG Graphics Lab @ Korea University kucg.korea.ac.kr 12 Math Header File

13 KUCG Graphics Lab @ Korea University kucg.korea.ac.kr 13 OnTimer( )

14 KUCG Graphics Lab @ Korea University kucg.korea.ac.kr 14 Result – Rotating a Square

15 KUCG Graphics Lab @ Korea University kucg.korea.ac.kr 15 Double Buffering (1/2)

16 KUCG Graphics Lab @ Korea University kucg.korea.ac.kr 16 Double Buffering (2/2)

17 KUCG Graphics Lab @ Korea University kucg.korea.ac.kr 17 Interaction by the Keyboard

18 KUCG Graphics Lab @ Korea University kucg.korea.ac.kr 18 Key Event Handling

19 KUCG Graphics Lab @ Korea University kucg.korea.ac.kr 19 Interaction by the Menu

20 KUCG Graphics Lab @ Korea University kucg.korea.ac.kr 20 Resources – Menu (1/2)

21 KUCG Graphics Lab @ Korea University kucg.korea.ac.kr 21 Resources – Menu (2/2)

22 KUCG Graphics Lab @ Korea University kucg.korea.ac.kr 22 Class Wizard

23 KUCG Graphics Lab @ Korea University kucg.korea.ac.kr 23 Callback Function

24 KUCG Graphics Lab @ Korea University kucg.korea.ac.kr 24 Exercises Rotate a square in the reverse direction if ‘R’ or ‘r’ is pressed Change the color of square randomly whenever the left mouse button is clicked


Download ppt "Graphics Graphics Korea University kucg.korea.ac.kr 1 Interaction and Animation 고려대학교 컴퓨터 그래픽스 연구실."

Similar presentations


Ads by Google