随笔分类 -  D3D

D3D编程
基本的光照计算公式
摘要:The Basic Lighting Model OpenGL and Direct3D provide almost identical fixed-function lighting models. In our example, we will use a simplified version that we will refer to as the "Basic" model... 阅读全文

posted @ 2012-02-02 17:02 迈克老狼2012 阅读(2736) 评论(0) 推荐(0)

Directx 11中垂直同步的设置
摘要:1、什么是垂直同步? 垂直同步又称场同步(Vertical Hold),从CRT显示器的显示原理来看,单个象素组成了水平扫描线,水平扫描线在垂直方向的堆积形成了完整的画面。显示器的刷新率受显卡DAC控制,显卡DAC完成一帧的扫描后就会产生一个垂直同步信号。 当我们选择\"等待垂直同步信号"(即打开垂直同步)时,显卡绘制3D图形前会等待垂直同步信号,性能强劲的显卡则会提前完成渲染,并在... 阅读全文

posted @ 2012-01-31 19:56 迈克老狼2012 阅读(4162) 评论(2) 推荐(0)

导航