particlesimsrc

所属分类:游戏
开发工具:Visual C++
文件大小:58KB
下载次数:171
上传日期:2005-11-30 16:39:35
上 传 者bloodymichael
说明:  粒子系统编辑器 包括了很多特效,是一个了解如何写粒子系统用于游戏特效的东东,入门级别的。我初学游戏编程时收集的。希望对大家有用
(particle system editor includes many special effects, is an understanding of how to write games for the particle system effects of the Eastern, the entry-level. I am learning the game programming collected. We hope to useful)

文件列表:
bubble.bmp (12342, 2000-03-06)
circle.bmp (12342, 2000-03-06)
cloud.bmp (12342, 2000-03-20)
cursor1.cur (326, 2000-06-09)
GLSetup.cpp (7118, 2000-09-10)
GLSetup.h (1658, 2000-09-10)
HotSpot.cpp (11353, 2000-09-11)
HotSpot.h (2215, 2000-09-11)
Key.bmp (98358, 2000-07-16)
Keyo.bmp (98358, 2000-03-06)
LowKey.bmp (98358, 2000-07-16)
main.cpp (43063, 2000-09-12)
Particle.cpp (8053, 2000-09-04)
Particle.h (2303, 2000-09-12)
ParticleSim.dsp (4842, 2000-09-10)
ParticleSim.dsw (542, 2000-09-04)
ParticleSystem.cpp (20449, 2000-09-11)
ParticleSystem.h (4134, 2000-09-12)
resource.h (456, 2000-04-10)
Script1.rc (1605, 2000-04-10)
spark.bmp (12342, 2000-03-06)
star.bmp (3126, 2000-03-06)

============================================================================ Particle Sim by: Brian Tischler briandeb@telusplanet.net ============================================================================ This application is a real time configurable particle simulator. It's written in OpenGL, and is meant to be a learning tool in both OpenGL and particle Physics. Special thanks to FPi Games for the music track! Special, special thanks for the particle tutorial and theory provided by: by: Richard Benson rbenson@earthlink.net * Go here for the BEST tutorial on particle physics http://home.earthlink.net/~rbenson/ParticleHTML/Particles_files/frame.htm * Go here for Particle Chamber, a DX7 app where you also have real time particle changing abilities and full source code. http://www.particlesystems.com/html/pchamber.html Using Particle ================ Click on the Texture Bitmap to cycle different textures. Make your own and save it as one of the little existing bitmaps such as spark or bubble. You can move the camera around using the Arrow keys for Rotation and A/Z for Zoom. After hiding the menu clicking anywhere on the window brings the menu back. Definitely push the Preset keys F1 thru F7 button so you can see some of the scenarios that I have been setup. This will give you an idea as to the various ways you can manipulate the particle system behavior. If you find a specific setup that looks good, hit F8. This will export a file called "Params.txt" that will contain all the current particle system parameters and the current camera position. F9 turns on and off music. There are 2 bars on some controls, like Alpha. The upper is the setting for the beginning of the particles life, the lower for the end. Menu Controls ------------- Click the new position on the bar in the menu, or drag it. Alpha: The brightness of the particle. Red,Green,Blue: The start and end color of the particle Size: The start and end size of the particle Life: How long the particle lives Emit: How many particles are alive in the system Speed: The initial speed the particles are emitted from the source Gravity: Six vectors of gravity for start and end force on the particle. Theta: The direction of emission of the particles from the source. Boing: The bounce factor when the floor is enabled of particles hitting it Burst: Intermittent particle emission ie F7, fireworks Camera: Just try it Moving: Moves the point source in a spherical, sinusoidal fashion Floor: Pops up a floor Variability: Adds randomness of the following parameters on a per particle basis Source Code -------------- I used Visual C++ 6.0 for this project and was unable to test the Workspace and Project with earlier versions. Feel free to modify the code (if its not too convoluted) If you are to use this code or distribute it, please let me know. I'd like to see where it ends up. Brian ============================================================================ ======================== DISCLAIMER ======================================== ============================================================================ You may not sell this Software or include it on any distribution or compilation without consent of the author. Any use of this Software is at your own risk. In no event shall the Author be liable for any special, incidental, indirect, or consequential damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or any other pecuniary loss) arising out of the use of or inability to use this Software. ============================================================================

近期下载者

相关文件


收藏者