420_OpenGL_Projects
These are class projects from USC CSCI-420 Computer Graphics
Roller Coaster Project
In this project, I experimented with OpenGL version 3.3 to create a physically realistic roller coaster.
implemented features
-
Railways are created with Catmull-Rom splines
-
Camera. You can use WASD to move, use mouse to rotate, and mid-button to zoom in/out. Camera can also move along the railway
-
T-shaped rail cross-sections that are auto-generated by the program.
-
Double rail and railway sleepers between them
-
Implemented sky and ground using cubemap.
-
Environment mapping for railways. If you look closer, you can see the railways are reflecting the environment.
-
Lighting! I added a directional light in the scene, and railway sleepers are rendered with Blinn-Phong model. If you move and rotate the camera around, you can see the specular.
-
Physically realistic movement.
Video
animation.mp4
Ray Tracing Project
In this project, I implemented a CPU-based ray tracer.
Implemented features
-
Bounding Volume Hierarchy for acceleration
-
Multisample Anti-Aliasing to generate high-quality images
-
multithreading to accelerate recursive reflection.
Image Example