Klepto minib3d particles

BlitzMax Forums/MiniB3D Module/Klepto minib3d particles

LAB[au](Posted 2007) [#1]
Hello,

Is the particle extension functionnal? Anytime I have something happening it crashes. Could someone post a simple example or just indicate me how to initilaise an emitter and update it?

Thanks


klepto2(Posted 2007) [#2]
hi LAB[au],
here is a small sample just a simple emitter without any aditional emitters. But I will provide a better sample as soon as I have finished my particle Editor.

http://klepto2.kl.funpic.de/DL/smallparticlesample.rar


LAB[au](Posted 2007) [#3]
Thanks! There is just this part of the Emitter.Update method that I am not understanding ... seems there is no way of having 1 particle emitted each 5 seconds f.e.



In fact what I am missing is how you keep track of time (I assume Rate is expressed in particles/second).


klepto2(Posted 2007) [#4]
the particle code ic currently early beta and this part is some kind of LOD handling. eg: if you're near the Emitter it will emit the full particles, if you go further away from the emitter the particle count is reduced by the distance. Currently it acts very fast so you have to be really near if you want to have the full particle count. In the future I will provide an option to disable the LOD and I will optimize it that LOD will act first at a certain distance.