Description: c写的源代码,用粒子系统简单模拟下雪的自然景观-c write the source code, using a simple particle system simulation of the natural landscape snow Platform: |
Size: 1024 |
Author:zkz |
Hits:
Description: 自己编写的一个用粒子系统编写的雨雪程序,其中包括纹理映射,以及背景音乐的播放,还有雨雪的切换!很不错的!-I have written a particle system with the rain and snow to prepare procedures, including texture mapping, as well as background music playback, as well as rain and snow of the switch! Very good! Platform: |
Size: 4953088 |
Author:陈枫 |
Hits:
Description: 这是我找了很久才找到的模拟下雪效果最好的源码,粒子系统很完善,雪花采用贴图实现,加上雾效果,整体感觉非常真实。-This is what I look for a long time simulation to find the best snow of the source, particle system is perfect, alabaster realize the use of mapping, together with the fog effect, the overall feeling is very real. Platform: |
Size: 57344 |
Author:王涛 |
Hits:
Description: VS2010版漫天飞舞的雪花Demo源码,主要讲解了在GDI中粒子的运用,游戏基础物理建模,粒子系统的模拟程序,源码编译环境为VS2010.其实VS2005,VS2008也可以编译运行。本实例包括了VC++6.0源码版本。MyPaint函数的书写思路是,先初始化每个粒子,这里是共50个粒子。然后贴上背景图到mdc中,再用循环将各个粒子也贴到mdc中,循环完成之后,再统一将mdc中的内容直接贴到hdc中。这样做的优点是比较直观,提高了贴图的效率。-VS2010 version of the flying snow Demo source, mainly on the use of particles in GDI game basis of physical modeling, the particle system simulation program, source code compilation environment as the VS2010 in fact the VS2005, VS2008 can compile and run. Examples include the the VC++6.0 source version. The the MyPaint function of writing ideas first initialize each particle, there is a total of 50 particles. Background image and then paste to mdc, and then loop each particle has been attached to the mdc, after the cycle is complete, the re-unified in the mdc directly attached to the hdc. The advantage of this is relatively straightforward to improve the efficiency of the map. Platform: |
Size: 9733120 |
Author: |
Hits: