Search the Community
Showing results for tags 'maze'.
-
Hi folks ! A tutorial about recursive backtracker in vex to create mazes. The idea is simple : You get your adjacent neighbours and check if they are not visited, if not, you randomly choose one and move to it. If no valid neighbours, you backtrack the stack of your previous positions and check if there is a valid neighbour until you find one. If the stack is empty no valid cells are left so the maze is done. recursive_backtracking_001.hiplc
-
Hi All, I have my first success with generating objects using Python in Houdini and I thought I post a couple of images. The concept is that an ASCII based maze is generated internally with gaps and walls. The code converts gaps into roads and walls into grass. At each step in the maze neighbors are examined and a different tile type is used that fits requirement for that space in the maze. ASCII View: Top View: Camera View: The Basic Tile Set: pieces that make up the final image.