Closed MPanknin closed 2 years ago
The changes look quite good already, maybe take a look at my comment and see if it makes sense ( or comment if it doesn't).
Also a question: In the picture that you posted above, is the same dataset loaded 4 times ( with different clipping values)?
Yes that's correct. It's four times the same dataset for illustration purposes. Later we will use this on different datasets or for comparing a point cloud against its mesh representation for example.
Initial support for clipping of points in screen space. Which parts to clip/discard and what other parts of a point cloud to render is defined as a rectangular region in normalized device coordinates on a per material basis. This means multiple datasets can be rendered and displayed in a side-by-side fashion by defining the appropriate rectangular region of its material.
Clipping can be performed horizontally as well as vertically.