[OpenGL]利用OpenGL、GLUT实现图形点选和图形拖拽

上传者: xiaonature | 上传时间: 2021-05-10 09:35:34 | 文件大小: 719KB | 文件类型: RAR
小弟我初学OpenGL,为了研究OpenGL的透视原理和图形点选、拖拽原理,摸索编写了此程序,希望能对此方面感兴趣的同道有所帮助。 使用说明: 1、单击左键可点选图形。 2、点选图形后,按住左键可拖拽图形。 3、点选图形后,Release左键,单击右键可改变图形的深度或还原视景体。 4、按住滚轮移动鼠标可旋转视景体。

文件下载

资源详情

[{"title":"( 38 个子文件 719KB ) [OpenGL]利用OpenGL、GLUT实现图形点选和图形拖拽","children":[{"title":"小弟我初学OpenGL,摸索做的此程序,附上简历!嘿嘿","children":[{"title":"简历-杨强1.jpg <span style='color:#111;'> 124.55KB </span>","children":null,"spread":false},{"title":"简历-杨强2.jpg <span style='color:#111;'> 124.36KB </span>","children":null,"spread":false}],"spread":true},{"title":"Game.suo <span style='color:#111;'> 22.50KB </span>","children":null,"spread":false},{"title":"Game","children":[{"title":"glut.h <span style='color:#111;'> 27.02KB </span>","children":null,"spread":false},{"title":"Func.c <span style='color:#111;'> 442B </span>","children":null,"spread":false},{"title":"PinP.c <span style='color:#111;'> 5.87KB </span>","children":null,"spread":false},{"title":"Define.h <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false},{"title":"ext.h <span style='color:#111;'> 415B </span>","children":null,"spread":false},{"title":"Game.c <span style='color:#111;'> 31.04KB </span>","children":null,"spread":false},{"title":"glut32.lib <span style='color:#111;'> 27.84KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"PinP.obj <span style='color:#111;'> 12.14KB </span>","children":null,"spread":false},{"title":"vc70.idb <span style='color:#111;'> 43.00KB </span>","children":null,"spread":false},{"title":"glut32.dll <span style='color:#111;'> 208.00KB </span>","children":null,"spread":false},{"title":"Func.obj <span style='color:#111;'> 3.62KB </span>","children":null,"spread":false},{"title":"vc70.pdb <span style='color:#111;'> 60.00KB </span>","children":null,"spread":false},{"title":"BuildLog.htm <span style='color:#111;'> 833B </span>","children":null,"spread":false},{"title":"Game.pdb <span style='color:#111;'> 371.00KB </span>","children":null,"spread":false},{"title":"Game.pch <span style='color:#111;'> 256.00KB </span>","children":null,"spread":false},{"title":"Game.exe <span style='color:#111;'> 108.00KB </span>","children":null,"spread":false},{"title":"Mem.obj <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false},{"title":"Game.obj <span style='color:#111;'> 46.91KB </span>","children":null,"spread":false}],"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"Game.h <span style='color:#111;'> 99B </span>","children":null,"spread":false},{"title":"Release","children":[{"title":"PinP.obj <span style='color:#111;'> 10.11KB </span>","children":null,"spread":false},{"title":"vc70.idb <span style='color:#111;'> 43.00KB </span>","children":null,"spread":false},{"title":"glut32.dll <span style='color:#111;'> 208.00KB </span>","children":null,"spread":false},{"title":"Func.obj <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false},{"title":"vc70.pdb <span style='color:#111;'> 60.00KB </span>","children":null,"spread":false},{"title":"BuildLog.htm <span style='color:#111;'> 2.41KB </span>","children":null,"spread":false},{"title":"Game.pdb <span style='color:#111;'> 259.00KB </span>","children":null,"spread":false},{"title":"Game.pch <span style='color:#111;'> 256.00KB </span>","children":null,"spread":false},{"title":"Game.exe <span style='color:#111;'> 56.00KB </span>","children":null,"spread":false},{"title":"Mem.obj <span style='color:#111;'> 2.39KB </span>","children":null,"spread":false},{"title":"Game.obj <span style='color:#111;'> 38.64KB </span>","children":null,"spread":false}],"spread":false},{"title":"Vexture.c <span style='color:#111;'> 7.61KB </span>","children":null,"spread":false},{"title":"Game.vcproj <span style='color:#111;'> 3.84KB </span>","children":null,"spread":false},{"title":"Mem.c <span style='color:#111;'> 427B </span>","children":null,"spread":false}],"spread":false},{"title":"Game.sln <span style='color:#111;'> 902B </span>","children":null,"spread":false}],"spread":true}]

评论信息

  • gryphenheart :
    不错,很有价值
    2018-11-19
  • shuitong123 :
    不能用鼠标直接拖拽
    2016-04-25
  • u010191544 :
    谢谢LZ,是LZ自己做的,让我很好的学习了OPENGL。
    2015-11-26
  • zhaoj_cn :
    还不错,有一定的参考价值
    2015-11-06
  • tianshuai12 :
    可惜不是三维效果,代码跟我的差不多,为什么我拖拽三维图形的时候会部分丢失呢
    2014-12-20
  • xuegao0807 :
    不错 挺好用的 仔细研究一下~~
    2014-10-23
  • zh512871154 :
    新手,还在学习中.....
    2014-02-14
  • zx5234104 :
    居然是C语言的,有C++的就好了
    2013-10-18
  • zyp2524153 :
    不错,可以当成学习opengl的教程
    2013-04-06
  • Henson1112 :
    还不错,通过摘抄里面的代码,我自己的功能实现了
    2012-07-26

免责申明

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