Questions

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

Questions

Postby trinitrone100 » Thu Apr 30, 2009 1:31 pm

Post your questions about Magic Particles here.
trinitrone100
Administrator
Administrator
 
Posts: 16
Joined: Mon Apr 13, 2009 3:20 pm

Re: Questions

Postby ^DJ_Link^ » Fri May 08, 2009 11:35 am

I'm trying to integrate Magic Particles on my 3d engine but I'm not finding where can I get the Z coordinate.
MAGIC_VERTEX_RECTANGLE on has x and y. This way all the effects are like an animated billboard
^DJ_Link^
 
Posts: 1
Joined: Fri May 08, 2009 11:33 am

Re: Questions

Postby Odin_KG » Sat May 09, 2009 10:56 pm

^DJ_Link^
Magic Particles is 2D program. z-coordinate is not used now.
User avatar
Odin_KG
Administrator
Administrator
 
Posts: 255
Joined: Sat May 09, 2009 10:53 pm

Re: Questions

Postby fan3d18 » Fri Nov 27, 2009 10:37 pm

Hi guys!

Can u explain why function Magic_OpenFile sometimes failed when input wasn't changed?
fan3d18
 
Posts: 2
Joined: Fri Nov 27, 2009 10:19 pm

Re: Questions

Postby Odin_KG » Sat Nov 28, 2009 6:41 am

What is "input wasn't changed"?
User avatar
Odin_KG
Administrator
Administrator
 
Posts: 255
Joined: Sat May 09, 2009 10:53 pm

Re: Questions

Postby fan3d18 » Sat Nov 28, 2009 8:21 pm

the same input data i mean. Sorry for my bad english.

if (Magic_OpenFile(file,&mf)==MAGIC_SUCCESS)
{
LoadFolder(mf,"");
return MAGIC_SUCCESS;
}
return MAGIC_ERROR;

Sometimes this function return MAGIC_ERROR but the variable file and mf are same.
fan3d18
 
Posts: 2
Joined: Fri Nov 27, 2009 10:19 pm

Re: Questions

Postby Odin_KG » Sun Nov 29, 2009 3:54 am

It is possible you should call Magic_CloseFile. Magic_OpenFile opens file using fopen. Magic_CloseFile closes file using fclose.
User avatar
Odin_KG
Administrator
Administrator
 
Posts: 255
Joined: Sat May 09, 2009 10:53 pm

Re: Questions

Postby Evil_gia » Mon Nov 30, 2009 10:56 am

Is there anyway for an emitter to know how many particles it has emitted that are still alive? It would be useful information for monitoring of effects.
Evil_gia
 
Posts: 2
Joined: Mon Nov 30, 2009 10:51 am

Re: Questions

Postby Odin_KG » Mon Nov 30, 2009 12:57 pm

Is there anyway for an emitter to know how many particles it has emitted that are still alive?

You can calculate number of particles via Magic_GetNextParticle only.
User avatar
Odin_KG
Administrator
Administrator
 
Posts: 255
Joined: Sat May 09, 2009 10:53 pm

Re: Questions

Postby tommo » Mon Nov 30, 2009 1:26 pm

Is text/image emitter supported by SDK?
If not, will there be a plan for this?
Thanks.
tommo
 
Posts: 2
Joined: Mon Nov 30, 2009 1:21 pm

Next

Return to Magic Particles

Who is online

Users browsing this forum: No registered users and 14 guests

cron