Direct3D

所属分类:DirextX编程
开发工具:Visual C++
文件大小:637KB
下载次数:4
上传日期:2008-12-07 01:25:34
上 传 者kingzhengshu
说明:  这个是一个关于DIRECT3D的程序,内容是关于DIRECTX的,自己研究下吧:)
(This is a study on the Direct3D procedures, the content is about DIRECTX, and their research, are you:))

文件列表:
Direct3D\BumpEarth.cpp (37023, 2004-04-14)
Direct3D\BumpEarth.dsp (5464, 2002-11-12)
Direct3D\BumpEarth.dsw (541, 2002-11-12)
Direct3D\BumpEarth.jpg (17502, 2002-11-12)
Direct3D\BumpEarth.manifest (686, 2002-11-12)
Direct3D\BumpEarth.ncb (148480, 2004-04-14)
Direct3D\BumpEarth.opt (54784, 2004-04-14)
Direct3D\BumpEarth.plg (1456, 2004-04-14)
Direct3D\BumpEarth.sln (918, 2002-11-12)
Direct3D\BumpEarth.vcproj (4643, 2002-11-12)
Direct3D\resource.h (1898, 2002-11-12)
Direct3D\winmain.rc (7412, 2002-11-12)
Direct3D\Debug (0, 2008-11-23)
Direct3D (0, 2008-11-23)

//----------------------------------------------------------------------------- // Name: BumpEarth Direct3D Sample // // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- Description =========== The BumpEarth program demonstrates the bump mapping capabilities of Direct3D. Bumpmapping is a texture blending technique used to render the appearance of rough, bumpy surfaces. This sample renders a rotating, bumpmapped planet Earth. Note that not all cards support all features for all the various bumpmapping techniques (some hardware has no, or limited, bumpmapping support). For more information on bumpmapping, refer to the DirectX SDK documentation. Path ==== Source: DXSDK\Samples\C++\Direct3D\BumpMapping\BumpEarth Executable: DXSDK\Samples\C++\Direct3D\Bin User's Guide ============ The following keys are implemented. The dropdown menus can be used for the same controls. Starts and stops the scene Advances the scene by a small increment Shows help or available commands. Prompts user to select a new rendering device or display mode Toggles between fullscreen and windowed modes Exits the app. Programming Notes ================= Bumpmapping is an advanced multitexture blending technique that can be used to render the appearance of rough, bumpy surfaces. The bump map itself is a texture that stores the perturbation data. Bumpmapping requires two textures, actually. One is an environment map, which contains the lights that you see in the scene. The other is the actual bumpmapping, which contain values (stored as du and dv) used to "bump" the environment maps texture coordinates. Some bumpmaps also contain luminance values to control the "shininess" of a particular texel. This sample makes use of common DirectX code (consisting of helper functions, etc.) that is shared with other samples on the DirectX SDK. All common headers and source code can be found in the following directory: DXSDK\Samples\C++\Common

近期下载者

相关文件


收藏者