文件名称:Raining
- 所属分类:
- OpenGL
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 943kb
- 下载次数:
- 0次
- 提 供 者:
- fan****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
此程序演示了利用粒子系统实现雨景效果模拟。实现雨景模拟的粒子系统中,每个雨点粒子是一条短线,即一定长度的线段,把这条线段当做一个粒子,随着时间的推移,它根据两个顶点所决定的方向向量,按一定的速度下降,实时计算出它的具体位置,然后在这个位置上将该粒子绘制出来。具体实现过程可参照代码。-This program demonstrated the use of particle systems to achieve the effect of simulated rain King. The realization of rain particle system simulation, each particle is a short-term rain, that is, a certain length of the segment, this segment as an article particles, with the passage of time, it decided by the two vertex direction vector, according to a certain the rate of decline, real-time calculation of its specific location, and then in the position of the particles drawn out. Concrete realization of the process can reference the code.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Raining
.......\Common
.......\......\dxstdafx.cpp
.......\......\dxstdafx.h
.......\......\DXUT.cpp
.......\......\DXUT.h
.......\......\DXUTenum.cpp
.......\......\DXUTenum.h
.......\......\DXUTgui.cpp
.......\......\DXUTgui.h
.......\......\DXUTMesh.cpp
.......\......\DXUTMesh.h
.......\......\DXUTmisc.cpp
.......\......\DXUTmisc.h
.......\......\DXUTRes.cpp
.......\......\DXUTRes.h
.......\......\DXUTSettingsDlg.cpp
.......\......\DXUTSettingsDlg.h
.......\......\DXUTsound.cpp
.......\......\DXUTsound.h
.......\......\DXUT_2003.sln
.......\......\DXUT_2003.vcproj
.......\......\DXUT_2005.sln
.......\......\DXUT_2005.vcproj
.......\Raining.cpp
.......\Raining.exe
.......\Raining.manifest
.......\Raining.rc
.......\Raining_2003.sln
.......\Raining_2003.suo
.......\Raining_2003.vcproj
.......\Raining_2005.sln
.......\Raining_2005.vcproj
.......\resource.h
.......\Common
.......\......\dxstdafx.cpp
.......\......\dxstdafx.h
.......\......\DXUT.cpp
.......\......\DXUT.h
.......\......\DXUTenum.cpp
.......\......\DXUTenum.h
.......\......\DXUTgui.cpp
.......\......\DXUTgui.h
.......\......\DXUTMesh.cpp
.......\......\DXUTMesh.h
.......\......\DXUTmisc.cpp
.......\......\DXUTmisc.h
.......\......\DXUTRes.cpp
.......\......\DXUTRes.h
.......\......\DXUTSettingsDlg.cpp
.......\......\DXUTSettingsDlg.h
.......\......\DXUTsound.cpp
.......\......\DXUTsound.h
.......\......\DXUT_2003.sln
.......\......\DXUT_2003.vcproj
.......\......\DXUT_2005.sln
.......\......\DXUT_2005.vcproj
.......\Raining.cpp
.......\Raining.exe
.......\Raining.manifest
.......\Raining.rc
.......\Raining_2003.sln
.......\Raining_2003.suo
.......\Raining_2003.vcproj
.......\Raining_2005.sln
.......\Raining_2005.vcproj
.......\resource.h