当前位置: 首页 > news >正文

WhyDX9:翻写D3D红龙书中的程序

 

之前写过一套学习OpenGL的框架:WhyGL,即然有了GL那也应该再写个学习D3D的框架:WhyDX9.两个程序的架构相同,然后这个程序是将D3D红龙那本书的DEMO翻写了一遍.先将可执行程序发一下,代码等整理后再发.

使用说明:

WhyDX9演示程序平台.exe
WhyDX9.exe
都可以运行程序,不同之处在于,一个是基本的Windows窗体程序,一个是MFC的单文档界面程序.

主UI界面上,鼠标点击可以选择要运行的DEMO
键盘的上下键也可以选择DEMO,PageUp和PageDown用于翻页,回车键用于启动选中的DEMO

F11键用于全屏切换,
ESC用于退出当前DEMO及退出全屏
每个DEMO都会将提示文字信息显示在界面上,H键可以隐藏文字.

下载地址:

http://files.cnblogs.com/WhyEngine/WhyDX9.zip

 

[RedDragon]
CRedDragon01 = Press any key to change background color


CRedDragon02 = Draw Rotating Cube And Grid


CRedDragon03 = Draw 5 ID3DXMesh


CRedDragon04 = Draw Rotating Teapot


CRedDragon05 = Draw One Triangle


CRedDragon06 = Draw Two Color Triangles


CRedDragon07 = Directional Light


CRedDragon08 = Light Pyramid


CRedDragon09 = Spot Light


CRedDragon10 = Point Light


CRedDragon11 = Texture Address Modes


CRedDragon12 = Texture Cube


CRedDragon13 = Texture Quad


CRedDragon14 = Texture Alpha


CRedDragon15 = Material Alpha


CRedDragon16 = Demonstrates mirrors with stencils


CRedDragon17 = Demonstrates shadows with stencils


CRedDragon18 = Demonstrates mirrors and shadows with stencils


CRedDragon19 = Render text with the ID3DXFont interface


CRedDragon20 = Render text with the CD3DFont class


CRedDragon21 = Create and render 3D Text using D3DXCreateText


CRedDragon22 = Create an empty ID3DXMesh object with D3DXCreateMeshFVF and fill it


CRedDragon23 = Demonstrates how to load and render an XFile


CRedDragon24 = Demonstrates how to use the progressive mesh interface (ID3DXPMesh)


CRedDragon25 = Demonstrates how to use D3DXComputeBoundingSphere and D3DXComputeBoundingBox


CRedDragon26 = Demonstrates using the Camera class


CRedDragon27 = Renders a terrain and allows you to walk around it


CRedDragon28 = Demonstrates the PSystem::Snow system


CRedDragon29 = Demonstrates the PSystem::Firework system


CRedDragon30 = Demonstrates the PSystem::ParticleGun system


CRedDragon31 = Demonstrates picking


CRedDragon32 = Transforming by the view project matrices and setting the vertex color using a vertex shader


CRedDragon33 = Demonstrates diffuse lighting using a vertex shader


CRedDragon34 = Demonstrates toon rendering using a vertex shader


CRedDragon35 = Demonstrates toon rendering with silhouette edges outlined using a vertex shader


CRedDragon36 = Demonstrates multi-texturing using a pixel shader


CRedDragon37 = Demonstrates using an effect file to light and texture a 3D model


CRedDragon38 = Demonstrates fog using an effect file


CRedDragon39 = Demonstrates toon rendering using a vertex shader in an effect file

 

[Flying]
CFlyingHelper = Flying Helper: Tell you how to create a demo


CFlying01 = Test YicPrimitive2DRender and draw some 2D graph

 

转载于:https://www.cnblogs.com/WhyEngine/p/3713464.html

相关文章:

  • hive行转多列LATERAL VIEW explode
  • POJ-1182-食物链 解题报告
  • 关于WCF开发 相应流程注意事项
  • asp.net mvc部署
  • [leetcode]_String to Integer (atoi)
  • 收到offer 7B
  • Python学习_算数运算函数
  • 【struts2】Result和ResultType
  • JVM调优[转]
  • cocos2d-x3.0 编译android出现的问题笔记  cocos2dx3.0 Android.mk No rule to make target
  • WCF学习笔记二
  • php利用新浪接口查询ip获取地理位置
  • 我的推送架构解决方案
  • Android NDK JNI C++ 13 pthread多线程
  • 铁大课表 详细设计说明书
  • Angular数据绑定机制
  • IE报vuex requires a Promise polyfill in this browser问题解决
  • Java多线程(4):使用线程池执行定时任务
  • Laravel 中的一个后期静态绑定
  • log4j2输出到kafka
  • Otto开发初探——微服务依赖管理新利器
  • Redis在Web项目中的应用与实践
  • 前端技术周刊 2018-12-10:前端自动化测试
  • 小程序 setData 学问多
  • - 语言经验 - 《c++的高性能内存管理库tcmalloc和jemalloc》
  • 运行时添加log4j2的appender
  • 说说我为什么看好Spring Cloud Alibaba
  • (11)工业界推荐系统-小红书推荐场景及内部实践【粗排三塔模型】
  • (2)MFC+openGL单文档框架glFrame
  • (8)STL算法之替换
  • (C)一些题4
  • (env: Windows,mp,1.06.2308310; lib: 3.2.4) uniapp微信小程序
  • (博弈 sg入门)kiki's game -- hdu -- 2147
  • (二)pulsar安装在独立的docker中,python测试
  • (二)springcloud实战之config配置中心
  • (附源码)springboot宠物管理系统 毕业设计 121654
  • (三)elasticsearch 源码之启动流程分析
  • (一)80c52学习之旅-起始篇
  • (已解决)什么是vue导航守卫
  • (原)Matlab的svmtrain和svmclassify
  • (原創) 如何優化ThinkPad X61開機速度? (NB) (ThinkPad) (X61) (OS) (Windows)
  • (转)http协议
  • (转)linux下的时间函数使用
  • (转)ObjectiveC 深浅拷贝学习
  • (转)scrum常见工具列表
  • (转载)利用webkit抓取动态网页和链接
  • **CI中自动类加载的用法总结
  • .a文件和.so文件
  • .net core webapi 部署iis_一键部署VS插件:让.NET开发者更幸福
  • .NET Core 和 .NET Framework 中的 MEF2
  • .net项目IIS、VS 附加进程调试
  • /etc/shadow字段详解
  • @Documented注解的作用
  • [ 云计算 | AWS 实践 ] 基于 Amazon S3 协议搭建个人云存储服务
  • [ABP实战开源项目]---ABP实时服务-通知系统.发布模式