This app will display 2d point clouds that are returned from an api-server I/O routine.
The app will display a background image that scales and translates with the GL view, displaying points that are contained within the viewport and culling the rest.
Part of the demo will provide an option to disable view translation but retain the viewport culling, so that points are culled from the center of the display, demonstrating the culling.
[x] Aim camera at "window center" and rescale points based on window size
[x] Bind translation and scale to GL view
[x] Bind translation and scale to background texture
[x] Load a background image into a regl buffer for the texture
[x] Add a large datasource to api-server
[x] Add an api-server endpoint to feed data via arrow
[ ] Load points buffer in app via arrow
[ ] Rearrange coordinate systems
I am going to split this PR up into one for the api-server updates and one for the particles app. There are also updates to sigma.js that need to be pushed to their own PR.
This app will display 2d point clouds that are returned from an
api-server
I/O routine.The app will display a background image that scales and translates with the GL view, displaying points that are contained within the viewport and culling the rest.
Part of the demo will provide an option to disable view translation but retain the viewport culling, so that points are culled from the center of the display, demonstrating the culling.
Depends on https://github.com/rapidsai/node/pull/427
Steps remaining:
api-server
api-server
endpoint to feed data via arrowI am going to split this PR up into one for the
api-server
updates and one for theparticles
app. There are also updates tosigma.js
that need to be pushed to their own PR.