diff options
author | jfons <joan.fonssanchez@gmail.com> | 2021-01-29 16:12:50 +0100 |
---|---|---|
committer | jfons <joan.fonssanchez@gmail.com> | 2021-02-01 22:19:54 +0100 |
commit | 73e62dffb909fcf47be23d4fa056e9039b7e561f (patch) | |
tree | 018eef6473d004aac5cff523431da21a9046db7f /servers/camera_server.h | |
parent | 46de553473b4bea49176fb4316176a5662931160 (diff) |
3D editor grid improvements
This commit adds a view-dependant fade to the 3D viewport grid. It fades out
at steep view angles to hide the solid regions that appear far from the camera.
I also included a fade to hide the grid borders.
I added some improvements to the dynamic grid when the camera is in orthogonal mode.
It properly handles zoom now, and the grid center is now set to the intersection point
between the grid plane and the camera forward ray, keeping the grid
always visible.
Diffstat (limited to 'servers/camera_server.h')
0 files changed, 0 insertions, 0 deletions