Mark Sachs (ksleet) wrote,
Mark Sachs

  • 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
  • Post a new comment


    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.