1. home

Blender scripting: generating meshes from bones

Published

Introducing my first Blender script: a tool to generate low-poly meshes from skeletal systems. The goal was to speed up the process of prototyping simple character rigs, and to learn more about Blender and Python. This task proved challenging as most resources out there on Blender are now outdated, and I've found the API to be a little too obtuse for me to understand, perhaps as I learn more about Python it'll make more sense.

Anyways, here are the results:

Frame-rate independent interpolation for Unity

Published

Back in 2002, Robert Penner published his book, Robert Penner's Programming Macromedia Flash MX. The book was significant in that it unveiled a set of stand-alone "easing functions" for simple animation. You've probably seen these easing functions, they've been ported to every language and websites like easings.net are dedicated to them. These functions make it simple for programmers to apply various eases to tween-based animation. By "tween-based" I'm referring to keyframe animation: interpolation between two fixed points in time.

But what about animations that don't have a start time and an end time? Consider procedural animations that happen in a real-time environment, for example: "every frame ease a game object towards another game object". Those animations can't be keyframed; mathematically, we can't interpolate the in-between values (the 'tweens) if there is no definitive end to the animation.

Continue reading

Using Journey Maps in Level Design

Published

Students come to my Level Design class expecting to learn a game engine. Some expect the course to be about block-outs, others want it to be about gameplay programming, or the aesthetics of game design, or working with assets and content pipelines. These are all great topics, and it's true that there's a ton of technical ground to cover. And there's quite a bit of built-in program-level goals like game production, best practices, teamwork, communication, etc. After making room for all of these goals, there's sometimes little bandwidth left for teaching actual design, as in: How does a team create and deliver a specific experience?

For creating and communicating a vision for a level's design, we turn to tools like mood-boards, lore-writing, floorplans, and journey maps. Each of these tools provide ways for a team to establish and document their ideas, but journey maps are perhaps the most important. When done well, a journey map not only brings together various aspects of the design into a single document, but they are also intended to be testable, for both usability and desirability.

Continue reading

Old Visual Design Work

Published

I've been collecting screenshots of my visual design and UX work. Hopefully I'll have more time in the future to discuss individual pieces. In the mean time here's a collage I threw together showcasing a wide variety of my work.

Shaders 101: an Infographic

Published

Okay, I don't know if this is technically an infographic, but it's one of the first slides from my slideshow on shaders. It's a little simplistic, but it's a helpful starting point for beginners.

Older articles