We've been planning for a while to build a pip demo that uses index buffer objects and a viewport specified as a polygon for pip culling. This issue describes that project:
A web application is loaded that queries the api-server GPU backend to load a dataset onto GPU.
The api-server uses @rapidsai/cudf to load a large number of x,y point coordinates and metadata into a cudf.DataFrame.
The client app then queries for the points that contained in the current viewport and displays them.
It receives mouse events for scrolling and dragging that change the perspective on the displayed points, with a background image (or map) that translates and scales to match the GL geometry.
Whenever the perspective changes, the client requests an updated set of points from the original datasource, passing the current viewport coordinates to be used as a polygon.
api-server uses the viewport coordinates to cull the points with point-in-polygon before returning them over arrow.
#439 (comment)
We've been planning for a while to build a pip demo that uses index buffer objects and a viewport specified as a polygon for pip culling. This issue describes that project:
A web application is loaded that queries the
api-serverGPU backend to load a dataset onto GPU.The
api-serveruses@rapidsai/cudfto load a large number of x,y point coordinates and metadata into acudf.DataFrame.The client app then queries for the points that contained in the current viewport and displays them.
It receives mouse events for scrolling and dragging that change the perspective on the displayed points, with a background image (or map) that translates and scales to match the GL geometry.
Whenever the perspective changes, the client requests an updated set of points from the original datasource, passing the current viewport coordinates to be used as a polygon.
api-serveruses the viewport coordinates to cull the points with point-in-polygon before returning them over arrow.#439 (comment)