A new particles system use gpu

Software: Away3D 4.x

Avatar
Cheng Liao, Administrator
Posted: 07 October 2011 03:13 PM   Total Posts: 116

I’m building a particles system base on away3d,which use gpu.The effect is amusing.Now it’s only a prototype.I hope it can become a party of away3d!

https://github.com/liaocheng/away3d-particles-system

ps:I’m foreigner,I’m sorry for my poor english .

   

John Brookes, Moderator
Posted: 07 October 2011 03:47 PM   Total Posts: 732   [ # 1 ]

Well done works great.
Thankyou smile

   

Avatar
80prozent, Sr. Member
Posted: 07 October 2011 04:10 PM   Total Posts: 430   [ # 2 ]

yeah works great on my (slow) laptop too.

thank you for sharing.

 Signature 

sorry…i hope my actionscript is better than my english…

   

Richard Olsson, Administrator
Posted: 07 October 2011 09:53 PM   Total Posts: 1192   [ # 3 ]

Looking great! I will have a look at the code and talk to the team. Maybe this is indeed something that we could merge with our own internal particle experiments!

Thanks. We’ll keep you posted. smile

   

Avatar
Alejandro Santander, Administrator
Posted: 07 October 2011 10:21 PM   Total Posts: 414   [ # 4 ]

nice!

   

Avatar
Cheng Liao, Administrator
Posted: 08 October 2011 01:57 AM   Total Posts: 116   [ # 5 ]

Thank you for paying close attention to it.

In particle system which bases on cpu,the amount is limited to thousands ,but
in this which bases on gpu,the amount can reach millions.

Because of the limited of VertexBuffer3D.getVertexBuffer ,the vertex*amount must less than 65535.So in a single particlesContainer,the amount of particles is limited.But you can clone the particlesContainer,then the total amount can
reach millions.

   

CMaverick, Newbie
Posted: 10 October 2011 01:51 AM   Total Posts: 1   [ # 6 ]

Nice Job,Guy!

   

Alex Bogartz, Sr. Member
Posted: 10 October 2011 05:19 PM   Total Posts: 216   [ # 7 ]

Works right out of the box, still getting 60 fps after adding to my scene.

Nice work!

   

zhiqiangxu, Newbie
Posted: 11 October 2011 01:48 AM   Total Posts: 20   [ # 8 ]

Looking great! Nice work!

   

futuregogo, Newbie
Posted: 15 October 2011 06:29 AM   Total Posts: 4   [ # 9 ]

GOOD job ,the particles system looks very interesting…

   

Avatar
Cheng Liao, Administrator
Posted: 17 October 2011 08:26 AM   Total Posts: 116   [ # 10 ]

Now the core system has been finished.Many funny examples has been added.Please take these examples to run,and have a fun!

   

Avatar
Cheng Liao, Administrator
Posted: 17 October 2011 09:13 AM   Total Posts: 116   [ # 11 ]

In my browser ,only 20-30 M memery is used.Are you open multiple flash instance? Or if you use IE browser,when you change example from one to one,the previous one are still alive.

   

Avatar
Ringo Blanken, Administrator
Posted: 17 October 2011 01:16 PM   Total Posts: 120   [ # 12 ]

Great going to check it out. Good job so far:)

 Signature 

Freelancer: http://www.ringo.nl/en/
http://www.jiglibflash.com
http://www.awayphysics.com
http://www.away3d.com

   

Avatar
Alexander Seifert, Moderator
Posted: 19 October 2011 09:56 AM   Total Posts: 129   [ # 13 ]

I can’t get it to run :(

I added minimalcomps as dependencies and, of course, the most recent version of broomstick. However, I can’t compile since
VelocityAction, AccelerateAction, DriftAction, ScaleByTimeAction and OffestDistanceAction
can not be found.

Do I have the wrong source code?

Thanks!
Alex

 Signature 
signature_image

http://www.deltastrike.org

   

John Brookes, Moderator
Posted: 19 October 2011 10:13 AM   Total Posts: 732   [ # 14 ]

Im using the most current from that git link above and its working for me.

   

Avatar
Cheng Liao, Administrator
Posted: 19 October 2011 10:31 AM   Total Posts: 116   [ # 15 ]
Alexander Seifert - 19 October 2011 09:56 AM

I can’t get it to run :(

I added minimalcomps as dependencies and, of course, the most recent version of broomstick. However, I can’t compile since
VelocityAction, AccelerateAction, DriftAction, ScaleByTimeAction and OffestDistanceAction
can not be found.

Do I have the wrong source code?

Thanks!
Alex

copy example/* src/
and then open src/“xxx.as” compile!:(

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X