where `prefix` is the prefix you gave to Gepetto Viewer. _A trailing slash must be added_.
### Robot - moving objects
Robots have to be exported **before** applying any configuration. Right after having loaded all your models, do `gui.writeNodeFile (nodeName, filename)`
### Environment - static objects
Environment has to be exported **after** in place (having been placed correctly). Once they are at their good location, do
`gui.writeNodeFile (nodeName, filename)`
If you export them before placing them, you can capture them in a frame using the next method, in which case you will have
1 differents `path.yaml` files (one with N frames for the robot and one with 1 frame for the environment).
### OSG export results by file format
- Collada: seems OK, but quality seems poor.
- OBJ: not tested
- Box, Cylinders and other primitives: not supported by dae and obj file format
**Notice**: datas will be appended to `blenderscript.py` so it must be empty at the beginning. Otherwise, you will get an error when loading the file into blender.
## Recording frames
...
...
@@ -42,6 +23,8 @@ use `gui.captureTransformOnRefresh(True)` to start capturing and `gui.captureTra
**Notice**: datas will be appended to `filename` so it must be empty at the beginning. Otherwise, you will get an error when loading the file into blender.
**Notice**: The size of this file quickly increases. Have in mind that your movie will most likely be at 25 frames per second.