Three.js BufferGeometry vs Geometry for particles
Asked Answered
B

1

4

Some particle examples use THREE.BufferGeometry and others use a simply THREE.Geometry. Some lines about pros and cons of every method?

Bastian answered 12/5, 2014 at 11:28 Comment(0)
H
3

THREE.BufferGeometry is slowly replacing THREE.Geometry as it is computationally more efficient.

The THREE.BufferGeometry API may still be undergoing changes, so you have to be prepared for that.

The THREE.Geometry API is easier to use, perhaps, but that may be because it is more familiar.

Currently they are both supported.

Which one you use is up to you.

three.js r.67

Horrocks answered 12/5, 2014 at 14:1 Comment(2)
should new apps start with THREE.BufferGeometry by default ?Zoezoeller
@CiprianTomoiaga If you use Geometry, the renderer will create a BufferGeometry internally anyway. Use BufferGeometry if you can. three.js r.82Horrocks

© 2022 - 2024 — McMap. All rights reserved.