Orillusion / orillusion

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

[FR]: Integration Orillusion with react #445

Open j209 opened 3 months ago

j209 commented 3 months ago

Hi I think seamless integration Orillusion with react may be good idea. like three.js+react or babylon.js+react.

JingwenBai commented 3 months ago

Thanks a lot for this consideration!

To be honest, this topic has been discussed in our Team for many times. We have following concerns and hope we could have a further talk:

  1. Vue and React, which one we should choose at the beginning?
  2. We consider to propose a project like A-frame, it is a pure web native syntax.
  3. It really takes time for us. If some more developers could join and discuss. It must be very helpful.

We will leave this issue open for some time and looking forward to more comments here.

cqh963852 commented 4 days ago

From what I know about reactive front-end frameworks, the rendering performance of these frameworks is not as good as that of game engines because they are not optimized for dedicated game scenes.

If users incorrectly use the front-end framework to drive game engine behavior, it may cause serious performance problems.

cqh963852 commented 4 days ago

I can offer a simple solution.

  1. Create a vanilla js project
  2. Place the orillusion code in
  3. Using react's portal technology
  4. Bridge orillusion and react's store for data exchange

Remember not to handle orillusion in react effect