Computer Science Canada

Homer's Particle Engine

Author:  Homer_simpson [ Tue Jul 01, 2003 2:55 pm ]
Post subject:  Homer's Particle Engine

I have no idea how a real particle engine works... but i made this one some how....
the controls are only + and - to make the angle bigger and smaller...
but i'd be happy if some1 told me how a real particle engine works...

Author:  Tony [ Tue Jul 01, 2003 3:27 pm ]
Post subject: 

particle engine is what creates particles Laughing

well it has couple of properties like source, which can be a point in space or an object.

It then creates particles, which are really objects with properties like

initial location (source)
spin(if applicable)
particle type (geometrics of particle)

Thats all I can think of right now, if you want, I can look up all the properties from 3DSMAX.

Also things like gravity bind and other forces(wind) would go here...

Particle engines are used to create scenes of when there's a lot of similar obects. Like rain or snow... sand...

If engine is complex enough, it can even handle organic objects like ants or even humans.

Author:  Catalyst [ Tue Jul 01, 2003 3:37 pm ]
Post subject: 

some of the higher-level particle engines have their own scripting languges which can be used to write the rules for the system

Author:  Homer_simpson [ Tue Jul 01, 2003 4:56 pm ]
Post subject: 

hmmm... that's a lotta things to implement in a particle engine...i dont think turing's fast enough the one i made has only 500 particles and it's that slow... i might make one in c++ later...

Author:  Homer_simpson [ Wed Jul 02, 2003 12:43 am ]
Post subject: 

here's another version of my engine... it has gravity support...
controls are "+" "-" "*" "/" "," "."
and mouse...

Author:  Catalyst [ Wed Jul 02, 2003 1:15 am ]
Post subject: 

why are the particles jiggling?

also why r u doing in this turing?
**hint** opengl **hint**

Author:  Homer_simpson [ Wed Jul 02, 2003 1:31 am ]
Post subject: 

lol their jiggling cuz i made them jiggle... u can use the keyboard to make the jiggling stop... and i haven't used opengl cuz i'm still not sure how a real particle system really works... so i'm just waiting for you to b done with yer OpenGL Particle system so i'd know what a particle engine really is...
btw here's my code... as u can see the structure looks nothing like a real particle system

Author:  eggplant_burger [ Thu Jul 03, 2003 7:56 pm ]
Post subject: 

wow, Homer, your code is about umpteen bazillion times as organized as mine. I feel almost ashamed.

Author:  Homer_simpson [ Thu Jul 03, 2003 8:57 pm ]
Post subject: 

i dont think that codes organized at all... i dunno what makes u think it's organized... Wink

Author:  eggplant_burger [ Thu Jul 03, 2003 10:01 pm ]
Post subject: 

please tell me you were sarcastic about that.

Mine usually looks something like this:

for ghjf:1..70573
if sqrt(q/6353)+ghjf mod 9>51/2 then
end if
end for

throw in about 7000 random brackets and it'll look like my usual style

Author:  PaddyLong [ Thu Jul 03, 2003 10:29 pm ]
Post subject: 

then that's just sloppy programming and nothing to be proud of eggplant

Author:  krishon [ Fri Jul 04, 2003 10:28 am ]
Post subject: 

he isn't proud of it, lol, or i hope not

Author:  joebob [ Tue Jul 08, 2003 1:35 pm ]
Post subject: 

How do you see the source code for Homer's program, it's stand alone!

Author:  krishon [ Tue Jul 08, 2003 2:35 pm ]
Post subject: 

obviously he dusn't want u to steal it...otherwise we'd all post codes instead of those other exe files

Author:  Catalyst [ Tue Jul 08, 2003 2:38 pm ]
Post subject: 

he posted the code (look in the middle somewhere)

Author:  krishon [ Tue Jul 08, 2003 2:40 pm ]
Post subject: 

k...scrap wut i said..i didn't download it so i wouldn't have known, mb Embarassed