Giter Site home page Giter Site logo

lukeoverride / lavaflows Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 6.74 MB

Lava flows visualization on a real topographic surface. It is an interactive 3D application developed in GLSL which displays a topographic surface and a lava flow on it. The application is general, allowing the visualization of datasets of any size. The data is read from files. It is possible to display data from different points of view and navigate in the scene.

Home Page: https://cassiophong.wordpress.com/portfolio/lava-flow-visualization/

License: GNU General Public License v3.0

GLSL 5.16% C++ 94.84%
opengl computer-graphics lava-flow 3d

lavaflows's Introduction

3D lava flow viewer

Lava flows visualization on a real topographic surface. It is an interactive 3D application developed in GLSL which displays a topographic surface and a lava flow on it. The application is general, allowing the visualization of datasets of any size. The data is read from files. It is possible to display data from different points of view and navigate in the scene.

Compiling: I used the LearnOpenGL kit, which you can find here: https://learnopengl.com/. It uses GLFW and other libraries, which are included in the kit. You can download, compile and run the examples following the tutorial on the website and in the README included in the kit. In particular, these are the main instructions:

git clone --recursive [https://github.com/stephane-lb/LearnOpenGL.git] cd LearnOpenGL mkdir build cd build cmake ../. make -j8

To use my source files, you have to add the folder "8.lava_viewer" in "src/1.getting_started/" and modify the file CMakeLists.txt as following:

Add "8.lava_viewer" after "7.camera" (line 71)

Since I used absolute paths in my code, please also make sure that you point to existing files.

Note: most of data allocation code is in the main function. This is not a good practice, but I was obliged because using subfunctions I experienced insufficient-memory errors. Probably OpenGL always copies function arguments. If you are running your code in a more powerful machine, you can move that code.

Developed in 2016.

lavaflows's People

Contributors

lukeoverride avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.