Uploading Items From Blue Mars Sandbox Viewer
From Blue Mars Developer Guidebook
Contents |
Synopsis
The following guide demonstrates the steps involved in uploading an asset using the Blue Mars Sandbox Viewer. For more information about the viewer, please read Sandbox Viewer.
Converting Model to .cgf in Blue Mars Sandbox Viewer
- Run Previewer.exe located in Blue Mars Online\Bin32.
- When the viewer is completed loading select File > Open.
- Navigate to and open the .dae file located in the asset's folder in Blue Mars Online\Game\Objects\My Data.
- In the COLLADA Converter Tool window, keep the default settings and select the Convert button.
- A warning box appears to notifiy that any geometry (.cgf) and material files already existing in the asset's folder will be overwritten. If this is OK, then select yes.
- Your asset's folder in Blue Mars Online\Game\Objects\My Data should now contain a .cfg and .mtl file named the same as you .dae file.
- To open the newly created .cgf file click the Load button in the COLLADA Converter Tool window.
- If the COLLADA Converter Tool window is closed, then select File > Open and navigate to the .cgf file.
Positioning Model in Blue Mars Sandbox Viewer
- Select the small icon in the middle of the model, or if the icon is not visible hold the space bar and a small box should appear that you can select.
- Select Edit > Editing mode > Move, and a gizmo used to move the model appears.
- To exit the move mode, select Edit > Editing mode > Select.
Editing Model's Material in Blue Mars Sandbox Viewer
- Select the model.
- Select View > Open view pane > Material editor or press M key on your keyboard.
- Adjust the material settings to control the material's appearance.

- Use the preset lighting modes located under Display > Lighting to see what the model and material will look like in different lighting conditions.
- Also under Display > Lighting, there is a setting for turning HDR on and off.
Creating itemdata.zip and icon.tga Files From .cgf
- If not already open, run Blue Mars Sandbox Viewer and open the .cgf file desired for creating an upload-able item.
- Select the .cgf.
- Select Items > Create item from selection to create a new itemdata.zip and icon.tga file for uploading to the Blue Mars database.
- Note that when creating an item from selection, the current view in the display window will be captured as a screen shot and saved as icon.tga. This .tga file is used for the model's icon displayed on the Blue Mars Asset page, so make sure to have a good view of your model in the main display window before proceeding to upload.
- Selecting Items > Open item location opens the folder location where itemdata.zip and icon.tga are created.
Uploading Model for Evaluation
- If not already open, run Blue Mars Sandbox Viewer.
- Select Items > Open item upload page
___________
Topic Page: Uploading A Blue Mars Asset


