Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use BufferedGeometry #52

Closed
timkurvers opened this issue Sep 8, 2015 · 1 comment
Closed

Use BufferedGeometry #52

timkurvers opened this issue Sep 8, 2015 · 1 comment

Comments

@timkurvers
Copy link
Member

http://threejs.org/docs/#Reference/Core/BufferGeometry:

This class is an efficient alternative to Geometry, because it stores all data, including vertex positions, face indices, normals, colors, UVs, and custom attributes within buffers; this reduces the cost of passing all this data to the GPU. This also makes BufferGeometry harder to work with than Geometry; rather than accessing position data as Vector3 objects, color data as Color objects, and so on, you have to access the raw data from the appropriate attribute buffer. This makes BufferGeometry best-suited for static objects where you don't need to manipulate the geometry much after instantiating it.

@timkurvers
Copy link
Member Author

In use for terrain since 1fed3f3, and it is blazingly fast.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant