OpenCL support

All information about Magic Particles: news, question, comments, etc.

OpenCL support

Postby noizex » Fri Jan 10, 2014 10:02 pm

Hello,
Does Magic Particles 3D offer support for computing particles on GPU? It would be great if it could use it instead of CPU as an option. As I understand, API can be used to load MP3D files and MP3D library simulates particles, and user only provides IO layer and rendering layer for it? So there is no way I could plug my own simulation there?

Also, is it possible to export from Magic Particles 3D only emitter definition / properties etc? Everything thats set up in program? If its possible, it would be also possible to just use these definitions in my own computations/rendering.

Thanks,
n.
noizex
 
Posts: 2
Joined: Fri Jan 10, 2014 9:58 pm

Re: OpenCL support

Postby Odin_KG » Sat Jan 11, 2014 2:46 pm

Does Magic Particles 3D offer support for computing particles on GPU?

Currently Magic Particles uses CPU only.

Было бы замечательно, если это могло бы использовать его вместо центрального процессора как выбор.

Yes, I am about to add this feature.

As I understand, API can be used to load MP3D files and MP3D library simulates particles, and user only provides IO layer and rendering layer for it?

Yes.

So there is no way I could plug my own simulation there?

I do not think you will be able to repeat the calculations of my API on your own.
You may get properties of each particle using Magic_GetNextParticle. After you may try to draw this particle. I think It is possible for 2D mode. Also you may draw own object instead particle.

Also, is it possible to export from Magic Particles 3D only emitter definition / properties etc?

Unfortunately, I am not interested in usage of my editor like free editor of user particle system.

Best regards,
Alexey
User avatar
Odin_KG
Administrator
Administrator
 
Posts: 255
Joined: Sat May 09, 2009 10:53 pm

Re: OpenCL support

Postby noizex » Sun Jan 12, 2014 11:50 am

Thanks for reply :) If Magic Particles gets support for GPU particles computation then it would be really great product. I will try to use it as it is now, with just CPU support - maybe it will be enough to support amount of particles I need.
noizex
 
Posts: 2
Joined: Fri Jan 10, 2014 9:58 pm

Re: OpenCL support

Postby Odin_KG » Sun Jan 12, 2014 3:14 pm

Thanks for reply :)

You are welcome :-)

If Magic Particles gets support for GPU particles computation then it would be really great product.

Currently I am trying to add new features for 3D. Then I will try to add the support for GPU.

I will try to use it as it is now, with just CPU support - maybe it will be enough to support amount of particles I need.

Usually special effect is optimized for the game. For example, it is possible to use animation of textures.
User avatar
Odin_KG
Administrator
Administrator
 
Posts: 255
Joined: Sat May 09, 2009 10:53 pm

Re: OpenCL support

Postby Odin_KG » Sun Jan 12, 2014 3:59 pm

You can see examples of special effects with a few number of particles here:
http://www.youtube.com/watch?v=S5Qp9V9rmOM
It is not Magic Particles, but the method was shown.
User avatar
Odin_KG
Administrator
Administrator
 
Posts: 255
Joined: Sat May 09, 2009 10:53 pm


Return to Magic Particles

Who is online

Users browsing this forum: No registered users and 4 guests

cron