by Daniel S. Soper (9 Submissions)
Category: Graphics
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating:
(2 Votes)

This program demonstrates how to create a particle explosion in three-dimensional space using OpenGL from within Visual Basic. The user can select the number of particles in the explosion, and can select the size of the particles in the explosion as well. The user can also choose to implement either positive or negative gravity in the scene, and watch how the gravity affects the particles. Other options include the abilty to select the color of the particles, including random colors, and to show or hide the XYZ coordinate axes. This program is a great way to learn about simple particle systems. NOTE: This program requires Microsoft's OpenGL type library for Visual Basic, and as such I have included it in the ZIP file. Enjoy, and let me know what you think!
Inputs
None.
Assumes
Again, this program requires Microsoft's OpenGL type library for Visual Basic, and as such I have included it in the ZIP file.
Code Returns
None.
Side Effects
None.
API DeclarationsNone.
Download OpenGL 3D Particle Explosion Demonstration (186 KB)