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 :)