particle
所属分类:OpenGL
开发工具:Visual C++
文件大小:13360KB
下载次数:55
上传日期:2008-03-02 17:19:11
上 传 者:
csn435
说明: 实现了一个画面绚丽的粒子系统,相关的烟花效果等可作为参考
(To achieve a brilliant picture of particle system effects related to fireworks can be used as reference)
文件列表:
粒子系统\FIREWORK\FIREWORK\FIREWORK.EXE (53248, 2000-08-21)
粒子系统\FIREWORK\FIREWORK\PARTICLE.RGB (4694, 2000-08-19)
粒子系统\FIREWORK\FIREWORK (0, 2008-01-14)
粒子系统\FIREWORK\firework_src.zip (6646, 2001-10-18)
粒子系统\FIREWORK (0, 2008-01-14)
粒子系统\FOUNTAIN\FOUNTAIN\FOUNTAIN.EXE (45056, 2000-08-23)
粒子系统\FOUNTAIN\FOUNTAIN\PARTICLE.RGB (4694, 2000-08-19)
粒子系统\FOUNTAIN\FOUNTAIN (0, 2008-01-14)
粒子系统\FOUNTAIN\fountain_src.zip (5845, 2001-10-18)
粒子系统\FOUNTAIN (0, 2008-01-14)
粒子系统\fountain3d\fountain3d\fountain3d.exe (53248, 2000-09-30)
粒子系统\fountain3d\fountain3d\GROUND1.RGB (206066, 2000-09-09)
粒子系统\fountain3d\fountain3d\GROUND2.RGB (205242, 2000-09-10)
粒子系统\fountain3d\fountain3d\PARTICLE.RGB (3728, 2000-09-10)
粒子系统\fountain3d\fountain3d (0, 2008-01-14)
粒子系统\fountain3d\fountain3d_src.zip (220531, 2001-10-18)
粒子系统\fountain3d (0, 2008-01-14)
粒子系统\GDM0798\Code\OGL\Spray\Comet.PEF (232, 1998-06-13)
粒子系统\GDM0798\Code\OGL\Spray\EditEmit.cpp (3453, 1998-06-08)
粒子系统\GDM0798\Code\OGL\Spray\EditEmit.h (1748, 1998-06-08)
粒子系统\GDM0798\Code\OGL\Spray\Fountain.PEF (232, 1998-06-13)
粒子系统\GDM0798\Code\OGL\Spray\MainFrm.cpp (8170, 1999-09-23)
粒子系统\GDM0798\Code\OGL\Spray\MainFrm.h (2626, 1998-06-08)
粒子系统\GDM0798\Code\OGL\Spray\MathStuff.h (1769, 1998-06-08)
粒子系统\GDM0798\Code\OGL\Spray\Matrix.cpp (1587, 1998-04-12)
粒子系统\GDM0798\Code\OGL\Spray\Matrix.h (1466, 1998-04-12)
粒子系统\GDM0798\Code\OGL\Spray\OGLView.cpp (18912, 1999-09-23)
粒子系统\GDM0798\Code\OGL\Spray\OGLView.h (3327, 1999-09-23)
粒子系统\GDM0798\Code\OGL\Spray\Particle.cpp (13560, 1998-06-13)
粒子系统\GDM0798\Code\OGL\Spray\Particle.h (3117, 1998-06-08)
粒子系统\GDM0798\Code\OGL\Spray\RES\Spray.ico (1078, 1998-04-15)
粒子系统\GDM0798\Code\OGL\Spray\RES\Spray.rc2 (397, 1998-04-15)
粒子系统\GDM0798\Code\OGL\Spray\RES\SprayDoc.ico (1078, 1998-04-15)
粒子系统\GDM0798\Code\OGL\Spray\RES (0, 2008-01-14)
粒子系统\GDM0798\Code\OGL\Spray\RESOURCE.H (2438, 1998-06-08)
粒子系统\GDM0798\Code\OGL\Spray\Snowfall.PEF (232, 1998-06-13)
粒子系统\GDM0798\Code\OGL\Spray\Sparkler.PEF (232, 1998-06-13)
粒子系统\GDM0798\Code\OGL\Spray\Spray.cpp (4267, 1998-04-19)
粒子系统\GDM0798\Code\OGL\Spray\Spray.dsp (4688, 1999-01-15)
... ...
//*******************************************************************************//
//
// - "Talk to me like I'm a 3 year old!" Programming Lessons -
//
// $Author: TheTutor thetutor@gametutorials.com
//
// $Program: Particle
//
// $Description: Shows you one way to do a "particle"
//
// $Date: 11/2/01
//
//*******************************************************************************//
Files: win_main.cpp (The Source File containing "window" code)
OGL.cpp (The Source File containing the "OpenGL" code)
particle.cpp (The Source File containing the "particle" code)
OGL.h (A Header File that holds prototypes)
particle.h (A Header File that holds prototypes)
Particle.dsp (The Project File holding the project info)
Particle.dsw (The Workspace File holding the workspace info)
P1.bmp, P2.bmp (The "particle" bitmaps)
Libraries: opengl32.lib, glu32.lib, glaux.lib
Win32 App: Remember, if using visual c/c++, if you want to create a windows
application from scratch, and not a console application, you must
choose "Win32 App" in the projects tab when selecting "New" from
the file menu in visual C. Your program will not be able to run
if you try and create a window inside of a console program. Once
again, if creating a new project, click on "Win32 Application" and
not "Win32 Console Application" if you want to create a program for
windows (not a DOS window). This process is further explained at
www.GameTutorials.com
Instructions: If you have visual studio c++ (around version 6) just click on the
.dsw file. This will open up up visual c++. You will most
likely see the code for .cpp. If you don't, there should be
a tab on the left window (workspace window) called "FileView". Click the
tab and click on the plus sign in this tab if it isn't already open.
There you should see 2 folders called "source" and "header".
Double click on the "source" folder and you should see your source file with
a .cpp extension after it. Double click on the file and it will open
up in your main window. Hit Control-F5 to run the program.
You will probably see a prompt to compile/build the project. Click OK and
a window should pop up with the program. :)
www.GameTutorials.com
近期下载者:
相关文件:
收藏者: