注册 | 登录读书好,好读书,读好书!
读书网-DuShu.com
当前位置: 首页出版图书科学技术计算机/网络软件与程序设计程序设计综合DirectX实用技巧

DirectX实用技巧

DirectX实用技巧

定 价:¥40.00

作 者: 李建汉编著
出版社: 中国铁道出版社
丛编项:
标 签: 多媒体

购买这本书可以去


ISBN: 9787113039486 出版时间: 2000-01-01 包装: 平装
开本: 26cm 页数: 312页 字数:  

内容简介

  本书内容:DirectX 是微软公司为了Windows 游戏所设计的一套开发工具程序软件(SDK ),这套SDK 包含了2D、3D、音效、网络、音乐、输入设备等函数等内容。

作者简介

暂缺《DirectX实用技巧》作者简介

图书目录

第1章 DirectX与COM
第一节 DirectX简介
DirectX的优点
DirectX的缺点
第二节 COM component
为何使用COM component
COM与Class
IUnknown interface
AddRfe()、Release()和Reference Count
GUID
第2章 框架程序
第一节 用AppWizard设计框架程序
删除不必要的类
修改程序代码
第二节 6.0版的新方法
修改Skeleton02 Project
第3章 DirectDraw驱动程序
第一节 搜索驱动程序
DirectDrawEnumerate()
DXSDK中的实例
第二节 EnumDriver01程序说明
Dialog Box
Global变量的声明
CMainFrame::OnCreate()
CMainFrame::OnDestroy()
CMainFrame::PostNcDestroy()
CModeDlg::OnInitDialog()
CModeDlg::EnumCallback()
CDialog::OnOK()
FAILED宏
连接到正确的lib
第4章 检测显示模式
第一节 iDirectDraw2::
EnumDisplayModes()
EnumDisplayModes执行结果
第二节 EnumDisplayModes01程序说明
CMainFrame::OnCreate()
CModeDlg::OnInitDialog()
CModeDlg::EnumModeCallback()
第5章 显示一个图形文件
第一节 加裁及显示BMP文件
LoadImage()
第二节 ShowImage01程序说明
建立Surface
CMainFrame::LoadBmp()
Blit函数的补充说明
第6章 调色板
第一节 调色板介绍
MP的调色板
DirectDraw的Palette接口
PALETTEENTRY与RGBQUAD
第二节 Palette程序说明
CMainFrame::OnCreate()
::StretchBlt()
CMainFrame::OnDestroy()
CMainFrame::OnPaint()
第7章 ColorKey与Sporite
第一节 在Surface中设置ColorKey
Off-screen Surface
iDirectDrawSurface4::SetColorKey()
iDirectDrawSurface4::BltFast()
第二节 ColorKey01程序说明
CMainFrame::OnCreate()
CMainFrame::MakeOffScreenSurfaces()
CMainFrame::OnPaint()
CMainFrame::SetColorKey()
第三节 设置任一颜色为color key
第8章 移动Sprite
第一节 平滑移动的意义
平滑移动Sprite
第二节 MovSprite02程序说明
CMainFrame::MakeFlipSurfaces()
CMainFrame::OnCreate()
CMainFrame::OnMouseMove()
CMainFrame::OnPaint()
CMainFrame::OnDestroy()
第9章 Clipper Object
第一节 防止图形blit出界
建立Clipper Object
Clip Region
设置RGNDATA
第二节 Clipper的程序说明
CMainFrame::MakeFlipSurfaces()
CMainFrame::OnMouseMove()
CMainFrame::OnPaint()
第10章 GDI Surface
第一节 被隐藏的GDI Surface
第二节 GDISurface程序说明
CMainFrame::OnPaint()
CMainFrame::OnLButtonDown()
第11章 Blit效果
第一节 iDirectDrawSurface7::Blt()
DDBLTFX
第二节 BltEffect01程序说明
CMainFrame::OnLButtonDown()
Pixel Format的问题
第三节 BltEffect::OnLButtonDown()
第12章 Overlay Surface
第一节 Overlay介绍
第二节 Overlay01程序说明
CMainFrame::OnCreate()
CMainFrame::MakeOverlay()
CMainFrame::ShowOverlay()
第13章 显示字体
第一节 Windows字体
第二节 Showtext01程序说明
CMainFrame::OnCreate()
CMainFrame::OnPaint()
第14章 显示非BMP图形文件
第一节 加裁.TGA文件
第二节 Project Custom01程序说明
CMainFrame::LoadTga()
TGA文件格式简介
IDirectDrawSurface7::Lock()
神秘的pitch
24bpp转换为16bpp
第15章 自定义图形文件
第一节 24bpp转换为16bpp
第二节 CnvTga01程序说明
制作不含窗口的新project
CCnvTgaApp::InitInstance()
CCnvTgaApp::CnvData(BYTE*pSrc)
Project ShowT1601
第16章 DirectDraw Alpha效果
第一节 DirectDraw与alpha
图形文件中的Alpha channel信息
第二节 Project CCnvTga02程序说明
CCnvTgaApp::CnvData()
CCnvTga02执行结果
第三节 Project Alpha01程序说明
第17章 Enumerate Device
第一节 搜索D3D Device
第二节 EnumDevice01程序说明
Dlg2.cpp
CMainFrame::OnCreate()
CMainFrame::OnActivate()
CMainFrame::OnPaint()
Dlg2::OnCancel()
Dlg2::OnOK()
第18章 加载对象(Load objects)
第一节 X文件
Conv3ds.exe的参数
3D model与frame
LoadObjects01的执行结果
第二节 LoadObjects01程序说明
CMainFrame::OnCreate()
CMainFrame::MakeScene()
IDirect3DRMDevice3::SetRenderMode()
IDirect3DRMDevice3::Setquality
路径搜索
建立frame object
加入光源
加入camera
设置Viewport
CDxApp::OnIdle()
OnIdle()补充说明
第三节 加载对象之二
第四节 LoadObjects02程序说明
CMainFrame::LoadCallback():
第19章 移动对象(Move Objects)
第一节 移动对象
第二节 MoveObject01程序说明
CMainFrame::OnCreate()
CMainFrame::MakeScene()
CMainFrame::OnKeyDown()
CMainFrame::OnKeyUp()
CDxApp::OnIdle()
第20章 Frame Hierarchy
第一节 Frame Hierarchy
第二节 FrameHierarchy01程序说明
CMainFrame::MakeScene()
CMainFrame::SetupChildFrame()
第21章 Decal贴图
第一节 Decal说明
第二节 Decal01程序说明
CmainFrame::MakeScene()
CMainFrame::OnDestroy()
CDxApp::OnIdle()
Sorted Transparency
第22章 动画(Animation)
第一节 Animation接口
第二节 Animation01程序说明
CMainFrame::AddAnimationKeys()
CDxApp::OnIdle()
第23章 Animation Set
第一节 IDirect3DRMAnimationSet接口
第二节 AnimationSet01程序说明
CmainFrame::MakeScene()
CDxApp::OnIdle()
第24章 Direct3D Retained Mode Filp Chain
第一节 D3D Exclusive Mode
第二节 D3DFilpChain01程序说明
CMainFrame::MakeFlipSurface()
Dlg2::OnOK()
CDxApp::OnIdle()
第25章 阴影(Shadow)
第一节 IDirect3DRMShadow接口
第二节 Shadow01的程序说明
第26章 Viewport
第一节 IDirect3DRMViewport接口
第二节 Viewport01的程序说明
CMainFrame::MakeScene()
CDxApp::OnIdle()
第27章 碰撞(Collision)
第一节 简单的碰撞测试
第二节 Collision01程序说明
CMainFrame::SetupChildFrame()
CDxApp::OnIdle()
CDxApp::BoxCollision()

本目录推荐