1
Modification Help / [TOOL] Blender .blb Export Script [v1.1]
« on: May 25, 2013, 05:16:19 PM »
Blender .blb Exporter
Written in Python 2.6
v1.1 for Blender 2.49b
Script that exports your scene in Blender as a (mostly) complete .blb file. Positions, UV coords, colours and normals are all fully supported. Just plop the script into your Blender 2.49b scripts folder.
Get the most recent version here!
Read the documentation!
Features:
To do:
You should optimize the brick manually before you release anything made using this exporter!
It handles actual mesh data fine, but stuff like coverage needs some manual work. The good news is, as long as you're not making huge bricks, this is a piece of cake.
As the first release, you should expect bugs. Please inform me if you come across any ASAP.
Written in Python 2.6
v1.1 for Blender 2.49b
Script that exports your scene in Blender as a (mostly) complete .blb file. Positions, UV coords, colours and normals are all fully supported. Just plop the script into your Blender 2.49b scripts folder.
Get the most recent version here!
Read the documentation!
Features:
- Allows you to define custom collision(s), bounds, vertex colours, uv coords and textures
- Bricks are exported per-object, so you can export multiple bricks at once
- Generates workable (albeit poorly optimized) placement grid and coverage, also sorts quads
- Bounding box and face count limitations (its a feature!)
- "TOP" texture UVs automatically aligned to the grid, and are set up so that they rotate properly in-game
To do:
- Optimize placement grid generation
- Optimize coverage generation
- Optimize quad sorting
- Write GUI and allow room for more options
You should optimize the brick manually before you release anything made using this exporter!
It handles actual mesh data fine, but stuff like coverage needs some manual work. The good news is, as long as you're not making huge bricks, this is a piece of cake.
As the first release, you should expect bugs. Please inform me if you come across any ASAP.