Ziga Zajc
Ziga Zajc2mo 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 ZajcOP2mo ago
is puppeteer only way? or can it be done completely on back-end to save a lot of resources?
psbakre
psbakre2mo ago
Probably jsdom will work
Ziga Zajc
Ziga ZajcOP2mo ago
No description
Ziga Zajc
Ziga ZajcOP2mo ago
No description
Ziga Zajc
Ziga ZajcOP2mo 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 ZajcOP2mo ago
after I faked addEventListener function...
No description
Ziga Zajc
Ziga ZajcOP2mo ago
it seems that it won't be possible that way