Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Particles with no gravity

Author
Message
DBAlex
19
Years of Service
User Offline
Joined: 4th Oct 2004
Location: United Kingdom
Posted: 10th Aug 2010 16:57 Edited at: 10th Aug 2010 17:39
NOW SOLVED... see below

Well thanks to KISTech I've solved my transparency issue, now I have another question:

Is it possible to have particles with no gravity?

I've been playing with the Particles sample app and changing the line:
Quote: "dbSetParticleGravity ( ParticleNumber, 2 );"


To different values but they all either move upwards or downwards.

I've also tried without setting the gravity, but the default without using that command is 5 (so particles fall downwards after they have been emitted).

What i'm looking for is particles that shoot out of the back of the object/position but don't move upwards/downwards after, so just a smooth trail of particles are left behind.

Is this possible with the internal DB particle system? Or would you advise writing my own using e.g. dbMakeObjectSphere and using transparency/ghosting effects etc.

Thanks for any help!

EDIT: Actually, I've solved this now by using the dbSetParticleLife function, here's a pic:



I can upload the full source to the modified Particles sample if someone wants it.

Learning DarkGDK for phun.

AMD X2 7750, 2GB, 250GB HD, Nvidia 9600GT, XP SP3 & Ubuntu

Login to post a reply

Server time is: 2024-07-02 09:10:32
Your offset time is: 2024-07-02 09:10:32