• Welcome to Dark Bit Factory & Gravity.
 

Particles

Started by ninogenio, April 09, 2007

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ninogenio

Heres a preview of the particle engine im going to use in my new game its takin quite a while to code this ive had to read a fair few tuts but its going quite well ive put programable emmiters in the engine that are quite flexable also theres preprogramed emmiters for basic effects such as explosions and sparks.

ive not put the source up just yet as im still working on the game but the source will come soon.
Challenge Trophies Won:

docgen


Very promisingly work. The sharing of the source will be great! Thx in advance! :)

Greetings
stef

Shockwave

Looks very nice indeed, needs to be used in a demo and not just a game though ;)
Shockwave ^ Codigos
Challenge Trophies Won:

rdc

Looks good.

benny!

Looks groovy!
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

.:] Druid [:.

Really interresting, keep it up!

ANd i second shockie:  Why only in games? :)
[sheep]: im sure he wants to goto prison.. they didnt get him last time.. he was promised a big cock up his arse.. and no doubt looking forward to it.. lets hope he gets his wish this year.

ninogenio

heres where its at now im still working on it but its almost there so source coming soon

i do plan on making some gl demos but im too into making this game right now.

some techy info this demo uses three emmiters each one producing 1000 particles.
Challenge Trophies Won:

ninogenio

well i think im just about done so heres the source it also includes the engine for my game so disregard that all the particle stuff is in the .bas file feel free to use any of this stuff for your own purposes btw.

have a tinker with the values some of the stuff its possible to create is cool.


Challenge Trophies Won:

Shockwave

It is really impressive Nino. Very kind of you to share it too so have some K+ , not for writing a game though, anyone can do that! You should be using this engine to make some demo for a party.
Shockwave ^ Codigos
Challenge Trophies Won:

ninogenio

cheers shockwave :)

i definately love creating demos and ive loads and loads of ideas going on im planing on dual releasing these demos between visual c++ and the psp.

but for now i must get this game off my back ive been working on it for months lol.
Challenge Trophies Won:

docgen

Hi!

Works fine! Thx again!

Posted by: Shockwave
QuoteIt is really impressive Nino. Very kind of you to share it too so have some K+ , not for writing a game though, anyone can do that! You should be using this engine to make some demo for a party.

Great! :)

mike_g

Nice particles nino :)

Jim

It's very impressive.  For some reason on my work PC, it runs at 0.01fps, but it's fine here at home.

Jim
Challenge Trophies Won:

ninogenio

cheer for the comments guys!

@jim thats strange, it could be the way ive coded it and the card on you works comp doesnt like it. actually there are some things like the call to glbegin(gl_quads) glend and glpush/popmatrix that are inside the for loops that might be causeing some slowdown also i should really be using trianglestrips or vertex arrays.
Challenge Trophies Won:

ninogenio

actually could someone mabey hav a little look through my code and see if theres anything glaringly obvious that might make some gfx cards grumble.

i just tested this on my dads pc and its way faster than on my laptop but my laptop seems heaps faster at playing games and rendering stuff in dx?.

on the laptop when you bring the particles anywhere near 0 on the z position it grinds almost to a halt but again on the test pc it runs just as happy.

test pc 128m geforce 4 ti4600
laptop 129m intel 900 gma integrated graphics.
Challenge Trophies Won:

Jim

If I can find the time, I'll see if I can work out what's going on.

Jim
Challenge Trophies Won:

ninogenio

cheers jim :)
Challenge Trophies Won: