Games use particles for smoke, fire, sparks, and a number of other special effects. If you want to add some colors and effects into your project this tutorial will show you how by make use of particle effects. With the Truevision 3D game engine you can create and draw particles with minimal coding.
Before you start following this guide, start up the particle editor that comes with the Truevision engine and make your particles using this editor. Once your finished and have exported your new particle to a TVP file, begin at step one below.
Step One - Definitionand Loading
To load and render TVP particle files you will only need to make one definition, that is, of course, assuming you have already made reference to the Truevision 3D game engine library. For each particle file you want to load add this code to your project's object declarations,
TVParticleSystem myParticle;
and then place this code into your loading function,
myParticle = Scene.CreateParticleSystem();
Replace myParticle with whatever you would like to call your new particle object. Now that the particle object is defined you can load the Truevision particle file that your created earlier in the particle editor. Here is the code to load the particle file,
myParticle.Load(Application.StartupPath + "\\Particles\\myParticle.TVP");
That's all there is to loading a TVP particle file, now to render the actual particles, continue to step two.
Step Two - Drawing and Rendering
Rendering the new particle object is easier and simpler than loading the original object. In your game's render code block simply call the particle object's render method like so,
myParticle.Render();
Make sure to go through all the available settings and methods in the Truevision particle system to fully customize and utilize the object to your desires and needs.
Note: This tutorial was made using Truevision 3D Engine 6.5 full install.
Published by James Cloud
I like to program and do basically anything that has to do with technology and computers. View profile
Finding or Making 3D Glasses for 3D Movies and 3D TelevisionThere are two kinds of 3D glasses you might need depending on what you are watching. Some 3D experiences use the old two-color lenses, but many of the new 3D movies use RealD c...
Was the NBC 3D Super Bowl Event a Hoax?Why did NBC make it so impossible to find the 3D glasses for their Super Bowl and Chuck broadcast? The author tells of his own failed attempt to track down a pair of glasses in...- Real Estate Specializing: Triple Net Lease PropertyPrimary purpose for a Triple Net Lease (NNN) property, places responsibility to pay all property expenses upon the tenant or Lessor. This type of agreement is along term lease. Best suited for growth industries & econ...
- Csharp.Net Tutorial: Drawing Sprites with Truevision 3D
- Light Particle Wave Duality
- A Rational Cosmology: Why Spin is Not the Defining Characteristic of Particles
- Create Realistic Tree Images with Babya Photo Workshop
- F.E.A.R. First Encounter Assault Recon: Or How to Scare the Heebie-jeebies Out of...
- U2 3D: Movie Review
- New 3D Technology in Movie Theatres: Creating an Unfair Advantage for Major Studios?



