GithubHelp home page GithubHelp logo

cgsea's Introduction

CGSea

Underwater scene with swarming fish, procedural terrain and water caustics. This project uses OpenGL for the graphics API and C++ as the core programming language.

Final group project for COMP308 - Introduction to Computer Graphics.

Fish Boids - Francesco Badraun
Water Caustics - Alex Bartley
Terrain and structure generation - Jun Burden

###Controls: #####Navigation W - Move forward
A - Move left
S - Move backward
D - Move Move right
LMB - Rotates at point of camera (Left Mouse Button)
RMB - Rotates at center of scene (Right Mouse Button)
Scroll - Moves forward/backward #####Toggles T - Toggles terrain on/off
Y - Toggles the corals on/off
U - Toggles fog on/off
F - Toggles fish on/off
C - Toggles caustics on/off
P - Pauses/plays fish simulation
O - Steps through fish simulation 1 frame
I - Toggles fish information on/off. I.e. velocity vector and bounding box

To run use the command ./build/bin/p2

cgsea's People

Contributors

acknosyn avatar bartleya avatar junburden avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

cgsea's Issues

Error when exiting program

Closing the program causes this error:

Error in './bin/p2': double free or corruption (out):

Followed by a Backtrace and a huge Memory Map.

Known cause:
vec3 position, velocity private fields in fish.hpp class.
The problem is fixed when this code and references to it are removed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.