Blender 2.9+ Addon for Trackmania 2020
Hello !
I know there was already a blender addon for Maniaplanet but I just released my blender addon dedicated to TM2020 https://github.com/voblivion/trackmania_blender_addon
It interfaces with current NadeoImporter features including :
- Visible/invisible meshes
- Collidable/non-collidable meshes
- Waypoint triggers
- Wapoint spawn point (with visual for better placement)
- Lights
- Pivots (WIP)
- Materials
- Icon generation (optional)
It generates surfaces :
- connector surface between 4 curves
- top / bottom / side meshes
- many parameters to control
- pivots and UVs generation
It's still WIP, so let me know what feature you think I should add next :) (currently working on set of tools for generating smooth surfaces more easily)
ps: it is not impossible this addon works for blender 2.8 too; let me know :)
Last edited by voblivion,
Location:
Hello !
On latest update I added a tool for surface generation. The tool's purpose is to create a smooth surface based on its 4 connecting borders (later I'll add one for "rotation" but it's still WIP). Standard borders (Slope, Slope2, SlopeStart, SlopeEnd, etc.) have been added as a library that can be imported.
How to use:
- create a new mesh
- go to : side bar > Trackmania > Libraries
- click "Load standard curves"
- go to : side bar > Trackmania > Surface
- select "Connector" as surface type
- Fill east/west/north/south border with imported curves or some of your own (warning: the 4 borders must join correctly)
- click "Update" to update the mesh
Notes on standard borders naming:
- first number is slope at start (0 = flat, 1 = semi-slope/bislope, 2 = vanilla slope)
- second number is slope at end
- third number is how many blocs curve goes forward
- fourth number is how many blocs curve goes upward
What it does:
- generate surface (both top, bottom, and sides) and apply materials
- generate pivots
- controlable smoothness / item size
- generate UV layers (warning: it generates lightmap UVs assuming it's the only mesh in the scene)
TODO:
- generate surfaces by rotation of a border
- maybe allow for custom border shape to generate new road types ? but it seems a bit complex... especially for 3-way connectors and 1-block-wide turns.
- have bottom/side generation optional to limit item size
I'll later update How To on github but if you guys want to play with it I would be glad to have your feedback :)