How to create gridlines in 3D view, similar to the effect in the figure