GithubHelp home page GithubHelp logo

postrediori / oceansimulation Goto Github PK

View Code? Open in Web Editor NEW
21.0 21.0 3.0 1.87 MB

Ocean Simulation Based on a Model By Keith Lantz (https://www.keithlantz.net/)

License: MIT License

CMake 9.41% C++ 77.41% GLSL 12.63% C 0.55%
fast-fourier-transform glsl ocean-simulation opengl

oceansimulation's People

Contributors

postrediori avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

oceansimulation's Issues

Changing sky color

Hello,

I was wondering how i can change the colors on both the sky and fog? Its something i want to do for an art project

Project uses obsolete libraries

Project uses combination Freeglut+GLEW. Combination of GLFW+GLAD is up-to-date and can be included into the project as 3rd party modules.

Support for OSX

I was just checking Nick Lantz's work and bumped in to you version. Nice one!
Running and compiling on OSX will try to load the vertex_src_1_30, fragment_src_1_30 shaders by default and fails since the created OpenGL context is 2.1. With GLFW+Glad it seems to be easier to choose context on OSX, however not sure if GLFW is ported as widely as FreeGlut, so probably no Mobile Intel 965 support there ๐Ÿ˜„

Freetype.cpp:182

#ifdef __APPLE__
    vertex_src = vertex_src_1_10;
    fragment_src = fragment_src_1_10;
#else
    if (GLEW_VERSION_3_0) {
        vertex_src = vertex_src_1_30;
        fragment_src = fragment_src_1_30;
    } else {
        vertex_src = vertex_src_1_10;
        fragment_src = fragment_src_1_10;
    }
#endif

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.