文件名称:framework_dx
- 所属分类:
- 3D图形编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 629kb
- 下载次数:
- 0次
- 提 供 者:
- Ro***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
The ProceduralFire sample demonstrates the use of pixel shaders to
procedurally generate natural phenomena such as fire.
Rendering fire as an animation has the disadvantages of looking unrealistic
due to the cycling animation and of requiring a lot of texture memory to
store the fr a mes of animation. In addition to this, if there are many
flames in the scene, and all use the same animation, the scene will look
even more artificial.
The procedurally generated fire overcomes all these disadvantages by
generating long non-repeating animations that can be fully controlled by
the application and requires only two textures. The sample uses 1.4 pixel
shader to implement the effect.
- The ProceduralFire sample demonstrates the use of pixel shaders to
procedurally generate natural phenomena such as fire.
Rendering fire as an animation has the disadvantages of looking unrealistic
due to the cycling animation and of requiring a lot of texture memory to
store the fr a mes of animation. In addition to this, if there are many
flames in the scene, and all use the same animation, the scene will look
even more artificial.
The procedurally generated fire overcomes all these disadvantages by
generating long non-repeating animations that can be fully controlled by
the application and requires only two textures. The sample uses 1.4 pixel
shader to implement the effect.
procedurally generate natural phenomena such as fire.
Rendering fire as an animation has the disadvantages of looking unrealistic
due to the cycling animation and of requiring a lot of texture memory to
store the fr a mes of animation. In addition to this, if there are many
flames in the scene, and all use the same animation, the scene will look
even more artificial.
The procedurally generated fire overcomes all these disadvantages by
generating long non-repeating animations that can be fully controlled by
the application and requires only two textures. The sample uses 1.4 pixel
shader to implement the effect.
- The ProceduralFire sample demonstrates the use of pixel shaders to
procedurally generate natural phenomena such as fire.
Rendering fire as an animation has the disadvantages of looking unrealistic
due to the cycling animation and of requiring a lot of texture memory to
store the fr a mes of animation. In addition to this, if there are many
flames in the scene, and all use the same animation, the scene will look
even more artificial.
The procedurally generated fire overcomes all these disadvantages by
generating long non-repeating animations that can be fully controlled by
the application and requires only two textures. The sample uses 1.4 pixel
shader to implement the effect.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
directx.ico
framework\d3dapp.cpp
.........\d3dapp.h
.........\d3dfile.cpp
.........\d3dfile.h
.........\d3dfont.cpp
.........\d3dfont.h
.........\d3dres.h
.........\d3dutil.cpp
.........\d3dutil.h
.........\dxutil.cpp
.........\dxutil.h
media\fire.tga
.....\ground.tga
.....\noise.tga
.....\seafloor.x
shaders\fire.psh
.......\fire.vsh
ProceduralFire.exe
winmain.aps
ProceduralFire.cpp
ProceduralFire.dsp
ProceduralFire.dsw
resource.h
winmain.rc
README.txt
framework\d3dapp.cpp
.........\d3dapp.h
.........\d3dfile.cpp
.........\d3dfile.h
.........\d3dfont.cpp
.........\d3dfont.h
.........\d3dres.h
.........\d3dutil.cpp
.........\d3dutil.h
.........\dxutil.cpp
.........\dxutil.h
media\fire.tga
.....\ground.tga
.....\noise.tga
.....\seafloor.x
shaders\fire.psh
.......\fire.vsh
ProceduralFire.exe
winmain.aps
ProceduralFire.cpp
ProceduralFire.dsp
ProceduralFire.dsw
resource.h
winmain.rc
README.txt