Minimal Wavefront OBJ mesh exporter

An asset by fractilegames
The page banner background of a mountain and forest
Minimal Wavefront OBJ mesh exporter hero image

Quick Information

0 ratings
Minimal Wavefront OBJ mesh exporter icon image
fractilegames
Minimal Wavefront OBJ mesh exporter

Minimal Wavefront OBJ mesh geometry exporter script. Only supports meshes with indexed vertex data and does not export materials.

Supported Engine Version
3.3
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL

Wavefront OBJ mesh exporter

Minimal Wavefront OBJ mesh geometry exporter script. Only supports meshes with indexed vertex data and does not export materials.

Usage

Copy the objexport.gd -file to your project directory and use it for example like this:

var mesh = SphereMesh.new()

var obj_export = load("res://objexport.gd").new()
obj_export.save_mesh_to_obj(mesh, "output.obj", "mymesh")

The first argument to the function is the mesh resource to be saved, second is the output file name and third is the name for the object inside the exported file.

License

MIT license.

This was initially made for dumping procedurally generated level mesh to file for debugging in Polychoron game project.

Minimal Wavefront OBJ mesh geometry exporter script. Only supports meshes with indexed vertex data and does not export materials.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Minimal Wavefront OBJ mesh exporter icon image
fractilegames
Minimal Wavefront OBJ mesh exporter

Minimal Wavefront OBJ mesh geometry exporter script. Only supports meshes with indexed vertex data and does not export materials.

Supported Engine Version
3.3
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers