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 BufferGeometry #7

Open
crobi opened this issue Jan 21, 2013 · 2 comments
Open

Use BufferGeometry #7

crobi opened this issue Jan 21, 2013 · 2 comments
Assignees

Comments

@crobi
Copy link
Contributor

crobi commented Jan 21, 2013

To avoid creating thousands of temporary THREE.Vector3 objects, use THREE.BufferGeometry instead of THREE.Geometry.

Objects loaded with this loader usually do not need to be modified after loading.

Look here or here to see how BufferGeometry works.

@ghost ghost assigned crobi Jan 21, 2013
@crobi
Copy link
Contributor Author

crobi commented May 24, 2013

Progress started in branch buffer-geometry

@crobi
Copy link
Contributor Author

crobi commented Jun 20, 2013

First results show a huge speedup.

Unfortunately, three.js does not support BufferGeometry with MeshFaceMaterial and splitting meshes into multiple sub-meshes makes skinning too complex.

One could force artists to use one material per model or abandon skinning for morph animations, neither of which I like.

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

No branches or pull requests

1 participant