Friday, January 27, 2012

OpenGL Affine Transformations Project

OpenGL animations done with affine transformations. A bee flies around a swaying flower with a sphere for foliage. Since OpenGL is not object-oriented and I do not feel comfortable handling non-object animations, I made classes for both the bee and the flower. The static keyword allows for calling class functions without creating an actual object.

Link to zipped executable here.

Thursday, January 19, 2012

Sierpinski Gasket

This fascinating pattern is created by the following steps:
  1. Pick 3 vertices for a triangle
  2. Assign a color for each vertex (In this case, red, green and blue)
  3. Pick an arbitrary point "p" that is inside the triangle, with an arbitrary color
  4. Pick, at random, one of the vertices. 
  5. Find the midpoint, "m", between "p" and the randomly picked vertex, along with the mid-point color
  6. Draw "m", and replace "p" with "m"
  7. Repeat from step 4

Friday, January 13, 2012

Tornado in Unity3D with physics

Particle Effect Tornado in Unity3D. Sounds and Particle Effect settings NOT BY ME. These were provided by

All I did was add C# scripts to rigid-bodies, in this case the cubes, so that they would react when in proximity to the tornado.

WARNING!: Run in windowed mode! (only way to exit is to click the X button on the window)
Link to zipped executable.

Nachman: Class Project

Two screenshots from a class project from winter quarter of last year. This was done in C++.

Graphics Library by Konstantin Knizhnik

Link to zipped executable

Inception-Themed HL2 MAP/MOD

Third, and most definitively my favorite part of the small hl2 mod I made over the summer. Music not by me.

Mod Lab Part 2

Part 2 of the second level of a small mod I made over the summer. This video shows part of a burning building with weakened wooden supports. Touching them results in whatever is left of the ceiling to come crashing down.

Virtual Rangefinder in Unity3D

Over  900 individual collider-detecting raycasts

Covers a 45° by 45° Field of View square

Each point is saved as a Cartesian coordinate

Point Cloud generated from one iteration of the rangefinder. Every individual raycast is attributed to only one point

Sample Scene. Simple lighting, simple geometry

Green lines represent raycasts. Over 400 done in this frame.

Resulting Point Cloud

Sample Scene

Resulting Point Cloud


Multiple iterations will provide more accurate Point Cloud

Also works on models.


Mod Lab Part1

First part of level 2 of a small unreleased mod I made over the summer in my spare time. Music not by me.

Grapple weapon mod hl2

My attempt to make a grapple in HL2. Inspired by Batman: Arkham Asylum.

Explosive Crossbow HL2

Very simple crossbow mod in the source engine .Ive added a few lines  to create an explosion when a crossbow bolt hits something (and does not rebound). I was going for a Ramboish effect.