A Godot c++ engine module. It adds a different data-only mesh type with an importer, so mesh data is available even on gles2.
Go to file
2020-07-28 15:51:08 +02:00
doc_classes Sync classref with the current source. 2020-04-18 02:39:07 +02:00
nodes Improved MeshDataInstance, and PropDataMeshData will create a material in _processor_get_node_for. 2020-07-05 23:09:23 +02:00
plugin Removed single merged, and the separated bone groups import options, as I'm not yet sure whether to implement/fix them. 2020-07-27 14:26:27 +02:00
plugin_collada The collada importer is now also inherited from the new base. 2020-07-26 23:28:17 +02:00
plugin_gltf Now the importer can handle files with multiple meshes in them. 2020-07-26 14:51:53 +02:00
props Improved MeshDataInstance, and PropDataMeshData will create a material in _processor_get_node_for. 2020-07-05 23:09:23 +02:00
screenshots Proper Readme.md. 2020-07-28 15:51:08 +02:00
.gitignore
config.py Renamed PropDataMesh to PropDataMeshData, so later normal meshes can be easily added if needed. 2020-07-05 18:48:13 +02:00
LICENSE Added the license to all cpp files. Also updated the license text for 2020. 2020-01-31 19:38:20 +01:00
mesh_data_resource_collection.cpp Now the importer can handle files with multiple meshes in them. 2020-07-26 14:51:53 +02:00
mesh_data_resource_collection.h Now the importer can handle files with multiple meshes in them. 2020-07-26 14:51:53 +02:00
mesh_data_resource.cpp Now offsets use Transforms instead of just Vectors. Now capsule is rotated properly. 2020-06-30 15:23:27 +02:00
mesh_data_resource.h Now the importer can handle files with multiple meshes in them. 2020-07-26 14:51:53 +02:00
README.md Proper Readme.md. 2020-07-28 15:51:08 +02:00
register_types.cpp Now the importer can handle files with multiple meshes in them. 2020-07-26 14:51:53 +02:00
register_types.h Added the license to all cpp files. Also updated the license text for 2020. 2020-01-31 19:38:20 +01:00
SCsub Now the importer can handle files with multiple meshes in them. 2020-07-26 14:51:53 +02:00

Mesh data resource Module

A c++ Godot engine module, that adds a resource, which contains raw mesh data for merging, and collider information.

The module also comes with importers (gltf, and collada for now), you can import 3d models as MeshDataResources with these.

Optional Dependencies

https://github.com/Relintai/props: If present, you also get a prop importer for MeshDatainstances.

Pre-built binaries

You can grab a pre-built editor binary from the Broken Seals repo, should you want to. It contains all my modules.

MeshDataResource

The resource that holds mesh and collider data.

MeshDataResourceCollection

Holds a list of MeshDataResources.

MeshDataInstance

You can easily put MeshDataResources into the scene with these. They are equivalent to MeshInstances, except they work with MeshDataResources.

Importers

In order to import a 3d model as a MeshDataResource, select the model, go to the import tab, and switch the import type to <type> MDR. Like:

Broken Seals

If you set the import type to single, the importers will convert the first model that they encounter into a MeshDataResource, then save that, if you set it to multiple, you get a MeshDataResourceCollection as the main resource, and also all encountered models as files separately.

Since MeshDataResource can hold collider information, these importers can create this for you. There are quite a few options for it:

Broken Seals

Building

  1. Get the source code for the engine.

If you want Godot 3.2: git clone -b 3.2 https://github.com/godotengine/godot.git godot

If you want Godot 4.0: git clone https://github.com/godotengine/godot.git godot

  1. Go into Godot's modules directory.
cd ./godot/modules/
  1. Clone this repository
git clone https://github.com/Relintai/mesh_data_resource mesh_data_resource
  1. Build Godot. Tutorial