directx
第三个电饭锅
这个作者很懒,什么都没留下…
展开
-
DirectX 11 Tutorials-Tutorial 1: 在visual studio上建立directx11
在写任何图形代码前, 我们需要个工具来做这些事. 第一个工具就是一个已经建立在很好的IDE中的编译器. 这个我已经用过的并且将会被应用在我们的工程文件中的就是visual studio 2010. 在网上还有一系列其他可用并且免费的. 我将会让你决定拟更喜欢哪个.第二个你将会需要的工具是directx sdk. 它能在微软的网站上被免费下载. 在下载并安装之后你将会得到编译directx 程序翻译 2012-05-07 16:08:05 · 3867 阅读 · 0 评论 -
error_mod_not_found
如果出现这个问题 那就是操作系统中缺少D3DCompiler_42.dll文件原创 2012-07-04 14:51:03 · 7546 阅读 · 0 评论 -
Tutorial 4: 3D Spaces(Directx手册)
SummaryIn the previous tutorial, we have successfully rendered a triangle in the center of our application window. We haven't paid much attention to the vertex positions that we have picked in our翻译 2012-05-25 19:34:39 · 2363 阅读 · 0 评论 -
Tutorial 2: Rendering a Triangle(Directx手册)
Summary(总结)In the previous tutorial, we built a minimal Direct3D 10 application that outputs a single color to the window. In this tutorial, we will extend the application to render a single trian翻译 2012-05-25 16:18:32 · 877 阅读 · 0 评论 -
hlsl初学
打开Tutorial02_2008打开Tutorial02.fx文件//--------------------------------------------------------------------------------------// File: Tutorial02.fx//// Copyright (c) Microsoft Corporation. All rig原创 2012-05-25 15:48:17 · 708 阅读 · 0 评论 -
Tutorial 0: Win32 Basics(Directx手册)
Summary(总结)In this preliminary tutorial, we will go through the steps necessary to create a Win32 application. We will be setting up an empty window to prepare for Direct3D 10.在这章准备教程中,我们将会完成必要的翻译 2012-05-25 16:00:08 · 905 阅读 · 0 评论 -
Tutorial 3: Shaders and Effect System(Directx手册)
Summary(总结)In the previous tutorial, we setup a vertex buffer and passed one triangle to the GPU. Now, we will actually step through the graphics pipeline and look at how each stage works. The con翻译 2012-05-25 17:36:30 · 809 阅读 · 0 评论 -
Tutorial 1: Direct3D 10 Basics(Directx手册)
Summary(总结)In this first tutorial, we will go through the elements necessary to create a minimal Direct3D 10 application. Every Direct3D 10 application must have these elements to function properly.翻译 2012-05-15 12:09:02 · 1008 阅读 · 0 评论 -
Tutorial 4: Buffers, Shaders, and HLSL
This tutorial will be the introduction to writing vertex and pixel shaders in DirectX 11. It will also be the introduction to using vertex and index buffers in DirectX 11. These are the most fundament转载 2012-05-11 17:45:53 · 999 阅读 · 0 评论 -
Tutorial 3: Initializing DirectX 11
This tutorial will be the first introduction to working with DirectX 11. We will address how to initialize and shut down Direct3D as well as how to render to a window.Updated FrameworkWe are g转载 2012-05-11 17:38:46 · 1285 阅读 · 0 评论 -
Tutorial 2: Creating a Framework and Window
Before starting to code with DirectX 11 I recommend building a simple code framework. This framework will handle the basic windows functionality and provide an easy way to expand the code in an orga转载 2012-05-11 17:37:12 · 917 阅读 · 0 评论 -
DirectX 11 Tutorials-Tutorial 3:初始化DirectX 11
这章教程首要介绍如何使用DirectX 11.我们将说明如何初始化和关闭Direct3D和如何渲染窗口:更新框架我们打算在框架中添加一个类,这个类能够处理所有的Direct3D系统函数,我们称之为D3DClass.更新的框架图如下:就如你看到的,D3DClass位于GraphicsClass中.在先前的教程中提及新的图形相关类将会被封装在GraphicsClass中,这就是为什么这翻译 2012-05-09 19:59:34 · 3184 阅读 · 0 评论 -
Writing HLSL Shaders in Direct3D 9
Writing HLSL Shaders in Direct3D 9Vertex-Shader Basics Pixel-Shader Basics Shader Inputs and Shader Variables Writing Functions Flow Control Vertex-Shader BasicsWhen in operation, a programmab转载 2012-05-28 12:17:35 · 1017 阅读 · 0 评论 -
DirectX 11 Tutorials-Tutorial 2:创建框架和窗口
在开始写directx 11的代码前,我建议建立一个简单的框架.这个框架将会使用基于窗口功能和在提供简单的扩展原始代码方法并且是易读的方式.本教程的目的只是尝试directx11不同的特性,我们尽量保持框架简洁. 框架框架由4个部分共同工作. WinMain函数是应用程序的入口点.他是个系统类,这个类封装了整个应用系统然后在WinMain函数中被调用.在这个系统类中我们有个InputC翻译 2012-05-09 13:27:22 · 2601 阅读 · 1 评论 -
DirectUI<转>
最近由于项目的需要学习了一下DirectUI方面的东西,主要借鉴的是一个国外程序员写的代码(见引用一),看了后发现它更多的是探讨一种实现的可能性和思路,和实际应用还是有距离的,不过其实现还是很有意思的。在写此小结的时候又发现国内一个程序员将这个代码部分移植到WINCE下的代码(见引用二),因为平台的差异性要完全开发一个WINCE下的实际代码还是需要时间的。由于本人GUI开发做得少,工作中有关这转载 2012-04-24 21:01:05 · 1256 阅读 · 0 评论