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

Three.js WebGL - Migrate from Geometry to BufferGeometry #436

Closed
andreasrosdal opened this issue Dec 5, 2021 · 1 comment
Closed

Three.js WebGL - Migrate from Geometry to BufferGeometry #436

andreasrosdal opened this issue Dec 5, 2021 · 1 comment

Comments

@andreasrosdal
Copy link
Contributor

The FCW code needs to be migrated to use BufferGeometry instead of Geometry, in order to update to recent Three.js versions.

PlaneGeometry shoud be migrated to BufferGeometry here:
https://github.com/freeciv/freeciv-web/blob/develop/freeciv-web/src/main/webapp/javascript/webgl/mapview.js#L179

FCW currently at Three.js version r124. Latest is r135.

A description about how to do this is documented here:
https://sbcode.net/threejs/geometry-to-buffergeometry/

See #336

@andreasrosdal
Copy link
Contributor Author

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

No branches or pull requests

1 participant