├── .gitignore ├── .gitmodules ├── .travis.yml ├── 3rdParty ├── CMakeLists.txt └── GL3W │ ├── CMakeLists.txt │ ├── gl3w.cpp │ ├── gl3w.h │ └── glcorearb.h ├── CMakeLists.txt ├── LICENSE ├── README.md ├── Shader ├── display │ ├── 2D │ │ ├── 2d_display.fs.glsl │ │ └── 2d_display.vs.glsl │ └── 3D │ │ ├── Shadow.fs.glsl │ │ ├── Shadow.tcs.glsl │ │ ├── Shadow.tes.glsl │ │ ├── Shadow.vs.glsl │ │ ├── dispmap.fs.glsl │ │ ├── dispmap.tcs.glsl │ │ ├── dispmap.tes.glsl │ │ ├── dispmap.vs.glsl │ │ ├── waterDispmap.fs.glsl │ │ ├── waterDispmap.tcs.glsl │ │ ├── waterDispmap.tes.glsl │ │ ├── waterDispmap.vs.glsl │ │ ├── waterFlow.fs.glsl │ │ └── waterFlow.vs.glsl └── simulation │ ├── climat │ ├── climat.fs.glsl │ └── climat.vs.glsl │ ├── ice │ ├── ice_Sim.fs.glsl │ └── ice_Sim.vs.glsl │ ├── moist │ ├── moist_Sim.fs.glsl │ └── moist_Sim.vs.glsl │ ├── rock │ ├── rock_Sim.fs.glsl │ └── rock_Sim.vs.glsl │ ├── soil │ ├── soil_Sim.fs.glsl │ └── soil_Sim.vs.glsl │ ├── temp │ ├── temp_Sim.fs.glsl │ └── temp_Sim.vs.glsl │ ├── water │ ├── water_Sim.fs.glsl │ └── water_Sim.vs.glsl │ └── wind │ ├── wind_Sim.fs.glsl │ └── wind_Sim.vs.glsl ├── Thesis.pdf ├── cmake ├── FindAntTweakBar.cmake ├── FindGLFW.cmake ├── FindGLM.cmake └── FindLibNoise.cmake ├── include ├── 3DRender │ ├── Camera.h │ ├── Light.h │ ├── Shadows.h │ ├── WaterRender.h │ ├── display3D.h │ ├── landscapeRender.h │ └── plane.h ├── RendToTex.h ├── ShaderLoader.h ├── TextureLoader.h ├── display2D.h ├── inputHandler.h ├── simpleRender.h └── simulation.h ├── install.sh ├── res └── grass_normals.png ├── run.sh ├── screenshots ├── 3DMap.png ├── Climat.png └── heightmap.png ├── scripts └── installDependencies.sh └── src ├── 3DRender ├── CMakeLists.txt ├── Camera.cpp ├── Light.cpp ├── Shadows.cpp ├── WaterRender.cpp ├── display3D.cpp ├── landscapeRender.cpp └── plane.cpp ├── CMakeLists.txt ├── RendToTex.cpp ├── ShaderLoader.cpp ├── TextureLoader.cpp ├── display2D.cpp ├── inputHandler.cpp ├── main.cpp ├── simpleRender.cpp └── simulation.cpp /.gitignore: -------------------------------------------------------------------------------- 1 | build/* 2 | nbproject/* 3 | /outputIMG/ 4 | anttweakbar/* -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/.gitmodules -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/.travis.yml -------------------------------------------------------------------------------- /3rdParty/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/3rdParty/CMakeLists.txt -------------------------------------------------------------------------------- /3rdParty/GL3W/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/3rdParty/GL3W/CMakeLists.txt -------------------------------------------------------------------------------- /3rdParty/GL3W/gl3w.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/3rdParty/GL3W/gl3w.cpp -------------------------------------------------------------------------------- /3rdParty/GL3W/gl3w.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/3rdParty/GL3W/gl3w.h -------------------------------------------------------------------------------- /3rdParty/GL3W/glcorearb.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/3rdParty/GL3W/glcorearb.h -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/README.md -------------------------------------------------------------------------------- /Shader/display/2D/2d_display.fs.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/Shader/display/2D/2d_display.fs.glsl -------------------------------------------------------------------------------- /Shader/display/2D/2d_display.vs.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/Shader/display/2D/2d_display.vs.glsl -------------------------------------------------------------------------------- /Shader/display/3D/Shadow.fs.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/Shader/display/3D/Shadow.fs.glsl -------------------------------------------------------------------------------- /Shader/display/3D/Shadow.tcs.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/Shader/display/3D/Shadow.tcs.glsl -------------------------------------------------------------------------------- /Shader/display/3D/Shadow.tes.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/Shader/display/3D/Shadow.tes.glsl -------------------------------------------------------------------------------- /Shader/display/3D/Shadow.vs.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/Shader/display/3D/Shadow.vs.glsl -------------------------------------------------------------------------------- /Shader/display/3D/dispmap.fs.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/Shader/display/3D/dispmap.fs.glsl -------------------------------------------------------------------------------- /Shader/display/3D/dispmap.tcs.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/Shader/display/3D/dispmap.tcs.glsl -------------------------------------------------------------------------------- /Shader/display/3D/dispmap.tes.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/Shader/display/3D/dispmap.tes.glsl -------------------------------------------------------------------------------- /Shader/display/3D/dispmap.vs.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/Shader/display/3D/dispmap.vs.glsl -------------------------------------------------------------------------------- /Shader/display/3D/waterDispmap.fs.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/Shader/display/3D/waterDispmap.fs.glsl -------------------------------------------------------------------------------- /Shader/display/3D/waterDispmap.tcs.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/Shader/display/3D/waterDispmap.tcs.glsl -------------------------------------------------------------------------------- /Shader/display/3D/waterDispmap.tes.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/Shader/display/3D/waterDispmap.tes.glsl -------------------------------------------------------------------------------- /Shader/display/3D/waterDispmap.vs.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/Shader/display/3D/waterDispmap.vs.glsl -------------------------------------------------------------------------------- /Shader/display/3D/waterFlow.fs.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/Shader/display/3D/waterFlow.fs.glsl -------------------------------------------------------------------------------- /Shader/display/3D/waterFlow.vs.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/Shader/display/3D/waterFlow.vs.glsl -------------------------------------------------------------------------------- /Shader/simulation/climat/climat.fs.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/Shader/simulation/climat/climat.fs.glsl -------------------------------------------------------------------------------- /Shader/simulation/climat/climat.vs.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/Shader/simulation/climat/climat.vs.glsl -------------------------------------------------------------------------------- /Shader/simulation/ice/ice_Sim.fs.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/Shader/simulation/ice/ice_Sim.fs.glsl -------------------------------------------------------------------------------- /Shader/simulation/ice/ice_Sim.vs.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/Shader/simulation/ice/ice_Sim.vs.glsl -------------------------------------------------------------------------------- /Shader/simulation/moist/moist_Sim.fs.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/Shader/simulation/moist/moist_Sim.fs.glsl -------------------------------------------------------------------------------- /Shader/simulation/moist/moist_Sim.vs.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/Shader/simulation/moist/moist_Sim.vs.glsl -------------------------------------------------------------------------------- /Shader/simulation/rock/rock_Sim.fs.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/Shader/simulation/rock/rock_Sim.fs.glsl -------------------------------------------------------------------------------- /Shader/simulation/rock/rock_Sim.vs.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/Shader/simulation/rock/rock_Sim.vs.glsl -------------------------------------------------------------------------------- /Shader/simulation/soil/soil_Sim.fs.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/Shader/simulation/soil/soil_Sim.fs.glsl -------------------------------------------------------------------------------- /Shader/simulation/soil/soil_Sim.vs.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/Shader/simulation/soil/soil_Sim.vs.glsl -------------------------------------------------------------------------------- /Shader/simulation/temp/temp_Sim.fs.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/Shader/simulation/temp/temp_Sim.fs.glsl -------------------------------------------------------------------------------- /Shader/simulation/temp/temp_Sim.vs.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/Shader/simulation/temp/temp_Sim.vs.glsl -------------------------------------------------------------------------------- /Shader/simulation/water/water_Sim.fs.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/Shader/simulation/water/water_Sim.fs.glsl -------------------------------------------------------------------------------- /Shader/simulation/water/water_Sim.vs.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/Shader/simulation/water/water_Sim.vs.glsl -------------------------------------------------------------------------------- /Shader/simulation/wind/wind_Sim.fs.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/Shader/simulation/wind/wind_Sim.fs.glsl -------------------------------------------------------------------------------- /Shader/simulation/wind/wind_Sim.vs.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/Shader/simulation/wind/wind_Sim.vs.glsl -------------------------------------------------------------------------------- /Thesis.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/Thesis.pdf -------------------------------------------------------------------------------- /cmake/FindAntTweakBar.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/cmake/FindAntTweakBar.cmake -------------------------------------------------------------------------------- /cmake/FindGLFW.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/cmake/FindGLFW.cmake -------------------------------------------------------------------------------- /cmake/FindGLM.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/cmake/FindGLM.cmake -------------------------------------------------------------------------------- /cmake/FindLibNoise.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/cmake/FindLibNoise.cmake -------------------------------------------------------------------------------- /include/3DRender/Camera.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/include/3DRender/Camera.h -------------------------------------------------------------------------------- /include/3DRender/Light.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/include/3DRender/Light.h -------------------------------------------------------------------------------- /include/3DRender/Shadows.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/include/3DRender/Shadows.h -------------------------------------------------------------------------------- /include/3DRender/WaterRender.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/include/3DRender/WaterRender.h -------------------------------------------------------------------------------- /include/3DRender/display3D.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/include/3DRender/display3D.h -------------------------------------------------------------------------------- /include/3DRender/landscapeRender.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/include/3DRender/landscapeRender.h -------------------------------------------------------------------------------- /include/3DRender/plane.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/include/3DRender/plane.h -------------------------------------------------------------------------------- /include/RendToTex.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/include/RendToTex.h -------------------------------------------------------------------------------- /include/ShaderLoader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/include/ShaderLoader.h -------------------------------------------------------------------------------- /include/TextureLoader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/include/TextureLoader.h -------------------------------------------------------------------------------- /include/display2D.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/include/display2D.h -------------------------------------------------------------------------------- /include/inputHandler.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/include/inputHandler.h -------------------------------------------------------------------------------- /include/simpleRender.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/include/simpleRender.h -------------------------------------------------------------------------------- /include/simulation.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/include/simulation.h -------------------------------------------------------------------------------- /install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/install.sh -------------------------------------------------------------------------------- /res/grass_normals.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/res/grass_normals.png -------------------------------------------------------------------------------- /run.sh: -------------------------------------------------------------------------------- 1 | 2 | 3 | set -ex 4 | 5 | build/src/rtwg -------------------------------------------------------------------------------- /screenshots/3DMap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/screenshots/3DMap.png -------------------------------------------------------------------------------- /screenshots/Climat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/screenshots/Climat.png -------------------------------------------------------------------------------- /screenshots/heightmap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/screenshots/heightmap.png -------------------------------------------------------------------------------- /scripts/installDependencies.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/scripts/installDependencies.sh -------------------------------------------------------------------------------- /src/3DRender/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/src/3DRender/CMakeLists.txt -------------------------------------------------------------------------------- /src/3DRender/Camera.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/src/3DRender/Camera.cpp -------------------------------------------------------------------------------- /src/3DRender/Light.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/src/3DRender/Light.cpp -------------------------------------------------------------------------------- /src/3DRender/Shadows.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/src/3DRender/Shadows.cpp -------------------------------------------------------------------------------- /src/3DRender/WaterRender.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/src/3DRender/WaterRender.cpp -------------------------------------------------------------------------------- /src/3DRender/display3D.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/src/3DRender/display3D.cpp -------------------------------------------------------------------------------- /src/3DRender/landscapeRender.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/src/3DRender/landscapeRender.cpp -------------------------------------------------------------------------------- /src/3DRender/plane.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/src/3DRender/plane.cpp -------------------------------------------------------------------------------- /src/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/src/CMakeLists.txt -------------------------------------------------------------------------------- /src/RendToTex.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/src/RendToTex.cpp -------------------------------------------------------------------------------- /src/ShaderLoader.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/src/ShaderLoader.cpp -------------------------------------------------------------------------------- /src/TextureLoader.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/src/TextureLoader.cpp -------------------------------------------------------------------------------- /src/display2D.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/src/display2D.cpp -------------------------------------------------------------------------------- /src/inputHandler.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/src/inputHandler.cpp -------------------------------------------------------------------------------- /src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/src/main.cpp -------------------------------------------------------------------------------- /src/simpleRender.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/src/simpleRender.cpp -------------------------------------------------------------------------------- /src/simulation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarTG/RTWG/HEAD/src/simulation.cpp --------------------------------------------------------------------------------