when i called Multiple .ptc files..it ll be crashed..why?

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

when i called Multiple .ptc files..it ll be crashed..why?

Postby raju » Wed Oct 17, 2012 12:04 pm

we can not call two .ptc files at time..means how can i work with multiple .ptc files at time in different classes..??could you please reply As soon as Possible..
raju
 
Posts: 12
Joined: Mon Oct 01, 2012 7:06 am

Re: when i called Multiple .ptc files..it ll be crashed..why?

Postby Odin_KG » Wed Oct 17, 2012 1:54 pm

API allows to load any number of ptc files. I need more info on your problem.
User avatar
Odin_KG
Administrator
Administrator
 
Posts: 255
Joined: Sat May 09, 2009 10:53 pm

Re: when i called Multiple .ptc files..it ll be crashed..why?

Postby raju » Thu Oct 18, 2012 5:00 am

is it possible to rendering many .ptc files at a time? if Yes ,can you please explain me..because i loaded and rendered two .ptc files in different classes..Then it got crashed here..,
mp->RestoreAtlas();
mp->CloseFiles();
raju
 
Posts: 12
Joined: Mon Oct 01, 2012 7:06 am

Re: when i called Multiple .ptc files..it ll be crashed..why?

Postby raju » Thu Oct 18, 2012 6:06 am

abd then I was just commented MP->Stop(); then it Renders all particles (all .ptc files) but one by one it rendering..but i need some files are loop mode and some files are once or timer basis..So what can i do for my requirement..??can you please explain me..
raju
 
Posts: 12
Joined: Mon Oct 01, 2012 7:06 am

Re: when i called Multiple .ptc files..it ll be crashed..why?

Postby ajgamester » Thu Oct 18, 2012 8:50 am

Try this code... it works ...

MP_Emitter* emitter=m_mp->GetEmitterByName( this is name of the emitter in ptc );
emitter->SetState( MAGIC_STATE_UPDATE );
Magic_SetLoopMode( emitter->GetEmitter(),1 );
ajgamester
 
Posts: 11
Joined: Fri Oct 09, 2009 6:55 am

Re: when i called Multiple .ptc files..it ll be crashed..why?

Postby Odin_KG » Thu Oct 18, 2012 9:59 am

if Yes ,can you please explain me..because i loaded and rendered two .ptc files in different classes..

What do you mean as "different classes"? You may create MP_Manager one time only. You may load many ptc in one MP_Manager.
User avatar
Odin_KG
Administrator
Administrator
 
Posts: 255
Joined: Sat May 09, 2009 10:53 pm

Re: when i called Multiple .ptc files..it ll be crashed..why?

Postby angelblue15 » Fri Jun 14, 2013 7:41 am

There is no physics in Magic Particles yet. If you need you can test the vertexes on your own.

Magic Particles allows to define the rectangle and all particles will be destroying behind this rectangle.
angelblue15
 
Posts: 1
Joined: Fri Jun 14, 2013 7:40 am

Re: when i called Multiple .ptc files..it ll be crashed..why?

Postby Odin_KG » Fri Jun 14, 2013 11:39 am

There is no physics in Magic Particles yet.

Physics will be added in next version of Magic Particles. Currently I am working at this task.
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 3 guests

cron