Kevin LEVRON
Kevin LEVRON
We should maybe find another way to get access to renderer and threejs objects.
Actually it is not so easy to modify render loop from a component... We could use the same design pattern as in R3F (or something similar) : the `useFrame` hook...
https://github.com/troisjs/components Examples (in documentation) will be updated later.
React-Three-Fiber use a custom renderer : https://twitter.com/0xca0a/status/1309229634870013952 I tried this approach few months ago but it was not so easy and it was not possible to mix html and troisjs....
For the moment I think it is still handy to use composition **and** options API. Using only composition api => code more verbose, may be I'm wrong But using both...
It could be great to have a simple animation api to handle add and remove object with tweens, I needed this for https://troisjs.github.io/little-planet/ It could be nice to use the...
A lot of components extends Object3D (Group, Light, Mesh, InstancedMesh...), we have to find a nice way to handle life cycle (#25, #26). Events could be : - `created` :...
* https://github.com/troisjs/trois/issues/82 * https://github.com/troisjs/trois/issues/88 * https://github.com/troisjs/trois/issues/112 * https://github.com/troisjs/trois/issues/113 * https://github.com/troisjs/trois/issues/115 * https://github.com/troisjs/trois/issues/117