Page 1 of 3

Questions

PostPosted: Thu Apr 30, 2009 1:31 pm
by trinitrone100
Post your questions about Magic Particles here.

Re: Questions

PostPosted: Fri May 08, 2009 11:35 am
by ^DJ_Link^
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

Re: Questions

PostPosted: Sat May 09, 2009 10:56 pm
by Odin_KG
^DJ_Link^
Magic Particles is 2D program. z-coordinate is not used now.

Re: Questions

PostPosted: Fri Nov 27, 2009 10:37 pm
by fan3d18
Hi guys!

Can u explain why function Magic_OpenFile sometimes failed when input wasn't changed?

Re: Questions

PostPosted: Sat Nov 28, 2009 6:41 am
by Odin_KG
What is "input wasn't changed"?

Re: Questions

PostPosted: Sat Nov 28, 2009 8:21 pm
by fan3d18
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.

Re: Questions

PostPosted: Sun Nov 29, 2009 3:54 am
by Odin_KG
It is possible you should call Magic_CloseFile. Magic_OpenFile opens file using fopen. Magic_CloseFile closes file using fclose.

Re: Questions

PostPosted: Mon Nov 30, 2009 10:56 am
by Evil_gia
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.

Re: Questions

PostPosted: Mon Nov 30, 2009 12:57 pm
by Odin_KG
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.

Re: Questions

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