exporting_meshes
Table of Contents
Exporting Meshes
As of version 1.1, WORM has two methods of exporting mesh data
Exporting the Navigation Mesh
Executing worm export_mesh will export the navigation mesh into the JSON format with the following structure:
[{ id: integer, geometry: [[x, y, z]], connections: [{ id: integer, boundary: [[x, y, z]], entry: [[x, y, z]], vis: boolean, drop: boolean}] }]
Note that entry will not be present if vis is false.
Exporting Only the Mesh
Executing worm export_raw_polys will export the mesh itself, without the navigation information. It will have each polygon's vertices within brackets in a text file.
exporting_meshes.txt · Last modified: 2023/11/29 23:48 by wormadmin