-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
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
Dynamic infinite 3D grid #28289
Dynamic infinite 3D grid #28289
Conversation
This feels like a quite important feature so how is it going? |
Happened to pass by this and it indeed would be an awesome feature! Any news on it? |
Even blender 2.8 has it now :P |
0117791
to
a5e21e0
Compare
@aaronfranke Any update? What's left? |
27077a5
to
891505f
Compare
fbf48f3
to
e734d33
Compare
e4219ff
to
fbb8488
Compare
@MCrafterzz I took another look at it, and I think it's good now. Everything seems to work great. |
Thanks, infinite grid is a really nice feature to have! Can someone review this then? |
d26e62d
to
49f3cc9
Compare
Well, infinite for all intents and purposes.
@Calinou Good suggestions! It looks great with half opacity, and I don't know what I was thinking with the comments being on the end of such long lines. EDIT: Oh, I made the changes and forgot to push them, whoops. They're pushed now... |
Thanks! |
Would it be possible to make a PR with this feature for the 3.2.2 is nearing release, but we could get this feature into 3.2.3. |
@Calinou any news on when do this can possibly be released? |
@FyiurAmron This feature is already available in the |
I think if we can see the grid when on orthogonal sideview will be useful! |
Fixes #7245, EDIT: Also fixes #37561, needs testing and feedback. What this PR does:
The grid is now infinite, it follows the camera.
The grid is now dynamic, if you zoom in and out, the grid subdivides, expands, and fades.
You can now enable grid planes for the XY and YZ planes. Only the flat XZ plane is enabled by default. Each plane is independently dynamic of the others.
The default grid size has been increased to 200, and the maximum has been increased to 2000. At 1000, the grid mostly looks edgeless.
(slightly outdated) video demo: https://www.youtube.com/watch?v=k28f3QjaW6o
If you set the division level max and min to the same value then the grid does not expand or subdivide, but instead stays the same size and just follows the camera. Also, if these values are the same, the bias value does nothing.
If you want to have Blender-like behavior, set max to 1, min to 0, and set the bias to a really low value. You may also wish to increase the grid size if you have a small bias.
Also, a future enhancement idea, it would be nice if there was a way to fade the grid with distance. Right now I have an effect where the grid lines individually fade based on distance, but it is sub-par since lines that come near the camera are still fully opaque even when far away, and also there's no way to make the grid gradually fade, right now it only fades in steps when you zoom. #12324