Giter Site home page Giter Site logo

Discordia Water Demo

This is a work test that I did in the begining of 2005, with OpenGL pixel and vertex shaders.

It is a scene that has a few textured boxes and a transparent water plane. When the user clicks and drags the mouse over the water plane there are waves created. The water plane is implemented by an approximation of Navier-Stockes equations. The code for the Navier-Stockes solver has not been written by me but by YannL, moderator at Gamedev in 2005. His code code be found at these links once upon a time, but they seem to be dead now:

Building and running

I have compiled this with Visual Studio 2012. Since things has changed a bit with OpenGL etc since 2005, I couldn't get the pixelbuffer code working. So there are no reflections over the water plane that I used to have in 2005. The pixlebuffer should be replaced by a OpenGL FrameBuffer anyway.

But it should just to be to open the solution file in Visual Studio 2012. But you will probably run into some problems with the paths because they are absolute at the moment. I'm going to make them relative, but it is late...

Discordia's Projects

android-cmake icon android-cmake

CMake scripts and patches for libraries using CMake and the Android NDK

box2d icon box2d

This is just a git mirror of the awesome Box2D project by Erin Catto. This enables the use of git submodules.

discordia icon discordia

Work test in OpenGL with Pixel and Vertex shaders

freetype icon freetype

This is freetype.org imported to github so that I can uses it for my projects.

freetype-sample icon freetype-sample

Example of drawing text with open gl (es) and freetype 2 on both desktop and android.

gjk-epa icon gjk-epa

C++ implementation of GJK and EPA algorithms for 2D collision detection

glm icon glm

OpenGL Mathematics (GLM)

hc icon hc

General purpose collision detection library for the use with LÖVE.

hello-security icon hello-security

Micronaut hello world to show problems with Swagger/OpenAPI generation of authenticated routes

ios-cmake icon ios-cmake

A toolchain file and examples using cmake for iOS development (this is a fork of a similar project found on code.google.com)

large-std-input icon large-std-input

Mini project showing a problem that I have with wcin.getline() for asking a question on stackoverflow

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.