![]() |
Procedurally generating classic 80s houses - Printable Version +- LDraw.org Discussion Forums (https://forums.ldraw.org) +-- Forum: Off Topic (https://forums.ldraw.org/forum-28.html) +--- Forum: Off-Topic (https://forums.ldraw.org/forum-27.html) +--- Thread: Procedurally generating classic 80s houses (/thread-26221.html) |
Procedurally generating classic 80s houses - Mark Wellas - 2022-04-05 Hello ![]() I've written some code to generate random houses, classic 80s town style! At the moment, everything is random: the floorplan, colours, window/door counts and placement. It is limited to classic colours and a few windows and doors that were widespread in the 80s. The bricks are laid well, using an algorithm to maximise interlocking between levels. The roof is always a brick-built hipped roof. There is lots of potential to add new building features of course but I'm not sure where it will go after this first very basic version. Here is a picture of some houses generated today. RE: Procedurally generating classic 80s houses - Philippe Hurbain - 2022-04-06 (2022-04-05, 20:09)Mark Wellas Wrote: HelloVery nice! How is it programmed? would make a fine script for LDCad... RE: Procedurally generating classic 80s houses - Cam's Bricks - 2022-04-06 This is awesome. I wonder if the concepts from the "Neighborhood Book" could pragmatically described. This would enable a row of facades to be generated for building out city streets. RE: Procedurally generating classic 80s houses - N. W. Perry - 2022-04-06 Very neat! But I would suggest it's more 50s style than 80s; except for the specific window/door elements, these look exactly like the example models from the very first ABB and Mursten sets! RE: Procedurally generating classic 80s houses - Matthew Morrison - 2022-04-06 (2022-04-05, 20:09)Mark Wellas Wrote: Hello I would love to see the code for this. RE: Procedurally generating classic 80s houses - Mark Wellas - 2022-04-07 (2022-04-06, 6:58)Philippe Hurbain Wrote: Very nice! How is it programmed? would make a fine script for LDCad... Thanks ![]() This random procedural generation feature is actually an after thought. The original propose is to build models using a simple DSL language. Both the UI and REST API are mainly concerned with the original purpose of layouting walls. I've attached a screenshot of the editor. RE: Procedurally generating classic 80s houses - Mark Wellas - 2022-04-07 (2022-04-06, 12:22)Cam's Bricks Wrote: This is awesome. I wonder if the concepts from the "Neighborhood Book" could pragmatically described. This would enable a row of facades to be generated for building out city streets. Thank you ![]() I can't quite decide whether that means it would be super clever, or that modulars are becoming formulaic ![]() RE: Procedurally generating classic 80s houses - Mark Wellas - 2022-04-07 (2022-04-06, 23:06)Matthew Morrison Wrote: I would love to see the code for this. It's not open source but maybe that will change after release 1.0 ![]() RE: Procedurally generating classic 80s houses - Matthew Morrison - 2022-04-07 (2022-04-07, 18:42)Mark Wellas Wrote: It's not open source but maybe that will change after release 1.0 Yes please! RE: Procedurally generating classic 80s houses - Mark Wellas - 2023-11-27 It's been a long time! Here is an update. https://forums.ldraw.org/thread-27846.html |