Skip to content

BrennanAndruss/OceanSim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌊 Ocean Simulator

A procedurally generated ocean simulation built using C++ and OpenGL. Made for CSC 471: Introduction to Computer Graphics with Dr. Zoë Wood.

For a full breakdown of the project, visit the project website

Ocean Scene

📝 Features

  • A procedurally generated ocean surface and waves with sum-of-sines wave displacement
  • Blinn-Phong lighting including cubemap reflections and the Fresnel effect
  • Analytical surface normals for the ocean surface for accurate lighting
  • A simple GameObject and Hierarchy abstraction for meshes, including support for simple buoyancy
  • A flythrough camera for scene navigation

🔍 What I Learned

  • The fundamentals of graphics programming, including lighting, texturing, hierarchical modeling, and animation
  • Procedural generation and calculating analytical surface normals with partial derivatives
  • Memory optimizations in C++ and OpenGL, including memory layouts and uniform buffer objects for shared GPU data

About

An ocean simulation made with OpenGL and C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors