Write Bam Files to Disk


With this line of code you usually can “convert” a node or even the whole scenegraph to a .bam file. But that only works when the path, where you want the .bam file to be created , is relative to the source file. Whenever I want to store a bam file somewhere on my C-Drive, for example, I get an Error:

:loader(error): Unable to open C:/Users/.../scene.bam

I typed:


PS: The path is exists

Does anyone know a solution to write to that path?

Panda uses Unix-style paths, so the path should start with /c/Users and not C:/Users

Alternatively, you can use write_bam_file(Filename.from_os_specific(“C:\Users\…”))