Mark Sachs (ksleet) wrote,
Mark Sachs
ksleet

  • Mood:

Polygon Bestiary



The first pass at writing some functions for generating polygons worked out nicely. I can make an arbitrary box, a box that is actually extruded from a particular line, a regular polygon, or an interestingly randomized polygon designed to represent hollowed-out rooms. I do need to go back and tweak these a bit to allow generating most of the polygons based on an initial starting line, as that would fit in better with the map generation algorithm I'm using. But overall I'm pretty happy with this.
Tags: nagawrimo
Subscribe
  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments