Archived post by PaqWak

@bhenriksson , I can see this feedback loop working indeed, thanks a lot for the suggestion !

So the forloop with feedback works really well, I just had add a little bit of jittering to help the uvlayout packing algorithm.

Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20183411/04/18/RoomLayout.gif
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20183411/04/18/RoomV9.hiplc

Archived post by PaqWak

Hi Luiz, here’s my procedure :
A) I create a collection of N rooms, integer sized (1-4 unit long, 2-4 unit large) and I uv-pack them together (uv layout). B) Boolean / convertline the result, so I have unique polyline primitives between all the points. C) I create this red inside polyline structures D) Intersectionanalysis between the red and the black lines, so I can delete every red lines that touch nothing … E) and also keep only one red primitive primitive, randomly, for every black wall line. F) polyexpand the red line G) boolean subtract with the black wall.
The Game Jam version was slightly more complex because I also added a corridor in the mix, but the idea is the same.

Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20181911/04/18/Logic.jpg