IntroductionIn DirectX 8, support for rendering to multiple windows is provided through the creation of additional swap chains. However, there are cur...
分类:
其他好文 时间:
2015-05-18 20:13:44
阅读次数:
130
Direct3D初始化步骤(核心代码): 1 // 描述交换链 2 DXGI_SWAP_CHAIN_DESC sd; 3 sd.BufferDesc.Width = mClientWidth; 4 sd.BufferDesc.Height = mClientHeigth; 5...
分类:
其他好文 时间:
2015-04-24 15:40:29
阅读次数:
150
简单的Direct3D初始化步骤: 1 /* 2 2015.4 3 Direct3D初始化 4 */ 5 6 #include 7 8 #pragma comment(lib,"d3d9.lib") 9 #pragma comment(lib,"d3dx9.lib") 10 ...
分类:
其他好文 时间:
2015-04-22 23:48:25
阅读次数:
134
代码下下来,用2012编译,
http://developer.download.nvidia.com/SDK/10.5/direct3d/samples.html
找到soft shadowmap的那个例子,缩略图是一个武士拿着剑站在草地上
我的笔记本显卡的glsl版本是 4.3的,
编译完一跑就报错,
修改SoftShadows.cpp 288行
NvSco...
分类:
其他好文 时间:
2015-04-22 18:25:04
阅读次数:
396
这是微软公布的Direct3D 12文档的其中一篇,此翻译留作学习记录备忘,水平有限,错漏难免,还望海涵。 原文链接是https://msdn.microsoft.com/en-us/library/windows/desktop/dn899194(v=vs.85).aspx
分类:
其他好文 时间:
2015-04-07 19:30:19
阅读次数:
153
这里讲的是创建一个通用的Direct3D窗口。
这里我先讲下用到的所有函数和结构
Window
WNDCLASSEX
[cpp] view
plaincopy
typedef struct tagWNDCLASSEXA {
UINT cbSize;
UINT...
分类:
其他好文 时间:
2015-04-06 08:59:33
阅读次数:
524
正如上节末尾所说, 出现了运行时错误:,这节就是说一下Fence的基本用法...
分类:
其他好文 时间:
2015-03-31 09:13:19
阅读次数:
242
微软前几天发布了Win10的开发工具,进行Direct3D12的尝鲜...
分类:
其他好文 时间:
2015-03-30 09:38:03
阅读次数:
1384
在本篇文章中,我们一起详细探索了Direct3D网格相关的知识,对当前两款主流的三维建模软件(3DS Max和Maya)进行了介绍,了解了如何从3DS Max 中导出X文件,以及如何从X文件加载三维模型到DirectX游戏程序中。文章最后,我们依旧配了一个比较好玩的demo来让大家对本篇文章所学的知...
分类:
其他好文 时间:
2015-02-28 13:01:45
阅读次数:
127