Skip to content

Mtfl0n/ShipDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌊Demo Preview Ship navigating through dynamic waves image 🚀 Overview A 3D simulation of a ship realistically interacting with ocean waves, featuring:

Dynamic wave physics

Realistic ship movement (pitch/roll)

Proper submersion effects

Interactive controls

🎮 Controls

Key Action

↑ Accelerate forward

↓ Accelerate backward

← → Steer left/right

⚙️ Technical Features

Wave System:

Procedural sine wave generation

Normal mapping for realistic lighting

Dynamic height calculation

Ship Physics:

4-point wave sampling

Submersion depth calculation

Momentum with drag

Realistic pitch/roll angles

Rendering:

Phong lighting model

Skybox environment

GLSL shaders

📚 Dependencies

OpenGL 3.3+

GLFW

GLAD

GLM

About

simple demo of floating ship with physics on OpenGL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages