orillusion icon indicating copy to clipboard operation
orillusion copied to clipboard

[FR]: Used in 2D scenes

Open ouzhou opened this issue 1 year ago • 4 comments

Is your feature request related to a problem? Please describe

I want to use it in 2D scenes to draw points, text, lines, and curves

Describe the solution you'd like

Visualization of large-scale scenes with millions of points/edges

Describe alternatives you've considered

like deckgl

ouzhou avatar Jul 12 '24 08:07 ouzhou

or regl

ouzhou avatar Jul 15 '24 10:07 ouzhou

We already have the ability in the engine-core level to draw points, lines, and curves. But there is no good samples, docs and APIs for the end users. We will plan to finish this part in the near future.

You could check the source code here:

https://github.com/Orillusion/orillusion/blob/main/samples/graphic/Sample_Shape3D.ts https://github.com/Orillusion/orillusion/blob/main/samples/graphic/Sample_Shape3DPath2D.ts https://github.com/Orillusion/orillusion/blob/main/samples/graphic/Sample_Shape3DPath3D.ts

Thanks a lot!

orillusion-admin avatar Jul 16 '24 13:07 orillusion-admin

Thank you. Could you tell me about the performance when displaying 1 million dots? I want to use it to create some graph visualizations

https://flekschas.github.io/regl-scatterplot/multiple-instances.html

ouzhou avatar Jul 18 '24 07:07 ouzhou

We currently have no test about the 2D dots scenario. But we will add this feature in the future.

orillusion-admin avatar Jul 18 '24 13:07 orillusion-admin