Ziga Zajc
Ziga Zajc2w ago

Best way to render a scene with THREE JS and store it as image (backend only)

What is the best way to render a scene using THREE JS and deno completely back-end and store the image of scene on file system?
7 Replies
Ziga Zajc
Ziga ZajcOP2w ago
is puppeteer only way? or can it be done completely on back-end to save a lot of resources?
psbakre
psbakre2w ago
Probably jsdom will work
Ziga Zajc
Ziga ZajcOP2w ago
No description
Ziga Zajc
Ziga ZajcOP2w ago
No description
Ziga Zajc
Ziga ZajcOP2w ago
seems that the issue happen when three js renderer wants to call .addEventListener on provided canvas can jsdom solve this issue? or should this library gfx/canvas-wasm include addEventListener function?
Ziga Zajc
Ziga ZajcOP2w ago
after I faked addEventListener function...
No description
Ziga Zajc
Ziga ZajcOP2w ago
it seems that it won't be possible that way