But it should be a single object with a single mesh. Having so many separate meshes leads to serious performance issues. On my system with a grid with spacing 0.5 (about 1200 lines I think), the program runs at about 90fps. With spacing 5 (a hundred times fewer meshes) the program runs at over 2000fps.
But it should be a single object with a single mesh. Having so many separate meshes leads to serious performance issues. On my system with a grid with spacing 0.5 (about 1200 lines I think), the program runs at about 90fps. With spacing 5 (a hundred times fewer meshes) the program runs at over 2000fps.