【C++】3D场景漫游3.0版程序源码by浅墨

上传者: zhmxy555 | 上传时间: 2020-01-04 03:15:22 | 文件大小: 10.67MB | 文件类型: rar
零资源分下载,分享精神至上~ 3.0版新加入三维天空模拟系统。 其中的3D人物模型使用的是真三国无双6中的一个女角色。 背景音乐为仙剑奇侠传3主题曲。 一个综合型的Direct3D示例程序的3.0版。 用键盘上W,A,S,D,I,J,K,L,↑,↓,←,→12个键加上鼠标在美丽的三维空间中翱翔。包括了Direct3D初始化,DirectInput输入处理,顶点缓存,光照与材质,文字输出,颜色,纹理贴图,四大变换,网格模型,X文件载入等等知识(当然还有默认被开启的深度缓存),地形系统模拟,三维天空模拟。 源码的配套博文是 《【Visual C++】游戏开发四十九 浅墨DirectX教程十七 三维天空的实现》 ,文章地址为http://blog.csdn.net/zhmxy555/article/details/8715196, 点击Release文件夹下的exe文件可以直接看到运行效果,运行需要DirectX运行库的支持。报缺少D3D的DLL系列错误的童鞋们请google/百度一下 “DirectX 9.0c runtime”,下载并装个最新版的。 报缺少MVCR100D.Dll错误的朋友们去下一个安装就可以了,或者直接点击sln打开工程再次编译一次。 如果是想调试并运行源代码,但是报错了,请去下载最新版DirectX SDK并进行DirectX开发环境的配置。 编写环境:VS2010 我的博客地址是http://blog.csdn.net/zhmxy555,源码结合配套文章一起看效果更佳。 希望能和大家一起交流,共同学习,共同进步。

文件下载

资源详情

[{"title":"( 57 个子文件 10.67MB ) 【C++】3D场景漫游3.0版程序源码by浅墨","children":[{"title":"D3Ddemo17 by浅墨","children":[{"title":"Release","children":[{"title":"D3Ddemo17.pdb <span style='color:#111;'> 803.00KB </span>","children":null,"spread":false},{"title":"5611_2.bmp <span style='color:#111;'> 3.00MB </span>","children":null,"spread":false},{"title":"GameMedia","children":[{"title":"backsnow1.jpg <span style='color:#111;'> 48.45KB </span>","children":null,"spread":false},{"title":"topsnow1.jpg <span style='color:#111;'> 28.28KB </span>","children":null,"spread":false},{"title":"rightsnow1.jpg <span style='color:#111;'> 45.07KB </span>","children":null,"spread":false},{"title":"icon.ico <span style='color:#111;'> 131.69KB </span>","children":null,"spread":false},{"title":"leftsnow1.jpg <span style='color:#111;'> 35.67KB </span>","children":null,"spread":false},{"title":"frontsnow1.jpg <span style='color:#111;'> 40.02KB </span>","children":null,"spread":false},{"title":"heighmap.raw <span style='color:#111;'> 117.19KB </span>","children":null,"spread":false},{"title":"terrainstone.jpg <span style='color:#111;'> 663.57KB </span>","children":null,"spread":false},{"title":"仙剑三·原版主题曲.wav <span style='color:#111;'> 8.18MB </span>","children":null,"spread":false}],"spread":true},{"title":"D3Ddemo17.exe <span style='color:#111;'> 39.50KB </span>","children":null,"spread":false},{"title":"95.X <span style='color:#111;'> 3.23MB </span>","children":null,"spread":false}],"spread":true},{"title":"D3Ddemo17.sln <span style='color:#111;'> 894B </span>","children":null,"spread":false},{"title":"D3Ddemo17.suo <span style='color:#111;'> 14.50KB </span>","children":null,"spread":false},{"title":"D3Ddemo17","children":[{"title":"SkyBoxClass.cpp <span style='color:#111;'> 5.52KB </span>","children":null,"spread":false},{"title":"Release","children":[{"title":"CameraClass.obj <span style='color:#111;'> 201.67KB </span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'> 3.64KB </span>","children":null,"spread":false},{"title":"SkyBoxClass.obj <span style='color:#111;'> 199.50KB </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 88.67KB </span>","children":null,"spread":false},{"title":"mt.read.1.tlog <span style='color:#111;'> 736B </span>","children":null,"spread":false},{"title":"mt.command.1.tlog <span style='color:#111;'> 460B </span>","children":null,"spread":false},{"title":"cl.command.1.tlog <span style='color:#111;'> 3.36KB </span>","children":null,"spread":false},{"title":"main.obj <span style='color:#111;'> 869.12KB </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 1010B </span>","children":null,"spread":false},{"title":"TerrainClass.obj <span style='color:#111;'> 934.39KB </span>","children":null,"spread":false},{"title":"DirectInputClass.obj <span style='color:#111;'> 56.99KB </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 4.18KB </span>","children":null,"spread":false},{"title":"D3Ddemo17.log <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false},{"title":"mt.write.1.tlog <span style='color:#111;'> 276B </span>","children":null,"spread":false},{"title":"D3Ddemo17.exe.intermediate.manifest <span style='color:#111;'> 381B </span>","children":null,"spread":false},{"title":"D3Ddemo17.lastbuildstate <span style='color:#111;'> 58B </span>","children":null,"spread":false},{"title":"vc100.pdb <span style='color:#111;'> 388.00KB </span>","children":null,"spread":false}],"spread":false},{"title":"D3Ddemo17.vcxproj.filters <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false},{"title":"TerrainClass.h <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"CameraClass.cpp <span style='color:#111;'> 9.59KB </span>","children":null,"spread":false},{"title":"5611_2.bmp <span style='color:#111;'> 3.00MB </span>","children":null,"spread":false},{"title":"GameMedia","children":[{"title":"backsnow1.jpg <span style='color:#111;'> 48.45KB </span>","children":null,"spread":false},{"title":"topsnow1.jpg <span style='color:#111;'> 28.28KB </span>","children":null,"spread":false},{"title":"rightsnow1.jpg <span style='color:#111;'> 45.07KB </span>","children":null,"spread":false},{"title":"icon.ico <span style='color:#111;'> 131.69KB </span>","children":null,"spread":false},{"title":"leftsnow1.jpg <span style='color:#111;'> 35.67KB </span>","children":null,"spread":false},{"title":"frontsnow1.jpg <span style='color:#111;'> 40.02KB </span>","children":null,"spread":false},{"title":"heighmap.raw <span style='color:#111;'> 117.19KB </span>","children":null,"spread":false},{"title":"terrainstone.jpg <span style='color:#111;'> 663.57KB </span>","children":null,"spread":false},{"title":"仙剑三·原版主题曲.wav <span style='color:#111;'> 8.18MB </span>","children":null,"spread":false}],"spread":true},{"title":"CameraClass.h <span style='color:#111;'> 2.22KB </span>","children":null,"spread":false},{"title":"D3Ddemo17.vcxproj.user <span style='color:#111;'> 143B </span>","children":null,"spread":false},{"title":"SkyBoxClass.h <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"DirectInputClass.cpp <span style='color:#111;'> 4.49KB </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 24.76KB </span>","children":null,"spread":false},{"title":"TerrainClass.cpp <span style='color:#111;'> 7.71KB </span>","children":null,"spread":false},{"title":"D3Ddemo17.vcxproj <span style='color:#111;'> 4.25KB </span>","children":null,"spread":false},{"title":"95.X <span style='color:#111;'> 3.23MB </span>","children":null,"spread":false},{"title":"D3DUtil.h <span style='color:#111;'> 737B </span>","children":null,"spread":false},{"title":"DirectInputClass.h <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

  • iDaDi :
    非常感谢浅墨大的程序,获益匪浅
    2019-03-14
  • LAST_NEW_BOY :
    非常不错,参考一下
    2019-03-07
  • zhaohpo :
    非常好的资源 ,值得学习
    2018-04-23
  • lx5464 :
    非常好的资源 ,值得学习
    2017-10-10
  • zenigame :
    非常好,直接编译成功
    2017-06-05

免责申明

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