explaingit

maartennauta-pathtrace/mroadgen

Analysis updated 2026-05-18

43Audience · designerComplexity · 2/5LicenseSetup · easy

TLDR

A Blender addon that automatically builds road networks with matching sloped embankments on top of hilly 3D terrain meshes.

Mindmap

mindmap
  root((MRoadGen))
    What it does
      Auto road networks
      Embankment generation
      Terrain conforming
    Features
      Raycast placement
      Variable road width
      Intersections overpasses
      Material assignment
    Setup
      Blender 5.0 plus
      Append collection
      Video walkthrough
    Audience
      3D artists
      Level designers
    License
      Creative Commons Zero

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Generate a road network that automatically conforms to hilly terrain in a Blender scene

USE CASE 2

Build multi-lane roads with intersections and overpasses without hand-modeling embankments

USE CASE 3

Assign different road surface materials like asphalt, dirt, or cobblestone from a tool panel

USE CASE 4

Scatter grass, rocks, or other assets along road embankments using generated masks

What is it built with?

BlenderGeometry Nodes

How does it compare?

maartennauta-pathtrace/mroadgenalibaba/omnidoc-tokenbenchanswerdotai/minai
Stars434343
LanguagePythonJupyter Notebook
Last pushed2025-02-01
MaintenanceStale
Setup difficultyeasymoderatemoderate
Complexity2/53/53/5
Audiencedesignerresearcherresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 30min

Requires Blender 5.0 or later, no other software dependencies.

Placed in the public domain, use it for anything, including commercial projects, with no restrictions and no attribution required.

In plain English

MRoadGen, also called RoadGen, is a Blender addon for 3D artists that automatically builds road networks on top of hilly or uneven terrain meshes. Normally, fitting a road onto rough terrain in Blender means manually sculpting the ground so the road surface sits flush with it, which takes a lot of tedious hand adjustment. This addon handles that automatically by generating the sloped side surfaces, called embankments, that connect a flat road to whatever shape the terrain underneath happens to have. The tool works by projecting curves onto the terrain using raycasting, so a user can sketch a road path and have it follow the ground's contours. From there it can vary road width along different lanes or sections, build intersections and multi-level overpasses procedurally, and assign different surface materials such as asphalt, dirt, or cobblestone directly from a panel in the tool. It also supports custom road markings, including projecting external mesh shapes onto the road surface, and it generates color attribute masks along embankments so users can quickly scatter additional assets like grass or rocks over them. To use it, a person needs Blender version 5.0 or later. The setup is to download the provided .blend file and append its MRoadGenerator collection into an existing scene, then use the documented settings and controls to build a road network. The project maintainer has published a video walkthrough covering the full feature set and workflow. The project welcomes contributions, bug reports, and feature requests through issues or pull requests. It is released under the Creative Commons Zero v1.0 Universal license, which places the work in the public domain.

Copy-paste prompts

Prompt 1
Walk me through appending the MRoadGenerator collection into my Blender scene
Prompt 2
Explain how the raycast-based road placement works on uneven terrain in this addon
Prompt 3
Help me set up variable road widths and an intersection using this Blender tool
Prompt 4
Show me how to assign custom road markings using an external mesh in MRoadGen

Frequently asked questions

What is mroadgen?

A Blender addon that automatically builds road networks with matching sloped embankments on top of hilly 3D terrain meshes.

What license does mroadgen use?

Placed in the public domain, use it for anything, including commercial projects, with no restrictions and no attribution required.

How hard is mroadgen to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is mroadgen for?

Mainly designer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.