This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Particle System Part 1


Particle System Part 1

Postby codepunk » Jun 14, 2003 @ 1:25am

Just thought I'd show a screenshot of my first foray into GapiDraw. Here's a screenshot of the beginnings of a particle system I started today. I plan on making it a little more customizable but wanted to get the basics down first. I plan on adding the ability to specify custom particle update functions and/or emitters. Here it is:

Image
User avatar
codepunk
pm Member
 
Posts: 15
Joined: Sep 8, 2002 @ 6:14am


Update

Postby codepunk » Jun 14, 2003 @ 2:20am

I figured you'd all want some performance stuff in there. After adding it, all I can say is GapiDraw is holding up quite nicely. Another picture for you below. Technical info:
Each particle is a png file with another png used for alphablt. Also, as each particle ages, the opacity is decremented. The screenshot below has a particle population of 5000 particles. When one dies, it is reinitialized and becomes in essence a new particle. Since the last post (15 minutes ago?) I added the ability to pass your own update function which will be used to create more than the fountain you see here (I also copied FPS code from the tiledemo).

Image
User avatar
codepunk
pm Member
 
Posts: 15
Joined: Sep 8, 2002 @ 6:14am


Postby vic » Jun 14, 2003 @ 4:12pm

vic.
vic
pm Member
 
Posts: 56
Joined: Nov 28, 2002 @ 1:57pm
Location: PT


Vic: more info

Postby codepunk » Jun 14, 2003 @ 11:11pm

User avatar
codepunk
pm Member
 
Posts: 15
Joined: Sep 8, 2002 @ 6:14am


Postby DillRye » Jun 15, 2003 @ 2:29am

User avatar
DillRye
pm Insider
 
Posts: 477
Joined: Apr 25, 2002 @ 7:28am
Location: Iowa State University of Eng


Postby CpuWhiz105 » Jun 15, 2003 @ 4:45am

All men are created equal,
but geeks are a little more equal.
User avatar
CpuWhiz105
pm Member
 
Posts: 39
Joined: Feb 24, 2003 @ 8:33pm
Location: Colorado Springs, CO - U.S.A.


Postby efortier » Jun 15, 2003 @ 11:26am

User avatar
efortier
pm Insider
 
Posts: 373
Joined: May 15, 2002 @ 10:32pm


Return to GapiDraw


Sort


Forum Description

The Cross-platform Graphics SDK for Palms, Pocket PCs, Symbian Devices, and Stationary PCs.

Moderators:

sponge, Johan

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum