Skip to content

Blender Add-on - game asset exporter for the defold game engine.

License

Notifications You must be signed in to change notification settings

FlexYourBrain/CleanGameAssetExporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Blender add-on for exporting game asset files to use with the Defold game engine - mesh components. Options allow the user to choose what attribute streams they wish to export, keeping their game asset files lean. Export single assets or batch export multiple assets by selection.

Roadmap:

The current goal of this add-on is to streamline game ready assets from blender to defold game projects and give the game developer the options to export what data they need for mesh components. Future updates focused on making the asset pipeline even more optimized by making less manual work like creating and adding the .buffer files to .mesh files. Instead options to do these things should make the process easier for small and large game development projects alike. The add-on should also evolve with the requirements needed by the Defold game engine.

How to install:

Go to Edit menu > preferences > Get Extensions , With internet enabled search filter "Add-ons" and Repositories set to "extensions.blender.org" search for "Clean Exporter" now should show up as available with a convenient install button.

Alternatively you can download a github release and install in blender from disk option. Legacy release version may work with older versions of blender pre 4.2. The current legacy version was tested using blender 3.1.2

How to use:

After successful install you can find the add-on in 3Dview > N-panel. While in 3d view press the N key to bring up property panels then choose the CLEAN panel.

Next select one or more mesh objects for export. Note: each selected mesh object will be exported into it's own .buffer file and all non-mesh objects will be ignored. Select which attribute streams you would like to export (each stream can be accessed as needed in shader's ). Choose an output directory to your project. Now ready to export!

Streams:

∙ Vertex position - exports stream by default.

∙ Normals stream

∙ UV coordinates - exports as named in blender ( Properties > Data > UV Maps ). Note: In Defold built-ins shader's use “texcoord0” as UV attribute name.

∙ Tangents stream

∙ Vertex Colors - Can be accessed in shader's as "color" attribute.

Y-UP: Rotates object(s) and applies transform to match Defold's right hand Cartesian coordinate system.

Output Directory: file path for export.

Defold project:

After exporting from blender you should now be ready to add the mesh .buffer files to mesh components in Defold.

links :

About

Blender Add-on - game asset exporter for the defold game engine.

Resources

License

Stars

Watchers

Forks

Packages

No packages published