4.6the Drawing Pass
来源:互联网 发布:移动电玩城源码 编辑:程序博客网 时间:2024/05/29 04:47
一些疑问:为什么在对RenderState进行更新时,不对EFFECT进行更新?
为什么不把Global Effect直接存在Geometry中而是存在索引表中?
该部分没有什么可讲的,前面几章已有所渗透,现简要概括大致框架。
创建Culler
↓
创建Camera
↓
创建Scene
↓
UpdateGS/RS
↓
Culler.SetCamera
↓
Culler.计算潜在可见物体
↓
若Movecamera,重新计算
↓
若move object,updateGS,重新计算潜在可见物体。
↓
ClearBuffer
↓
BeginScene
↓
DrawScene
↓
EndScene
↓
DisplayBuffer
再简要说明通过代码创建Scene的过程(当然,一般由美工通过开发工具创建)
New一个Scene;
设置Attribute格式
New一个VB并赋值。
New一个IB并赋值。
New一个Geometry并加载VB,IB。
将该Geometry关联到scene。
New一个ShaderEffect。
设置ShaderEffect。
将ShaderEffect关联到Geometry。
设置相关信息。
EffectàConfifgure()。
一点说明:世界空间中可能包含不止一个SceneGraph。
- 4.6the Drawing Pass
- About the drawing
- About the drawing
- 4.5the Culing Pass
- Pass-the-Hash is Dead: Long Live Pass-the-Hash
- 域渗透——Pass The Hash & Pass The Key
- Pass the Hash Attack (Metasploit)
- pass on to the entire
- Drawing
- XNA Sample--Drawing the 3D Axis
- Pass
- Pass
- pass
- Replace Template and delete the tables in the drawing
- DataStage Certification - how to pass the exam
- Video Tutorial: Pass-The-Hash Toolkit
- UVALive 3938 "Ray, Pass me the dishes!"
- UVa-1400 - "Ray, Pass me the dishes!"
- log4j 1.2 配置 xml
- 4.5the Culing Pass
- BlackBerry资源网站
- win7开机黑屏开计算机无桌面图标任务栏
- interface ---接口 的简单应用
- 4.6the Drawing Pass
- 关于停车场管理的问题
- 4.7 Scene Graph Compilers
- 写一个简单的linq查询语句
- C&&C++群
- lua初学常见问题解惑
- Ubuntu虚拟机设置无线上网
- 18.5 reference counter
- 读取网络文件并按行存储