实例介绍
程序实现太阳系模型,包括太阳在内所有星球纹理映射,实现所有星球公转自转的模拟,鼠标左键按住可通过移动鼠标调整视角。
【实例截图】
【核心代码】
9404d82c-6125-4495-9a46-f4a2c9b0be50
└── IMA4134 - Base1
├── Debug
│ ├── FreeImage.dll
│ ├── glew32.dll
│ ├── OpenGL.exe
│ ├── OpenGL.exp
│ ├── OpenGL.ilk
│ ├── OpenGL.lib
│ └── OpenGL.pdb
├── IMA4134.opensdf
├── IMA4134.sdf
├── IMA4134.sln
├── IMA4134.suo
├── ipch
│ └── opengl-2b04a454
│ └── opengl-bcb87db1.ipch
├── NeHe's Readme.txt
├── OpenGL
│ ├── 1.jpg
│ ├── Ball.cpp
│ ├── Ball.h
│ ├── BasicVector.cpp
│ ├── BasicVector.h
│ ├── C3DObject.cpp
│ ├── C3DObject.h
│ ├── Debug
│ │ ├── Ball.obj
│ │ ├── BasicVector.obj
│ │ ├── C3DObject.obj
│ │ ├── cl.command.1.tlog
│ │ ├── CL.read.1.tlog
│ │ ├── CL.write.1.tlog
│ │ ├── Cone.obj
│ │ ├── Cube.obj
│ │ ├── glUtils.obj
│ │ ├── link.1284-cvtres.read.1.tlog
│ │ ├── link.1284-cvtres.write.1.tlog
│ │ ├── link.1284.read.1.tlog
│ │ ├── link.1284.write.1.tlog
│ │ ├── link.1932-cvtres.read.1.tlog
│ │ ├── link.1932-cvtres.write.1.tlog
│ │ ├── link.1932.read.1.tlog
│ │ ├── link.1932.write.1.tlog
│ │ ├── link.3612-cvtres.read.1.tlog
│ │ ├── link.3612-cvtres.write.1.tlog
│ │ ├── link.3612.read.1.tlog
│ │ ├── link.3612.write.1.tlog
│ │ ├── link.4060-cvtres.read.1.tlog
│ │ ├── link.4060-cvtres.write.1.tlog
│ │ ├── link.4060.read.1.tlog
│ │ ├── link.4060.write.1.tlog
│ │ ├── link.4708-cvtres.read.1.tlog
│ │ ├── link.4708-cvtres.write.1.tlog
│ │ ├── link.4708.read.1.tlog
│ │ ├── link.4708.write.1.tlog
│ │ ├── link.5052-cvtres.read.1.tlog
│ │ ├── link.5052-cvtres.write.1.tlog
│ │ ├── link.5052.read.1.tlog
│ │ ├── link.5052.write.1.tlog
│ │ ├── link.5236-cvtres.read.1.tlog
│ │ ├── link.5236-cvtres.write.1.tlog
│ │ ├── link.5236.read.1.tlog
│ │ ├── link.5236.write.1.tlog
│ │ ├── link.5588-cvtres.read.1.tlog
│ │ ├── link.5588-cvtres.write.1.tlog
│ │ ├── link.5588.read.1.tlog
│ │ ├── link.5588.write.1.tlog
│ │ ├── link.5812-cvtres.read.1.tlog
│ │ ├── link.5812-cvtres.write.1.tlog
│ │ ├── link.5812.read.1.tlog
│ │ ├── link.5812.write.1.tlog
│ │ ├── link.5940-cvtres.read.1.tlog
│ │ ├── link.5940-cvtres.write.1.tlog
│ │ ├── link.5940.read.1.tlog
│ │ ├── link.5940.write.1.tlog
│ │ ├── link.6104-cvtres.read.1.tlog
│ │ ├── link.6104-cvtres.write.1.tlog
│ │ ├── link.6104.read.1.tlog
│ │ ├── link.6104.write.1.tlog
│ │ ├── link.6892-cvtres.read.1.tlog
│ │ ├── link.6892-cvtres.write.1.tlog
│ │ ├── link.6892.read.1.tlog
│ │ ├── link.6892.write.1.tlog
│ │ ├── link.836-cvtres.read.1.tlog
│ │ ├── link.836-cvtres.write.1.tlog
│ │ ├── link.836.read.1.tlog
│ │ ├── link.836.write.1.tlog
│ │ ├── link.command.1.tlog
│ │ ├── link-cvtres.read.1.tlog
│ │ ├── link-cvtres.write.1.tlog
│ │ ├── link.read.1.tlog
│ │ ├── link.write.1.tlog
│ │ ├── mt.command.1.tlog
│ │ ├── mt.read.1.tlog
│ │ ├── mt.write.1.tlog
│ │ ├── NullObject.obj
│ │ ├── nvModelObj.obj
│ │ ├── OpenGLApp.obj
│ │ ├── OpenGL.exe.embed.manifest
│ │ ├── OpenGL.exe.embed.manifest.res
│ │ ├── OpenGL.exe.intermediate.manifest
│ │ ├── OpenGL.lastbuildstate
│ │ ├── OpenGL.log
│ │ ├── OpenGL_manifest.rc
│ │ ├── OpenGL.obj
│ │ ├── OpenGL.write.1.tlog
│ │ ├── Planet.obj
│ │ ├── rc.command.1.tlog
│ │ ├── rc.read.1.tlog
│ │ ├── rc.write.1.tlog
│ │ ├── Sphere.obj
│ │ ├── Timer.obj
│ │ ├── vc100.idb
│ │ └── vc100.pdb
│ ├── FreeImage
│ │ ├── FreeImage.dll
│ │ ├── FreeImage.h
│ │ └── FreeImage.lib
│ ├── glew-1.7.0
│ │ ├── bin
│ │ │ ├── glew32.dll
│ │ │ ├── glew32mx.dll
│ │ │ ├── glewinfo.exe
│ │ │ └── visualinfo.exe
│ │ ├── doc
│ │ │ ├── advanced.html
│ │ │ ├── basic.html
│ │ │ ├── build.html
│ │ │ ├── credits.html
│ │ │ ├── glew.css
│ │ │ ├── glew.html
│ │ │ ├── glew.png
│ │ │ ├── glew.txt
│ │ │ ├── glxew.html
│ │ │ ├── gpl.txt
│ │ │ ├── index.html
│ │ │ ├── install.html
│ │ │ ├── khronos.txt
│ │ │ ├── log.html
│ │ │ ├── mesa.txt
│ │ │ ├── new.png
│ │ │ ├── ogl_sm.jpg
│ │ │ └── wglew.html
│ │ ├── include
│ │ │ └── GL
│ │ │ ├── glew.h
│ │ │ ├── glxew.h
│ │ │ └── wglew.h
│ │ ├── lib
│ │ │ ├── glew32.lib
│ │ │ ├── glew32mx.lib
│ │ │ ├── glew32mxs.lib
│ │ │ └── glew32s.lib
│ │ ├── LICENSE.txt
│ │ ├── README.txt
│ │ └── TODO.txt
│ ├── glUtils.cpp
│ ├── glUtils.h
│ ├── nvModel.h
│ ├── nvModelObj.cpp
│ ├── OpenGLApp.cpp
│ ├── OpenGLApp.h
│ ├── OpenGL.cpp
│ ├── OpenGL.vcxproj
│ ├── OpenGL.vcxproj.filters
│ ├── OpenGL.vcxproj.user
│ ├── Planet.cpp
│ ├── Planet.h
│ ├── Release
│ │ ├── BasicVector.obj
│ │ ├── C3DObject.obj
│ │ ├── cl.command.1.tlog
│ │ ├── CL.read.1.tlog
│ │ ├── CL.write.1.tlog
│ │ ├── glUtils.obj
│ │ ├── link.command.1.tlog
│ │ ├── link.read.1.tlog
│ │ ├── link.write.1.tlog
│ │ ├── mt.command.1.tlog
│ │ ├── mt.read.1.tlog
│ │ ├── mt.write.1.tlog
│ │ ├── OpenGLApp.obj
│ │ ├── OpenGL.exe.intermediate.manifest
│ │ ├── OpenGL.lastbuildstate
│ │ ├── OpenGL.log
│ │ ├── OpenGL.obj
│ │ ├── Timer.obj
│ │ └── vc100.pdb
│ ├── Sphere.cpp
│ ├── Sphere.h
│ ├── TEX
│ │ ├── Etoiles.bmp
│ │ ├── jupiter.bmp
│ │ ├── lune.bmp
│ │ ├── mars.bmp
│ │ ├── mercure.bmp
│ │ ├── neptune.bmp
│ │ ├── Particule.bmp
│ │ ├── pluton.bmp
│ │ ├── saturne.bmp
│ │ ├── soleil.bmp
│ │ ├── Stars.bmp
│ │ ├── terre.bmp
│ │ ├── Thumbs.db
│ │ ├── uranus.bmp
│ │ └── venus.bmp
│ ├── Timer.cpp
│ └── Timer.h
└── Release
├── FreeImage.dll
├── glew32.dll
├── OpenGL.exe
└── OpenGL.pdb
16 directories, 197 files
标签:
相关软件
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论