Renders the splat scene to a lossless WebP image written via fs, or to a sequence of them along a camera track.
fs
Render parameters and target filename.
File system abstraction for writing the output.
await writeImage({ filename: 'view.webp', source, pool, cameraPosition: { x: 0, y: 0, z: 5 }, fov: 60, width: 1920, height: 1080, createDevice: async () => myDevice}, fs); Copy
await writeImage({ filename: 'view.webp', source, pool, 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, or to a sequence of them along a camera track.