I am currently working on a use case where i need to make some offscreen rendering (i mean headless rendering) in a nodejs backend, with express.js to serve my offscreen rendering as an image accessible from any web client by calling my REST endpoint.
I saw 2 topics in this forum talking about headless rendering but i didn’t succeed with them. So my question is, is there a good way to do headless rendering with three.js and serve the result as an image with some framework like express js ?
Is it better to use something like ‘mock-browser’ or ‘canvas’ or / and ‘headless-gl’ ?
I also tried this famous example but it doesnt works as Threejs need to add some listener to the canvas object.
I really hope that my topic will not be considered as a duplicate, but i think it should be great for all for us to try to find a global solution ?
Thank you for reading.