Category Archives: Demos

Physics Engine v2

->View more

Posted in Demos, Projects

A* Demo

This demo features A* pathfinding using the DirectX sample framework.

For the provided scenes, a simple 2D grid is used.  Two heuristic methods are provided, and a weighting option can be applied to these heuristics to influence the search.

    ->View more

    Posted in Demos, Projects

    Physics Demo

    This demo shows a few scenes of my first 3D rigid body physics engine.  This was the physics engine we used in Lux.

    The entire engine was written by me and was heavily influenced by the paper “Non-convex Rigid Bodies… ->View more

    Posted in Demos, Projects

    View Frustum Portal Culling

    This demo features view frustum culling using portals.

    The scene is first parsed and stored into a BSP tree.  The tree is used to construct a list of rooms and “portals” that can be used to cull out objects that… ->View more

    Posted in Demos, Projects

    Reflection/Refraction Demo

    This demo features reflection and refraction mapping.

    A single object in the center of the scene is textured with the reflection/refraction maps while a number of objects rotate around it.  A skybox is also being rendered to show the environment… ->View more

    Posted in Demos, Projects

    Shadow Mapping Demo

    This demo features depth-based shadow mapping and soft shadows.

    A shadow map is generated by rendering the scene from the light’s perspective.  This shadow map is then used during a second pass rendering of the scene from the camera’s perspective… ->View more

    Posted in Demos, Projects

    Bump Mapping Demo

    This demo features bump mapping using OpenGL.

    The demo is built on top of the Phong lighting demo and includes all of its features.  The normals of all geometric objects are adjusted when they are loaded in and lighting calculations… ->View more

    Posted in Demos, Projects

    Phong Lighting Demo

    This is a basic per-pixel Phong lighting shader using OpenGL.

    The scene includes a ground plane and a single object that the light is always pointed at.  The additional spheres shown represent the positions of each light.  Lighting calculations are… ->View more

    Posted in Demos, Projects