Open main menu

CDOT Wiki β

Changes

DPS905 Kaitlyn ParticleEffects

177 bytes added, 18:07, 11 April 2011
no edit summary
INSTALLATION
1) Add the following files to your project:
* [http://matrix.senecac.on.ca/~dacallow/DPS905/Particle.cpp Particle.cpp]
2)
2) Append onto the bottom of your existing Effects.fx file the contents of the following file: 
* [http://matrix.senecac.on.ca/~dacallow/DPS905/effects.fx Effects.fx]
Modify your files making the following changes:
3)
3) Modify iObject.h:
* Add to Class iObject...
 4)Modify Object.h
* Add to Class Object...
void update(int now) { /* do nothing, added for particle effects & animations */ }
 
 
 
5) Modify Display.cpp
 
* Inside of method: bool Display::setup(void* hwnd)
 
near line 360 (beneath the comment "// setup successful") add...
ParticleVertex::device = d3dd;
ParticleVertexList::connectDevice(d3dd);
 
 
 
6)
7
edits