Scene serialization

I’m working on a small scene editor that allows you to move objects around and rotate them. That’s it. However, i’m not sure how to persist my changes. Does Panda offer scene serialization built-in?

You can just save a scene :slight_smile:

sceneNode.writeToBam ( “scene.bam”)

However, it will be better to develop your own level file format. I did XML with help. But then I decided that INI is better suited.

.bam is Panda’s native serialisation format. It saves and loads quickly and supports the vast majority of Panda structures.

It is also easily extensible from C++ (and, as of recently, also from Python).