trois icon indicating copy to clipboard operation
trois copied to clipboard

Custom renderer ?

Open klevron opened this issue 3 years ago • 4 comments

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.

Don't wait a custom renderer, it won't make you better at making awesome things with troisjs

Ressources :

  • https://lachlan-miller.me/articles/vue-3-pdf-customer-renderer
  • https://youtube.com/playlist?list=PLC2LZCNWKL9b876nPMVULEyBzkVoH8B7n

klevron avatar Mar 05 '21 10:03 klevron

Here is a demo of creating a custom React renderer, which I think could actually be helpful if you decide to build a custom Vue renderer: https://www.youtube.com/watch?v=CGpMlWVcHok I personally find it helpful.

fnick851 avatar Jun 17 '21 22:06 fnick851

That's an excellent talk @fnick851 , thanks for the link! I just watched it and it'll definitely come in useful for this issue.

SaFrMo avatar Jul 02 '21 21:07 SaFrMo

it will be so cool to have three fiber with in troisjs, i will try to it myself as well, hopefully could help get some insign.

differentMonster avatar Nov 14 '21 05:11 differentMonster

Update on this issue - I was able to get a basic version working here. I've been working on a better-organized version and will be making that public hopefully in the next few weeks - will keep this thread posted!

SaFrMo avatar Nov 15 '21 14:11 SaFrMo