FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

About SIO2Emitter

4 posters

Go down

About SIO2Emitter Empty About SIO2Emitter

Post  jlperan Thu Nov 27, 2008 4:10 am

I´m a little stuck with SIO2Emitter code. I´m reading it before use it and I don´t know if I fully understand it. Correct me if I´m 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 don´t 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

Back to top Go down

About SIO2Emitter Empty Re: About SIO2Emitter

Post  matt 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

http://elfrun.net

Back to top Go down

About SIO2Emitter Empty Re: About SIO2Emitter

Post  sio2interactive Thu Nov 27, 2008 4:00 pm

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

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

http://sio2interactive.com

Back to top Go down

About SIO2Emitter Empty Re: About SIO2Emitter

Post  jlperan 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

Back to top Go down

About SIO2Emitter Empty Re: About SIO2Emitter

Post  meteors Fri Nov 28, 2008 5:40 am

meteors
meteors

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

Back to top Go down

About SIO2Emitter Empty Re: About SIO2Emitter

Post  matt 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

http://elfrun.net

Back to top Go down

About SIO2Emitter Empty Re: About SIO2Emitter

Post  jlperan 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

Back to top Go down

About SIO2Emitter Empty Re: About SIO2Emitter

Post  meteors 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
meteors
meteors

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

Back to top Go down

About SIO2Emitter Empty Re: About SIO2Emitter

Post  matt 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

http://elfrun.net

Back to top Go down

About SIO2Emitter Empty Re: About SIO2Emitter

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top


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