fast particle engine

Everything related to the code /
Tout ce qui touche au code
Post Reply
User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

fast particle engine

Post by zuzuf » Sun Sep 16, 2007 11:15 am

ok, its done now :D .

It uses point sprites, and it draw particles as particle systems which contain particles with the same size, texture, and properties, this allow the engine to make some calculations only once per system instead of doing it for every particle. Particle systems doesn't support particle rotation and all the work is done in place on the data that are sent to OpenGL, so it's much much faster.

Currently only the nanolathe particles are using it, so it now emits twice the number of particles that was set before :D .
=>;-D Penguin Powered

User avatar
Corsaire
Posts: 68
Joined: Sun Feb 25, 2007 6:44 pm

Post by Corsaire » Sun Sep 16, 2007 12:19 pm

a test release soon maybe ? :)

User avatar
Balthazar
Moderator
Posts: 2055
Joined: Wed Nov 01, 2006 4:31 pm
Location: Russian Federation
Contact:

Post by Balthazar » Sun Sep 16, 2007 1:21 pm

Who knows :)

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Post by zuzuf » Sun Sep 16, 2007 2:29 pm

maybe, if I can get what I am working on ready for a test release tonight.

Currently I am adding full support for TA interface, so you'll have TA buttons and every thing like in TA, so mods will be supported better. But this might not be ready tonight. :?
=>;-D Penguin Powered

User avatar
Balthazar
Moderator
Posts: 2055
Joined: Wed Nov 01, 2006 4:31 pm
Location: Russian Federation
Contact:

Post by Balthazar » Sun Sep 16, 2007 3:52 pm

Yeah, better whait a little, than to speed up things.

User avatar
Balthazar
Moderator
Posts: 2055
Joined: Wed Nov 01, 2006 4:31 pm
Location: Russian Federation
Contact:

Post by Balthazar » Mon Sep 17, 2007 6:57 am

Looks like we have to wait a little more :D

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Post by zuzuf » Mon Sep 17, 2007 7:27 am

Yes, I had time to finish most of the GUI code yesterday before going to bed: only shortcuts don't work at the moment, everything else is working fine. I may try to upload a test release from school, or mail it to you if I can't.
=>;-D Penguin Powered

User avatar
Balthazar
Moderator
Posts: 2055
Joined: Wed Nov 01, 2006 4:31 pm
Location: Russian Federation
Contact:

Post by Balthazar » Mon Sep 17, 2007 8:41 am

Ok. I can host it on my site a little, or upload it to rapidshare.com :)

User avatar
Balthazar
Moderator
Posts: 2055
Joined: Wed Nov 01, 2006 4:31 pm
Location: Russian Federation
Contact:

Post by Balthazar » Tue Sep 18, 2007 1:15 pm

Are current nanolathe particles circles or quads? If there are plenty of them, I`ll experiment with different kinds of particles - maybe quads now will be nicer :)

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Post by zuzuf » Tue Sep 18, 2007 4:13 pm

Currently it's a circle textured on a quad.
=>;-D Penguin Powered

User avatar
Balthazar
Moderator
Posts: 2055
Joined: Wed Nov 01, 2006 4:31 pm
Location: Russian Federation
Contact:

Post by Balthazar » Tue Sep 18, 2007 4:38 pm

Perfect :) Then they should not blend into circles if colored as quads :)

Post Reply

Who is online

Users browsing this forum: No registered users and 30 guests