Camp Out

Raphael Pham | CSC 471 - Fall 2021

For this final project, I created a simple first-person program where the player is able to explore a dark forest at night and see how the environment changes as they move around with a lantern. In regards to implementation, a dummy model is hierarchically-modelled immediately behind the camera, simulating a first-person walking animation. Also, utilizing Blinn-Phong shading allows for simple lighting effects related to the placement of multiple light sources (one at the campfire, one inside the lantern held by the player). Including collision detection between the camera and the randomly-generated trees adds onto the movement logic and restrictions imposed on the player. The virtual camera is also free-moving; it is able to pan around (pitch & yaw) and move around the scene (strafe & dolly), giving the player freedom and control over the camera movement. I also added a small particle system on top of the campfire mesh, simulating a campfire with fire particles glowing and floating up into the air. Finally, the scene includes a slowly-rotating skybox textured with night sky textures and a ground plane textured with a repeating grass texture to add to the overall feel of the scene.


example image example image example image example image example image example image

Technologies Implemented

References