[BrickFort] My Procedural LEGO Castle
Better late than never, I present to you... BrickFort!
http://i.imgur.com/5HKYdtv.png
I didn't get very single feature in that I would've liked, but I'm still proud of the end result!
I wanted to go for an original visualization, so I decided to write a Python program that outputs an LDR file. This file is understood by the LDRAW tool suite, which is an open-source community-built CAD system for virtual LEGO bricks. I then open my generated castle in LDView, which in turn exports a file for POVRay, which is an open-source raytracing program. The end result: a pretty 3D rendering of a couple thousand LEGO bricks!
http://i.imgur.com/3Wk4VUa.png
http://i.imgur.com/czlml0f.jpg
http://i.imgur.com/Abv7mvJ.jpg
Features
- 3D goodness
- Walls
- Towers
- Parapets & Merlons
- Stairs to get on the bloody walls
- Soldiers manning the walls and towers
- A cute little river with brick-built terrain
- Procedural: the amount, position and size of the towers is randomly generated, as is the river geometry. The cute little soldiers are also dropped randomly.
- Open sourced
What I wanted to do still but couldn't get done
- Interiors for the towers, including a way to get on top them
- Additional buildings like stables
- Variation in the minifigs
- A moat and drawbridge
- Varying tower heights
As with the previous challenge, the project is hosted on GitHub. The readme there contains instructions for running it yourself, if you're so inclined.
Posted Feb 11, 2016, 8:38 PM UTC