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
feat: grid #1186
feat: grid #1186
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit d11bc64:
|
🎉 This PR is included in version 9.47.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
i think the original is https://github.com/Fyrestar/THREE.InfiniteGridHelper, it just popped up on three discourse, but either way now everyone's mentioned |
Yeah, that's correct. Threlte grid is an implementation of a quick hacked demo I did a few weeks ago. Credits got lost in comment cleanup. Thanks for tips and improvements on it too, we're going to implement asap! 🚀😁 |
Port of https://github.com/threlte/threlte/blob/main/packages/extras/src/lib/components/Grid/Grid.svelte by @grischaerbe
btw @grischaerbe i noticed the original is missing tonemapping and encoding fragments, the colors weren't managed. i'm also not 100% sure but i removed axes because i think it can just be rotated via
mesh.rotation
. at work we have a grid component that has distance attenuation, similar to how grids work in CAD. i will ask colleagues if they can add, that would be a super useful addition imo.