文件名称:VolumeFog
- 所属分类:
- 其它资源
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2008-10-13
- 文件大小:
- 28.25kb
- 下载次数:
- 0次
- 提 供 者:
- 姚**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
The Volume Fog sample shows the per-pixel density volumetric rendering
technique. The fog volume is modeled as a polygonal mesh, and the
density of the fog at every pixel is computed by subtracting the front
side of the fog volume from the back side. The fog is mixed with the
scene by accumulating an in/out test at every pixel -- that is, back-facing
fog polygons will add, while front-facing ones will subtract. If the value
is non zero, then the scene intersects the fog and the scene s depth value
is used. In order to get better results, this demo uses 12 bits of precision
by encoding high and low bits in different color channels.
technique. The fog volume is modeled as a polygonal mesh, and the
density of the fog at every pixel is computed by subtracting the front
side of the fog volume from the back side. The fog is mixed with the
scene by accumulating an in/out test at every pixel -- that is, back-facing
fog polygons will add, while front-facing ones will subtract. If the value
is non zero, then the scene intersects the fog and the scene s depth value
is used. In order to get better results, this demo uses 12 bits of precision
by encoding high and low bits in different color channels.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 83390085volumefog.rar 列表 VolumeFog VolumeFog\main.cpp VolumeFog\readme.txt VolumeFog\resource.h VolumeFog\VolumeFog.dsp VolumeFog\VolumeFog.dsw VolumeFog\VolumeFog.jpg VolumeFog\VolumeFog.manifest VolumeFog\VolumeFog.sln VolumeFog\VolumeFog.vcproj VolumeFog\winmain.rc