
-----------------------------------
Homer_simpson
Tue Jul 01, 2003 2:55 pm

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...

-----------------------------------
Tony
Tue Jul 01, 2003 3:27 pm


-----------------------------------
particle engine is what creates particles  :lol: 

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)
velocity
lifespan
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.

-----------------------------------
Catalyst
Tue Jul 01, 2003 3:37 pm


-----------------------------------
some of the higher-level particle engines have their own scripting languges which can be used to write the rules for the system

-----------------------------------
Homer_simpson
Tue Jul 01, 2003 4:56 pm


-----------------------------------
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...

-----------------------------------
Homer_simpson
Wed Jul 02, 2003 12:43 am


-----------------------------------
here's another version of my engine... it has gravity support...
controls are "+"  "-"  "*"  "/"  ","  "." 
and mouse...

-----------------------------------
Catalyst
Wed Jul 02, 2003 1:15 am


-----------------------------------
why are the particles jiggling?

also why r u doing in this turing?
**hint** opengl **hint**

-----------------------------------
Homer_simpson
Wed Jul 02, 2003 1:31 am


-----------------------------------
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

-----------------------------------
eggplant_burger
Thu Jul 03, 2003 7:56 pm


-----------------------------------
wow, Homer, your code is about umpteen bazillion times as organized as mine. I feel almost ashamed.

-----------------------------------
Homer_simpson
Thu Jul 03, 2003 8:57 pm


-----------------------------------
lol...
i dont think that codes organized at all... i dunno what makes u think it's organized... :wink:

-----------------------------------
eggplant_burger
Thu Jul 03, 2003 10:01 pm


-----------------------------------
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
Bull.Shit(py(1,17),&&&,#*&#@^$*$)
end if
end for


throw in about 7000 random brackets and it'll look like my usual style

-----------------------------------
PaddyLong
Thu Jul 03, 2003 10:29 pm


-----------------------------------
then that's just sloppy programming and nothing to be proud of eggplant

-----------------------------------
krishon
Fri Jul 04, 2003 10:28 am


-----------------------------------
he isn't proud of it, lol, or i hope not

-----------------------------------
joebob
Tue Jul 08, 2003 1:35 pm


-----------------------------------
How do you see the source code for Homer's program, it's stand alone!

-----------------------------------
krishon
Tue Jul 08, 2003 2:35 pm


-----------------------------------
obviously he dusn't want u to steal it...otherwise we'd all post codes instead of those other exe files

-----------------------------------
Catalyst
Tue Jul 08, 2003 2:38 pm


-----------------------------------
he posted the code (look in the middle somewhere)

-----------------------------------
krishon
Tue Jul 08, 2003 2:40 pm


-----------------------------------
k...scrap wut i said..i didn't download it so i wouldn't have known, mb  :oops:
