Particleglor
所属分类:OpenGL
开发工具:Visual C++
文件大小:683KB
下载次数:302
上传日期:2006-04-17 16:31:31
上 传 者:
tl_ahu
说明: 做的很漂亮的火焰图,基于粒子系统做的,调用VC里的OPenGL。有原程序和可执行程序。
(done a very nice flame map, based on particle systems do, called VC's OpenGL. There are procedures and the original executable.)
文件列表:
Particle Chamber (0, 2004-09-23)
Particle Chamber\ARROW.TGA (5961, 2000-01-17)
Particle Chamber\BUBBLE.TGA (12083, 2000-01-02)
Particle Chamber\CIRCLE.TGA (7767, 2000-01-02)
Particle Chamber\CLOUD.TGA (14939, 2000-01-02)
Particle Chamber\CParticle.cpp (5041, 2000-02-08)
Particle Chamber\CParticle.h (1894, 2000-02-08)
Particle Chamber\CParticleSystem.cpp (17544, 2000-02-08)
Particle Chamber\CParticleSystem.h (8530, 2000-02-02)
Particle Chamber\D3DAPP.H (3559, 1999-07-31)
Particle Chamber\D3DENUM.H (4244, 1999-08-26)
Particle Chamber\D3DFRAME.H (5698, 1999-10-08)
Particle Chamber\D3DFRAME.LIB (97348, 1999-09-08)
Particle Chamber\D3DMATH.H (3723, 1999-07-07)
Particle Chamber\D3DRES.H (1651, 1999-07-15)
Particle Chamber\D3DTEXTR.H (2454, 1999-07-07)
Particle Chamber\D3DUTIL.H (3849, 1999-07-07)
Particle Chamber\Demo.cpp (64640, 2000-02-08)
Particle Chamber\Demo.dsp (4408, 2000-02-02)
Particle Chamber\Demo.dsw (531, 1999-11-17)
Particle Chamber\Demo.exe (94208, 2003-12-27)
Particle Chamber\Demo.mak (5167, 2000-02-08)
Particle Chamber\DIRECTX.ICO (1078, 1999-03-17)
Particle Chamber\FLARE.TGA (12827, 1999-12-28)
Particle Chamber\ICON_1.TGA (12827, 2000-01-28)
Particle Chamber\ICON_2.TGA (12827, 2000-01-28)
Particle Chamber\ICON_3.TGA (12827, 2000-01-28)
Particle Chamber\ICON_4.TGA (12827, 2000-01-28)
Particle Chamber\ICON_5.TGA (12827, 2000-01-28)
Particle Chamber\ICON_6.TGA (12827, 2000-01-28)
Particle Chamber\ICON_7.TGA (12827, 2000-02-02)
Particle Chamber\icon_custom.tga (12827, 2000-02-02)
Particle Chamber\MUSIC.WAV (498708, 2000-02-03)
Particle Chamber\RESOURCE.H (1241, 1999-11-17)
Particle Chamber\SPARK.TGA (6662, 2000-01-02)
Particle Chamber\toolbar_1.tga (98843, 2000-01-27)
Particle Chamber\toolbar_2.tga (98843, 2000-01-28)
Particle Chamber\WHITE.BMP (822, 1999-12-07)
Particle Chamber\WINMAIN.RC (5900, 2000-01-12)
... ...
============================================================================
Particle Chamber
by: Richard Benson
rbenson@earthlink.net
XGDC 99 'Armaggedon'
Special thanks to FPi Games for the music track!
============================================================================
When you first start the application, hit F2, this will allow you to select
your D3D device. You should use the D3DHal or D3DT&LHal whenever possible.
Voodoo users may have an option of "DirectX7 Voodoo" or similar, this is the
one for you. Make sure you have DirectX7 installed !
The application is meant to be run in FullScreen which is achieved by
unchecking the "Use Desktop Window" checkbox (or pressing ALT-ENTER).
All the items on the toolbar are clickable (except the Color Range).
Color has a start and end value.
The keys to modify color are
Red+ Insert
Red- Delete
Green+ Home
Green- End
Blue+ PgUp
Blue- PgDn
Holding the Shift key while using the above keys modifies the End color.
Otherwise you are modifying the start color.
You can move the camera around using the Arrow keys for Rotation and
A/Z for Zoom.
Pressing Enter pauses the simulation, but the camera controls are still
active. This allows to fly around and look at the system from many
different angles while time stands still.
Some items have a delay on them so they won't
change state rapidly on fast computers.
Definitely click the Presets button so you can see some of the
scenarios that I have setup for you. This will give you an idea
as to the various ways you can tweak the particle system behavior.
Don't forget about suppression. Hold the Left Mouse button down
while cursor is to the right of the toolbar and particles will
not be created, but will be accumulating. When you let go, all
the particles that have accumulated will be emitted at once.
If you find a specific setup that looks good, hit F12.
This will export a file called "Params.txt" that will contain
all the current particle system parameters and the current
camera position.
If you make a new 'case' in LoadPreset() and increment MAX_PRESETS
you will have one of your systems as a custom preset !
--------------
Compiling
--------------
Make sure that you have the DirectX 7 SDK on your computer.
I used Visual C++ 6.0 for this project and was unable to test the
Workspace and Project with earlier versions.
If you get compiler errors, make sure that you have your Directories set
in Devstudio to find the correct DX7 files ( or that you physically
placed them in your Compiler's include and library directories ).
( in Visual C++ 6.0 )
Tools\Options\Directories\ Show directories for:
Include files
Library files
If they aren't there, go to the bottom of the list (where the empty box is)
Click in the empty box, then click the "..." button and find the directory
that is appropriate. Include files could be in "c:\DX7SDK\include" as an
example.
After you select the correct folder, Use the Up arrow to move that folder
up to the top of the list.
Have Fun !
Keebler
============================================================================
======================== 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.
============================================================================
近期下载者:
相关文件:
收藏者: