首页 课程资源 C/C++     /    用OpenGL绘制三维动物并实现移动、视角切换等功能

用OpenGL绘制三维动物并实现移动、视角切换等功能

上传者: shijun1993 | 上传时间:2023/7/27 2:43:37 | 文件大小:13.75MB | 文件类型:rar
用OpenGL绘制三维动物并实现移动、视角切换等功能
在visualstudio2010下用OpenGL函数库绘制三维动物(本例中为两只小猪),可实现分别控制两只动物,使其左转、右转、沿头部前进、沿尾部后退、放大、缩小功能,默认视角为第三人称视角,通过右键菜单可切换至第一人称视角(其中一只动物的视角),且视角会随着动物的移动而变化,在第三人称和第一人称下,均可通过键盘控制改变观察者和观察点的位置。

文件下载

资源详情

[{"title":"(34个子文件13.75MB)用OpenGL绘制三维动物并实现移动、视角切换等功能","children":[{"title":"说明.txt <span style='color:#111;'>527B</span>","children":null,"spread":false},{"title":"myThreeDimPig2","children":[{"title":"ipch","children":[{"title":"mythreedimpig2-2def27ec","children":[{"title":"mythreedimpig2-58fba8b6.ipch <span style='color:#111;'>44.38MB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Debug","children":[{"title":"myThreeDimPig2.exe <span style='color:#111;'>32.00KB</span>","children":null,"spread":false},{"title":"myThreeDimPig2.pdb <span style='color:#111;'>611.00KB</span>","children":null,"spread":false}],"spread":true},{"title":"myThreeDimPig2.suo <span style='color:#111;'>12.50KB</span>","children":null,"spread":false},{"title":"myThreeDimPig2","children":[{"title":"myThreeDimPig2.vcxproj.filters <span style='color:#111;'>953B</span>","children":null,"spread":false},{"title":"myThreeDimPig2.vcxproj <span style='color:#111;'>3.83KB</span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"myThreeDimPig2.lastbuildstate <span style='color:#111;'>93B</span>","children":null,"spread":false},{"title":"myThreeDimPig2.log <span style='color:#111;'>2.26KB</span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'>576B</span>","children":null,"spread":false},{"title":"vc100.idb <span style='color:#111;'>523.00KB</span>","children":null,"spread":false},{"title":"mt.read.1.tlog <span style='color:#111;'>918B</span>","children":null,"spread":false},{"title":"myThreeDimPig2.write.1.tlog <span style='color:#111;'>0B</span>","children":null,"spread":false},{"title":"myThreeDimPig2.vcxprojResolveAssemblyReference.cache <span style='color:#111;'>713B</span>","children":null,"spread":false},{"title":"rc.command.1.tlog <span style='color:#111;'>758B</span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'>1.54KB</span>","children":null,"spread":false},{"title":"vc100.pdb <span style='color:#111;'>276.00KB</span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'>21.47KB</span>","children":null,"spread":false},{"title":"mt.write.1.tlog <span style='color:#111;'>446B</span>","children":null,"spread":false},{"title":"rc.read.1.tlog <span style='color:#111;'>478B</span>","children":null,"spread":false},{"title":"myThreeDimPig2.exe.embed.manifest.res <span style='color:#111;'>68B</span>","children":null,"spread":false},{"title":"mt.command.1.tlog <span style='color:#111;'>636B</span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'>824B</span>","children":null,"spread":false},{"title":"myThreeDimPig2.exe.embed.manifest <span style='color:#111;'>2B</span>","children":null,"spread":false},{"title":"cl.command.1.tlog <span style='color:#111;'>810B</span>","children":null,"spread":false},{"title":"main.obj <span style='color:#111;'>99.50KB</span>","children":null,"spread":false},{"title":"myThreeDimPig2_manifest.rc <span style='color:#111;'>218B</span>","children":null,"spread":false},{"title":"rc.write.1.tlog <span style='color:#111;'>486B</span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'>3.26KB</span>","children":null,"spread":false},{"title":"myThreeDimPig2.exe.intermediate.manifest <span style='color:#111;'>381B</span>","children":null,"spread":false}],"spread":false},{"title":"main.cpp <span style='color:#111;'>12.80KB</span>","children":null,"spread":false},{"title":"myThreeDimPig2.vcxproj.user <span style='color:#111;'>143B</span>","children":null,"spread":false}],"spread":true},{"title":"myThreeDimPig2.sdf <span style='color:#111;'>26.96MB</span>","children":null,"spread":false},{"title":"myThreeDimPig2.sln <span style='color:#111;'>909B</span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • qq_39090123:
    不错,可以用,但是好像没启用depth_test2018-04-27
  • SJN97:
    不错,可以用,但是好像没启用depth_test2018-04-27
  • zhou808wen:
    解决了我这几天的困扰,非常感谢!2016-04-21
  • Wenoun:
    解决了我这几天的困扰,非常感谢!2016-04-21
  • xiaoyao970862315:
    学习相机与视角的好案例。小猪的第一人称漫游功能是ok的,但是所谓的第三人称视角,不是我想要的那种效果。另外,实在是太贵了!!2016-01-30
  • xiaoyao970862315:
    学习相机与视角的好案例。小猪的第一人称漫游功能是ok的,但是所谓的第三人称视角,不是我想要的那种效果。另外,实在是太贵了!!2016-01-30
  • z112256:
    不错不错,可以用来参考一下,之前还愁没有实验例子2015-12-30
  • z112256:
    不错不错,可以用来参考一下,之前还愁没有实验例子2015-12-30
  • coldchen:
    代码有点乱,而且部分代码没有用到,但是作者却没删除。2015-10-29
  • Cold-137:
    代码有点乱,而且部分代码没有用到,但是作者却没删除。2015-10-29

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明