Description: 这个是用OpenGL做的具有光照和纹理效果的模拟太阳、地地球和月亮公转和自转的程序,适合演示地理课程中的公转和自转。
-This is done using OpenGL lighting and texture effects to simulate the sun, Earth and the revolution and rotation of the moon program, suitable for the demonstration in the geography curriculum revolution and rotation. Platform: |
Size: 1563648 |
Author:liming |
Hits:
Description: 该实验以太阳系的八大行星为理论基础,通过对各个行星的大小、与太阳的距离,自转周期和公转周期等参数进行设置,采用基于C语言,调用OpenGL的库函数来完成对太阳系的模拟。包括太阳、八大行星及月亮围绕地球转的模拟,为了是效果更加逼真,为各个球体添加纹理。其中八大行星分别为:水星(Mercury)、金星(Venus)、地球(Earth)、火星(Mars)、木星(Jupiter)、土星(Saturn)、天王星(Uranus)和海王星(Neptune),这八颗行星都在地球绕太阳公转的轨道平面的附近,轨道都以太阳为椭圆的一个焦点,并且越靠近太阳时的速度越快。-The experiment based on the theory of the eight planets of the solar system, based on the size of the planets, and the distance the sun, the rotation and the set parameters such as cycle, based on the C language, call the OpenGL library functions to complete simulation of the solar system.Including the sun, the eight planets and the moon around the earth simulation, in order to be effect more lifelike, add texture for each ball.The eight planets are: Mercury (Mercury), Venus (Venus), the Earth (Earth), Mars (Mars) (Jupiter, Saturn, Jupiter, Saturn), Uranus (Uranus) and Neptune (Neptune), the eight planets are near the plane of Earth s orbit around the sun, orbit the sun as a focus of the ellipse, the faster and more close to the sun. Platform: |
Size: 2729984 |
Author:likaimin |
Hits: