vujadin / BabylonHx

Port of Babylon.js 3D engine to Haxe.
http:/paradoxplay.com/babylonhx
Apache License 2.0
189 stars 43 forks source link

Solid Particle System #110

Open mightymarcus opened 8 years ago

mightymarcus commented 8 years ago

The particles are flickering and calling the setParticles function freezes the scene, I get 2 - 10 FPS on cpp and 10-15 on HTML5 with 20.000 particles where I get 60FPS with the original BJS.

vujadin commented 8 years ago

the flickering problem is probably because of latest update - I'll fix this one but about the performance I'm not sure. bjs can use either regular float array or float32array while bhx can use only regular floats. fixing this would require some work on VertexData which would affect pretty much everything else in the engine... Have you experienced any memory leaks with solid particles ?

mightymarcus commented 8 years ago

Have you experienced any memory leaks with solid particles ?

No.