not a beautiful or unique snowflake (nothings) wrote,
not a beautiful or unique snowflake
nothings

Computer graphics:

Here's a little dungeon-generating-y thing I hacked together in about three or four hours, using the graphics engine from my contract project to deal with all the graphics busywork (opengl management, texture loading, and the lighting). Here's a view from outside the level; since the rooms and corridors only have internal-facing walls, it looks a little weird. Also, it's vertex-lit so it's actually crappy up close. Basically, I spent 2 hours writing a simple CSG (Constructive Solid Geometry) engine and writing a little "level generator" that made a bunch of CSG "brushes", and then another hour polishing--getting valid texture coordinates, normals, trying to get the lighting working.
Subscribe
  • Post a new comment

    Error

    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.
  • 5 comments