Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Homer's Particle Engine
Index -> Programming, Turing -> Turing Submissions
Goto page 1, 2  Next
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Homer_simpson




PostPosted: 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...



Homer Particle Engine.zip
 Description:

Download
 Filename:  Homer Particle Engine.zip
 Filesize:  268.95 KB
 Downloaded:  949 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Tue Jul 01, 2003 3:27 pm   Post subject: (No 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)
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.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Catalyst




PostPosted: Tue Jul 01, 2003 3:37 pm   Post subject: (No subject)

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




PostPosted: Tue Jul 01, 2003 4:56 pm   Post subject: (No 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...
Homer_simpson




PostPosted: Wed Jul 02, 2003 12:43 am   Post subject: (No subject)

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



Homer Particle Engine Gravity support.zip
 Description:

Download
 Filename:  Homer Particle Engine Gravity support.zip
 Filesize:  269.57 KB
 Downloaded:  613 Time(s)

Catalyst




PostPosted: Wed Jul 02, 2003 1:15 am   Post subject: (No subject)

why are the particles jiggling?

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




PostPosted: Wed Jul 02, 2003 1:31 am   Post subject: (No 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



Homer Particle Engine Gravity support.txt
 Description:

Download
 Filename:  Homer Particle Engine Gravity support.txt
 Filesize:  3.85 KB
 Downloaded:  592 Time(s)

eggplant_burger




PostPosted: Thu Jul 03, 2003 7:56 pm   Post subject: (No subject)

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




PostPosted: Thu Jul 03, 2003 8:57 pm   Post subject: (No subject)

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




PostPosted: Thu Jul 03, 2003 10:01 pm   Post subject: (No 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
Bull.Shit(py(1,17),&&&,#*&#@^$*$)
end if
end for


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




PostPosted: Thu Jul 03, 2003 10:29 pm   Post subject: (No subject)

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




PostPosted: Fri Jul 04, 2003 10:28 am   Post subject: (No subject)

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




PostPosted: Tue Jul 08, 2003 1:35 pm   Post subject: (No subject)

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




PostPosted: Tue Jul 08, 2003 2:35 pm   Post subject: (No subject)

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




PostPosted: Tue Jul 08, 2003 2:38 pm   Post subject: (No subject)

he posted the code (look in the middle somewhere)
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 2  [ 16 Posts ]
Goto page 1, 2  Next
Jump to:   


Style:  
Search: