Recently I have tested serveral examples in the newest version of irrlicht-trunk.
And I find something queer about the particle system.
For the current irrlicht-truck version.
I run the example 08.SpecialFX_vc9.
And the particle system scene node of the fire is missing on the screen.
I tried to trace and compare source codes of irrlicht 1.7.2 and current irrlicht-trunk.
And I can not find why the fire particles cannot be shown on the current trunk version.
Did anyone find this problem too?
And could anyone tell me how to fix this problem?
ParticleSystem bug?
Re: ParticleSystem bug?
Yeah, it already got reported and I mentioned it in some other thread (I think in latest svn trunk bugs thread). The problem is the new handling for alpha-blending. I think setting the particle material BlendOperation to EBO_ADD did fix that (can't test right now). I'm not sure if that should be fixed in the example as Hybrid is still working on materials I think.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: ParticleSystem bug?
Well, for quick try, I change the particle system scene node's material type to EMT_TRANSPARENT_ADD_COLOR,
and particles are back on the screen.
Thanks for your help.
and particles are back on the screen.
Thanks for your help.
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Re: ParticleSystem bug?
I have several partial changes in my repositories, which I have to separate first. But I know of these problems and have some fixes already.
Re: ParticleSystem bug?
Can I ask about the reason of particle missing problems in the current situation?
Is there another alpha testing step exclude particles of TRANSPARENT_VERTEX_ALPHA elsewhere?
Is there another alpha testing step exclude particles of TRANSPARENT_VERTEX_ALPHA elsewhere?
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Re: ParticleSystem bug?
No, and moreover, these problems are view angle dependant. If I really knew the reasons, I might have already fixed it completely.