[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ] [ Search: ]

5.8.2 First Steps

This section presents the main panel of the user interface of the io_scene_cs add-on script.

Main export panel

The main ‘Crystal Space Export’ panel is placed in the ‘Render’ context of the ‘Properties’ (or ‘Buttons’) window. Some other panels are also added in some other contexts of the ‘Properties’ window, they will be presented later.


The panel is composed of several buttons and controls to configure and run the exporter:

The buttons

The checkboxes

Further options

If the ‘CRYSTAL’ environment variable is not defined or pointing to a directory containing the ‘walktest’ application, then most of these controls are not present and are replaced instead by the comment ‘'walktest' isn't available!’. See the dedicated section in order to solve this.

The 'Export' button

When you click on the Export button, Blender will start working and writing informations about the export process on the Blender console, until the final message: ‘EXPORTING complete’. The files generated should have been placed in the given export folder.

The structure of the files will depend whether you have checked or not the ‘Export as a CS library’ option. If it is not checked, then it will be the following:

If the ‘Export as a CS library’ option is checked, then there will be only one file generated:

If you want to visualize the exported objects, then you can open the library files with ‘viewmesh’. Take care for that that the path where are your files should be mounted correctly in the Virtual File System of Crystal Space (VFS).

In order to mount the VFS path, use the following command:

viewmesh -R=<export_path> factories/<library_file>

The 'Play' button

This button allows the user to launch the export process and view the result in the ‘walktest’ application.

In order to work correctly, your scene needs:

Once clicked on the Play button, the export process will start until the status message: EXPORTING complete appears on the Blender console. Shortly after that, the ‘walktest’ window should appear (otherwise, check the Blender console for some output message).

Using the arrow keys, you will be able to move around your scene. Note that ‘walktest’ has a lot of different keys and options, so you may want to have a look at the dedicated manual page for that.

If the 'walktest' window fails to open

If the 'walktest' screen is kept black

The 'View' button

This button allows the user to launch the export process for a single object( the active object in blender) and preview the result in the ‘viewmesh’ application. Reclicking this button will refresh the preview in viewmesh. So you don't have to relaunch viewmesh and can leave it open on a second monitor or so.

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated using texi2html 1.76.