User Tools

Site Tools


exporting_meshes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
exporting_meshes [2023/11/29 23:41] – created wormadminexporting_meshes [2023/11/29 23:48] (current) – raw export section wormadmin
Line 7: Line 7:
 Executing **worm export_mesh** will export the navigation mesh into the JSON format with the following structure: Executing **worm export_mesh** will export the navigation mesh into the JSON format with the following structure:
  
-Test+  [{  
 +    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.1701301317.txt.gz · Last modified: 2023/11/29 23:41 by wormadmin