我正在遊戲中,我想補充煙,火焰和爆炸效應產生的粒子系統。我正在使用THREE.js
庫進行遊戲製作。我嘗試了很多技術,但找不到結果。 我試過SPARK.js
庫和粒子系統THREE.js
本身,但無法產生預期的結果。我正在使用r51版本的THREE.js
。 任何人都可以在這方面提供幫助。 感謝如何three.js所
3
A
回答
14
我最近寫的一個粒子引擎,它能夠您所描述的特殊效果,其目前與three.js所V.56:
http://stemkoski.github.io/Three.js/Particle-Engine.html
,並請參閱博客文章http://stemkoski.blogspot.com/2013/06/creating-particle-effects-engine-in.html爲相關細節。
[更新2013年9月該粒子引擎有了很大的提高,並在http://squarefeet.github.io/ShaderParticleEngine/
相關問題
- 1. 如何three.js所
- 2. 如何three.js所
- 3. 如何計算,在three.js所
- 4. three.js所 - 如何d3.js
- 5. 如何使用three.js所
- 6. 如何使用three.js所
- 7. three.js所 - 管幾何
- 8. 在three.js所
- 9. three.js所:JSONLoader + loadAjaxJSON
- 10. 在其three.js所
- 11. 與three.js所
- 12. three.js所 - 紋理
- 13. three.js所平鋪
- 14. three.js所和WebGL
- 15. 在three.js所
- 16. three.js所用流
- 17. 與three.js所
- 18. three.js所sparks.js
- 19. three.js所上ShaderMaterial
- 20. three.js所 - 刪除
- 21. 與three.js所
- 22. 在three.js所
- 23. three.js所WebGLRenderer()
- 24. three.js所:縮放幾何
- 25. three.js所素畫家例如
- 26. 如何限制orbitcontrols鍋,three.js所
- 27. three.js所MultiplyVector3棄用如何更換
- 28. 如何使用鼠標three.js所撿
- 29. 如何導入JSON和渲染three.js所
- 30. 如何使對象忽略three.js所
Spark.js已經過時,與three.js所的最新版本不兼容仍處於發展。我強烈建議使用最新的Three.js版本,但對老版本的支持並不多。這可能意味着你只需要使用沒有spark.js的Three.js粒子系統。然後你應該顯示你所嘗試過的(你的代碼),並提供一點信息;它究竟是不是工作,以及期望的結果是什麼。 – yaku