PBs_PPs_Gl1_improvements
Here I push some improvements on the scripts regarding visualisation of the PB and PP codes in qt.
-
For the PotentialBlocks, I completely replaced CGAL with an in-house triangulation. I made the visualisation of the PBs lighter, by culling the back faces of the particles.
-
For the PotentialParticles, I fixed some bugs concerning lighting, by reversing the front and back faces and choosing a shading regime which uses the normal of each vertex (not of each face), to have a smoother rendering of the particles.
Also, I commented out a potentially-buggy one-liner statement in PotentialBlock.cpp.