Custom Shader Implementation for Floor Plane Grid

Hi everyone,

I wanted to provide an update regarding the custom shader implementation for the floor plane grid that I discussed earlier in this thread. Based on the interest and questions I’ve received about the grid, I decided to push the code to a Git repository for easier access and collaboration.

You can find the repository here: https://github.com/moermansr/VTKOpenGLGrid. It contains the custom mapper for the grid along with an example implementation. It is based on the F3D example but with different shader code. At first glance, the grid seems to work as intended. However, I’ve noticed an issue where the grid sometimes disappears when moving the camera.

If anyone has insights into why this might be happening or would like to take a closer look at the implementation, feel free to check out the repository. I’d greatly appreciate any feedback or suggestions on how to address this issue.

Thanks in advance to anyone who takes the time to check this out!