-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Grid object #743
Grid object #743
Conversation
Also easy to make prestine grid use screen-space line width. |
That is indeed a very nice grid with minimal moire 😮 |
Is the default orientation the same as a plane geometry? :) |
No, it's not. The default plane orientation is |
I was wondering this too, is it the camera clipping planes along depth? |
That's because it's not actually infinite, but scaled and positioned to appear infinite. If I scale the grid too much, the grid coords become unstable. But I'll have a look to see if I can crack it up a bit. |
So how does the prestine grid shader article achieve this effect then? |
Updates:
|
Just played with it, it works really well! 🥳 |
Yeah, I'm really happy with the end result. The prestine grid is amazing! And mixing it with a few ideas from Nicolas (most notable handling edges of non-finite grids) makes it more generally useful. |
10 million points and zooming along the grid 😆 |
Addresses one point in #739.
Techniques
I'm looking (until now) at two approaches:
I'm comparing these and will likely combine the best of both ... wip.
Notes
Use-cases / scope
Focusing on grids for axes in this PR. Will also consider log, polar and map projections, to at least know how it will fit in.
Other use-cases (for later):
MeshGridMaterial
.Early result of the prestine grid: