Generates a grid-based maze, optionally bounded by geometry. By default, this generates a single-floor, grid-based, rectangular maze with no ceiling, no entrance/exit, and the default texture map on every quad. You can easily make a bigger/smaller maze by adjusting Num Cells. If you don't like the particular maze pathways you got, try changing the Random Seed. If you want a non-rectangular maze, you can bound the maze by geometry in the first input. You can draw curves for an entrance/exit pathway with the Draw Curve surface node and put them into the second input. There will always be exactly one path between any two cells in the maze, unless you add more by cutting away walls. You can create rooms by cutting away all of the walls in it in the same manner. If you want to copy-stamp or instance geometry, instead of using the default wall geometry, turn on Output Points for Instancing/Stamping to get points with attributes and groups to enable you to choose what you want where. The relevant attributes are still available when using Output Maze Geometry, if you prefer to just apply different texture maps to the walls. If you want to solve the maze, turn on Output Pathways to get polygon curves representing all pathways in the maze, attach a Find Shortest Path surface node, and select a start point and an end point to find the shortest path between them. Note that you can create a 3D maze by increasing the y component of Num Cells. They get pretty dizzy.
|Asset Type:||Sop node|
|Created:||March 19, 2015, 7 p.m.|
|Compatibility:||Houdini 14 to Houdini 15.5|
Fixed some bugs with attribute values and groups, especially when outputting points. Added support for beam spaces and corner spaces when outputting points. Fixed some mistakes in the help. Updated icon to higher resolution one. Added "grid" tag.
Updated list of programs it's supported in.
Fixed node type in example hip file.
by animatrix - March 19, 2015, 12:23 p.m.
Very elaborate and well documented. It's also very fast. A lot of fun when used in combination with Find Shortest Path SOP.
by aty84122 - March 29, 2015, 11:36 p.m.
WHY R U SO NEWBILITY?! It means you are soooo f**king awsome!