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.

bug in tutorial 12?? particle smoke?

2 posters

Go down

bug in tutorial 12?? particle smoke? Empty bug in tutorial 12?? particle smoke?

Post  leandropim Tue Jan 27, 2009 11:51 am

i tested all emitter type,
smokes shows green, there is a problem with texture
i can't test on my iPhone, i only tested on simulator

leandropim

Posts : 12
Join date : 2008-09-03

Back to top Go down

bug in tutorial 12?? particle smoke? Empty Re: bug in tutorial 12?? particle smoke?

Post  leandropim Tue Jan 27, 2009 11:58 am

ok i see color is setup green,
but there isn't no alpha


i change on smoke
_SIO2emitter->_SIO2material->blend = SIO2_MATERIAL_LIGHTEN;
to
_SIO2emitter->_SIO2material->blend = SIO2_MATERIAL_ADD;

it seems better, smooth and alpha
try it

leandropim

Posts : 12
Join date : 2008-09-03

Back to top Go down

bug in tutorial 12?? particle smoke? Empty Re: bug in tutorial 12?? particle smoke?

Post  sio2interactive Tue Jan 27, 2009 4:40 pm

Actually, yes you should replace SIO2_MATERIAL_LIGHTEN by SIO2_MATERIAL_ADD, however there's no real difference cuz the previous blend call override the lighten property and result in add Wink
sio2interactive
sio2interactive

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

http://sio2interactive.com

Back to top Go down

bug in tutorial 12?? particle smoke? Empty Re: bug in tutorial 12?? particle smoke?

Post  leandropim Tue Jan 27, 2009 5:31 pm

when use SIO2_MATERIAL_LIGHTEN.. there is no alpha
shows a square black and sphere green on the center

leandropim

Posts : 12
Join date : 2008-09-03

Back to top Go down

bug in tutorial 12?? particle smoke? Empty Re: bug in tutorial 12?? particle smoke?

Post  sio2interactive Tue Jan 27, 2009 5:41 pm

Hummm really, which iPhone SDK version you are using? and which SIO2 version? Cuz it shows properly with 2.2 simulator as well as on the device...

Can you enable SIO2_DEBUG_GL and tell me if there's any GL_ERROR on the console?
sio2interactive
sio2interactive

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

http://sio2interactive.com

Back to top Go down

bug in tutorial 12?? particle smoke? Empty Re: bug in tutorial 12?? particle smoke?

Post  leandropim Thu Jan 29, 2009 11:09 pm

on tutorial 4.. you wrote "LIGHTEN is not supported with OpenGL ES"

Setting Blending on a texture, please take note that the following
blending effects are available to sio2Material.

SIO2_MATERIAL_MIX
SIO2_MATERIAL_ALPHA ( Value in Blender )
SIO2_MATERIAL_MULTIPLY
SIO2_MATERIAL_ADD
SIO2_MATERIAL_SUBTRACT
SIO2_MATERIAL_DIVIDE
SIO2_MATERIAL_DARKEN ( not supported with OpenGL ES )
SIO2_MATERIAL_DIFFERENCE
SIO2_MATERIAL_LIGHTEN ( not supported with OpenGL ES )
SIO2_MATERIAL_SCREEN

leandropim

Posts : 12
Join date : 2008-09-03

Back to top Go down

bug in tutorial 12?? particle smoke? Empty Re: bug in tutorial 12?? particle smoke?

Post  sio2interactive Fri Jan 30, 2009 2:41 am

No that's not what I meant... I meant how come its not working even if ligthen is there... cuz the last blending mode (in this case add) should make the smoke work...
sio2interactive
sio2interactive

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

http://sio2interactive.com

Back to top Go down

bug in tutorial 12?? particle smoke? Empty Re: bug in tutorial 12?? particle smoke?

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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