Ventures of an ex indie game developer

Piece generator

The probably most complicated script is almost done, and as usual it was harder than I had anticipated. I hadn't thought about that very irregular pieces are really hard to visualize in 3D (especially so from a single angle). And I hadn't considered that concave pieces can get stuck. There is still a bug remaining, causing triangles to be lost in translation. But it won't be hard to track down. Here are three generated pieces from a single shape. Good luck in figuring out what the heck I'm up to.

  /XX
  ´XXX
   ´bX

~~~~~~~~~~~~~~~~~~
´X`
 ´,
  ´,^
  /XXX,
~~~~~~~~~~~~~~~~~~
     X`


About the author

Mitt foto
Gothenburg, Sweden