About SIO2Emitter

View previous topic View next topic Go down

About SIO2Emitter

Post  jlperan on Thu Nov 27, 2008 4:10 am

Im a little stuck with SIO2Emitter code. Im reading it before use it and I dont know if I fully understand it. Correct me if Im wrong for the process of a emitter Smile

1. You initialize the emitter with SIO2EmitterInit
2. You setup position, material, lifetime and max_particle with the old way (->pos = SIO2Vec3 ... etc.)
3. You Setup the emitter with SIO2EmitterSetup.
4. You start the emitter with SIO2EmitterPlay
5. In the main loop, you render it with SIO2EmitterRender

When it reaches the lifetime end, I dont see code to stop the emitter, do I have to force the stop with SIO2EmitterStop??

Do you have a sample to work with?

Thank you!

jlperan

Posts : 41
Join date : 2008-10-10

View user profile

Back to top Go down

Re: About SIO2Emitter

Post  matt on Thu Nov 27, 2008 7:02 am

sio2interactive has posted an example for particle systems in this posting, have a look at that, it should help you.

Best,
Matt

matt

Posts : 155
Join date : 2008-09-30

View user profile http://elfrun.net

Back to top Go down

Re: About SIO2Emitter

Post  sio2interactive on Thu Nov 27, 2008 4:00 pm

And also download particle.tga... I forgot to link it with the project... sorry :$
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: About SIO2Emitter

Post  jlperan on Fri Nov 28, 2008 1:28 am

But I searched it on the search engine...! emitter, SIOEmitter, ... no one appears.

Well, thank you anyway.

jlperan

Posts : 41
Join date : 2008-10-10

View user profile

Back to top Go down

Re: About SIO2Emitter

Post  meteors on Fri Nov 28, 2008 5:40 am

http://forum.sio2interactive.com/sio2-engine-f3/sio2physicinit-memory-consumption-t101.htm#544
avatar
meteors

Posts : 241
Join date : 2008-11-08
Location : Sunny Florida

View user profile

Back to top Go down

Re: About SIO2Emitter

Post  matt on Fri Nov 28, 2008 6:44 am

jlperan wrote:But I searched it on the search engine...! emitter, SIOEmitter, ... no one appears.

I linked the forum posting. Just move your mouse over "this posting" in my reply (or use meteors direct link ;-))

Best,
Matt

matt

Posts : 155
Join date : 2008-09-30

View user profile http://elfrun.net

Back to top Go down

Re: About SIO2Emitter

Post  jlperan on Fri Nov 28, 2008 10:28 am

I got the file. What I mean is search engine in the forum does not work properly.

jlperan

Posts : 41
Join date : 2008-10-10

View user profile

Back to top Go down

Re: About SIO2Emitter

Post  meteors on Fri Nov 28, 2008 10:30 am

I usually use advanced search, check "search all terms", and hit submit.

No, it's not great :-)


-j
avatar
meteors

Posts : 241
Join date : 2008-11-08
Location : Sunny Florida

View user profile

Back to top Go down

Re: About SIO2Emitter

Post  matt on Fri Nov 28, 2008 2:51 pm

jlperan wrote:I got the file. What I mean is search engine in the forum does not work properly.
Ah, okay. Agreed, the standard search is crap.

Best,
Matt

matt

Posts : 155
Join date : 2008-09-30

View user profile http://elfrun.net

Back to top Go down

Re: About SIO2Emitter

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum