bug in tutorial 12?? particle smoke?
2 posters
bug in tutorial 12?? particle smoke?
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
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
Re: bug in tutorial 12?? particle smoke?
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
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
Re: bug in tutorial 12?? particle smoke?
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
Re: bug in tutorial 12?? particle smoke?
when use SIO2_MATERIAL_LIGHTEN.. there is no alpha
shows a square black and sphere green on the center
shows a square black and sphere green on the center
leandropim- Posts : 12
Join date : 2008-09-03
Re: bug in tutorial 12?? particle smoke?
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?
Can you enable SIO2_DEBUG_GL and tell me if there's any GL_ERROR on the console?
Re: bug in tutorial 12?? particle smoke?
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
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
Re: bug in tutorial 12?? particle smoke?
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...
Similar topics
» How to stop Particle?
» How to set particle direction ?
» Particle systems, explosion?
» 28 FPS with particle system added to Tutorial06?
» How to set particle direction ?
» Particle systems, explosion?
» 28 FPS with particle system added to Tutorial06?
Permissions in this forum:
You cannot reply to topics in this forum