Renders the splat scene to a lossless WebP image written via fs.
fs
Render parameters and target filename.
File system abstraction for writing the output.
await writeImage({ filename: 'view.webp', dataTable, cameraPosition: { x: 0, y: 0, z: 5 }, fov: 60, width: 1920, height: 1080, createDevice: async () => myDevice}, fs); Copy
await writeImage({ filename: 'view.webp', dataTable, cameraPosition: { x: 0, y: 0, z: 5 }, fov: 60, width: 1920, height: 1080, createDevice: async () => myDevice}, fs);
Renders the splat scene to a lossless WebP image written via
fs.