Presentation is loading. Please wait.

Presentation is loading. Please wait.

CG Final Project-solar system Advisor: Shing-Min Liu Student : Che-Wei Hsu Date:2011/01/09.

Similar presentations


Presentation on theme: "CG Final Project-solar system Advisor: Shing-Min Liu Student : Che-Wei Hsu Date:2011/01/09."— Presentation transcript:

1 CG Final Project-solar system Advisor: Shing-Min Liu Student : Che-Wei Hsu Date:2011/01/09

2 outline Introduction Technology Conclusion DEMO

3 Introduction

4 Google Earth is a virtual globe, map and geographical information program. It displays satellite images, 3D Buildings,map,street view of the Earth's surface

5 Introduction Satellite images of the Moon and Mars. Shows information about constellations and other space sights visible

6 Introduction I try to create my solar system like google earth !!! But It’s difficult.

7 Technology Use skill that learned in CG class. Use OpenGL with glut. Use texture to draw surface of plant. Enable light Enable RGBA Draw Solar system according to real Scale model –But not precise –Because some plant will be too small.

8 Technology plantDiameterDistance Sun 44.6 m (146 ft) 零 Mercury 15 cm (6) 1.9 公里 (1.2 mi) Venus 38 cm (15) 3.5 公里 (2.2 mi) Earth 41 cm (16) 4.8 公里 (3.0 mi) Moon 10 cm (4) 12 m (40 ft) 從地球 Mars 23 cm (9) 7.2 公里 (4.5 mi) Jupiter 4.55 m (15 ft) 24.9 公里 (15.5 mi) Scale model of Solar system

9 Technology 繪製水星 glPushMatrix (); glDisable(GL_LIGHT0); glRotatef(mep_Angle, 0.0f, 1.0f, 0.0f);// 控制水星公轉 glRotatef(-90.0f, 1.0f, 0.0f, 0.0f); gluDisk(quadric, mes_dis-0.01, mes_dis, 300, 300);// 繪製水星軌道 glEnable(GL_TEXTURE_2D );// 開啟紋理 glTranslatef(mes_dis, 0.0f, 0.0f);// 將坐標系右移設定太陽間距 glBindTexture(GL_TEXTURE_2D, texture[4]);// 綁定紋理 glPushMatrix (); glRotatef(mes_Angle, 0.0f, 0.0f, 1.0f);// 控制水星自轉 gluSphere(quadric, 0.03f, 32, 32);// 水星球體 glPopMatrix ();

10 Technology Function –Speed up / dowm –Zoom in /out

11 DEMO

12

13 Demo


Download ppt "CG Final Project-solar system Advisor: Shing-Min Liu Student : Che-Wei Hsu Date:2011/01/09."

Similar presentations


Ads by Google