Blender Git Loki

Git Commits -> Revision 55f1222

Revision 55f1222 by Clément Foucault (master)
August 23, 2018, 11:56 (GMT)
3D Grid: Fix grid passing through objects too much

For this we need to add a bias depending on the viewing angle.
But increasing the hardness of the test make float precision issues in
the mesh transformation more prominent (actual geometry is far below the
surface). So to solve this issue we use a more subdivided grid mesh
8x8 quads instead of 1 triangle.

Commit Details:

Full Hash: 55f122264c7faeedb4cdb1b3d1038ac3af28f6f2
Parent Commit: 0cbbcac
Lines Changed: +53, -9

4 Modified Paths:

/source/blender/draw/intern/draw_cache.c (+43, -0) (Diff)
/source/blender/draw/intern/draw_cache.h (+1, -0) (Diff)
/source/blender/draw/modes/object_mode.c (+4, -4) (Diff)
/source/blender/draw/modes/shaders/object_grid_frag.glsl (+5, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021