Orillusion / orillusion

Orillusion is a pure Web3D rendering engine which is fully developed based on the WebGPU standard.
https://www.orillusion.com
MIT License
4.65k stars 603 forks source link

[FR]: Used in 2D scenes #414

Open ouzhou opened 1 month ago

ouzhou commented 1 month ago

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 commented 1 month ago

or regl

orillusion-admin commented 1 month ago

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!

ouzhou commented 1 month ago

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

orillusion-admin commented 1 month ago

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