├── .gitignore
├── CMakeLists.txt
├── INSTALL.TXT
├── ISSUES
├── README.TXT
├── README.md
├── atmo
├── CMakeLists.txt
├── LICENCE.TXT
├── README.TXT
├── doc
│ ├── Doxyfile
│ ├── doxygen.css
│ ├── examples.txt
│ ├── figures
│ │ └── atmo.png
│ └── overview.txt
├── examples
│ ├── CMakeLists.txt
│ └── atmo
│ │ ├── CMakeLists.txt
│ │ ├── HelloWorld.cpp
│ │ ├── atmosphereShader.glhl
│ │ ├── atmosphereShader.glsl
│ │ ├── globalsShader.glsl
│ │ ├── helloworld.xml
│ │ ├── skyShader.glsl
│ │ ├── square.mesh
│ │ ├── sunglare.png
│ │ ├── text.png
│ │ └── textShader.glsl
└── sources
│ └── proland
│ ├── CMakeLists.txt
│ ├── preprocess
│ └── atmo
│ │ ├── PreprocessAtmo.cpp
│ │ ├── PreprocessAtmo.h
│ │ ├── common.glsl
│ │ ├── constants.glsl
│ │ ├── copyInscatter1.glsl
│ │ ├── copyInscatterN.glsl
│ │ ├── copyIrradiance.glsl
│ │ ├── inscatter1.glsl
│ │ ├── inscatterN.glsl
│ │ ├── inscatterS.glsl
│ │ ├── irradiance1.glsl
│ │ ├── irradianceN.glsl
│ │ └── transmittance.glsl
│ └── proland-atmo.pc.in
├── core
├── CMakeLists.txt
├── LICENCE.TXT
├── README.TXT
├── doc
│ ├── Doxyfile
│ ├── doxygen.css
│ ├── examples.txt
│ ├── figures
│ │ ├── blend1.png
│ │ ├── blend2.png
│ │ ├── deformation-inkscape.svg
│ │ ├── deformation.svg
│ │ ├── drawTerrain.xml
│ │ ├── helloworld.png
│ │ ├── logicalcoords-inkscape.svg
│ │ ├── logicalcoords.svg
│ │ ├── physicalcoords-inkscape.svg
│ │ ├── physicalcoords.svg
│ │ ├── producer.cpp
│ │ ├── producerchain-inkscape.svg
│ │ ├── producerchain.svg
│ │ ├── producerchain2-inkscape.svg
│ │ ├── producerchain2.svg
│ │ ├── producerchain2graph-inkscape.svg
│ │ ├── producerchain2graph.svg
│ │ ├── producerchaingraph-inkscape.svg
│ │ ├── producerchaingraph.svg
│ │ ├── producerframework-inkscape.svg
│ │ ├── producerframework.svg
│ │ ├── quadtree-inkscape.svg
│ │ ├── quadtree.png
│ │ ├── quadtree.svg
│ │ ├── quadtree2-inkscape.svg
│ │ ├── quadtree2.svg
│ │ ├── sdeformation-inkscape.svg
│ │ ├── sdeformation.png
│ │ ├── sdeformation.svg
│ │ ├── sideformation.png
│ │ ├── terrain.xml
│ │ ├── tileborder-inkscape.svg
│ │ ├── tileborder.svg
│ │ ├── ui.png
│ │ ├── updateTerrain.xml
│ │ ├── upsampling-inkscape.svg
│ │ └── upsampling.svg
│ └── overview.txt
├── examples
│ ├── CMakeLists.txt
│ ├── common
│ │ ├── defaultFont.xml
│ │ ├── infoMethod.xml
│ │ ├── logMethod.xml
│ │ ├── lucidaConsole.png
│ │ ├── lucidaConsole.xml
│ │ ├── text.glsl
│ │ └── text.xml
│ ├── helloworld
│ │ ├── CMakeLists.txt
│ │ ├── HelloWorld.cpp
│ │ ├── config
│ │ │ ├── quad.mesh
│ │ │ └── terrainShader.glsl
│ │ └── helloworld.xml
│ └── twbartest
│ │ ├── CMakeLists.txt
│ │ ├── HelloWorld.cpp
│ │ ├── helloworld.xml
│ │ ├── quad.mesh
│ │ └── terrainShader.glsl
├── lib
│ └── libproland-core.a
└── sources
│ └── proland
│ ├── CMakeLists.txt
│ ├── math
│ ├── color.cpp
│ ├── color.h
│ ├── geometry.h
│ ├── noise.cpp
│ ├── noise.h
│ └── seg2.h
│ ├── particles
│ ├── LifeCycleParticleLayer.cpp
│ ├── LifeCycleParticleLayer.h
│ ├── ParticleLayer.cpp
│ ├── ParticleLayer.h
│ ├── ParticleProducer.cpp
│ ├── ParticleProducer.h
│ ├── ParticleStorage.cpp
│ ├── ParticleStorage.h
│ ├── RandomParticleLayer.cpp
│ ├── RandomParticleLayer.h
│ ├── WorldParticleLayer.cpp
│ ├── WorldParticleLayer.h
│ ├── screen
│ │ ├── ParticleGrid.cpp
│ │ ├── ParticleGrid.h
│ │ ├── ScreenParticleLayer.cpp
│ │ └── ScreenParticleLayer.h
│ └── terrain
│ │ ├── FlowTile.cpp
│ │ ├── FlowTile.h
│ │ ├── TerrainParticleLayer.cpp
│ │ └── TerrainParticleLayer.h
│ ├── producer
│ ├── CPUTileStorage.cpp
│ ├── CPUTileStorage.h
│ ├── GPUTileStorage.cpp
│ ├── GPUTileStorage.h
│ ├── ObjectTileStorage.cpp
│ ├── ObjectTileStorage.h
│ ├── TileCache.cpp
│ ├── TileCache.h
│ ├── TileLayer.cpp
│ ├── TileLayer.h
│ ├── TileProducer.cpp
│ ├── TileProducer.h
│ ├── TileStorage.cpp
│ └── TileStorage.h
│ ├── proland-core.pc.in
│ ├── terrain
│ ├── CylindricalDeformation.cpp
│ ├── CylindricalDeformation.h
│ ├── Deformation.cpp
│ ├── Deformation.h
│ ├── DrawTerrainTask.cpp
│ ├── DrawTerrainTask.h
│ ├── ReadbackManager.cpp
│ ├── ReadbackManager.h
│ ├── SphericalDeformation.cpp
│ ├── SphericalDeformation.h
│ ├── TerrainNode.cpp
│ ├── TerrainNode.h
│ ├── TerrainQuad.cpp
│ ├── TerrainQuad.h
│ ├── TileSampler.cpp
│ ├── TileSampler.h
│ ├── TileSamplerZ.cpp
│ ├── TileSamplerZ.h
│ ├── UpdateTerrainTask.cpp
│ ├── UpdateTerrainTask.h
│ ├── UpdateTileSamplersTask.cpp
│ └── UpdateTileSamplersTask.h
│ ├── ui
│ ├── BasicViewHandler.cpp
│ ├── BasicViewHandler.h
│ ├── EventRecorder.cpp
│ ├── EventRecorder.h
│ ├── MousePositionHandler.cpp
│ ├── MousePositionHandler.h
│ ├── SceneVisitor.cpp
│ ├── SceneVisitor.h
│ └── twbar
│ │ ├── DrawTweakBarTask.cpp
│ │ ├── DrawTweakBarTask.h
│ │ ├── TweakBarHandler.cpp
│ │ ├── TweakBarHandler.h
│ │ ├── TweakBarManager.cpp
│ │ ├── TweakBarManager.h
│ │ ├── TweakResource.cpp
│ │ ├── TweakResource.h
│ │ ├── TweakSceneGraph.cpp
│ │ ├── TweakSceneGraph.h
│ │ ├── TweakViewHandler.cpp
│ │ └── TweakViewHandler.h
│ └── util
│ ├── CylinderViewController.cpp
│ ├── CylinderViewController.h
│ ├── PlanetViewController.cpp
│ ├── PlanetViewController.h
│ ├── TerrainViewController.cpp
│ ├── TerrainViewController.h
│ ├── mfs.cpp
│ └── mfs.h
├── demo
├── CMakeLists.txt
├── LICENCE.TXT
├── ProlandDemo.cpp
├── README.TXT
├── archives
│ ├── earth
│ │ ├── earth-borders.xml
│ │ ├── earth-clouds.xml
│ │ ├── earth-ocean.xml
│ │ ├── earth-postprocess.xml
│ │ ├── earth-srtm-ALL.xml
│ │ ├── earth-srtm-async.xml
│ │ ├── earth-srtm-clouds.xml
│ │ ├── earth-srtm-editAll-async.xml
│ │ ├── earth-srtm-editAll.xml
│ │ ├── earth-srtm-roads.xml
│ │ ├── earth-srtm-trees2D.xml
│ │ ├── earth-srtm-trees3D.xml
│ │ ├── earth-srtm.xml
│ │ └── earth.xml
│ └── fractal
│ │ ├── fractalplanet.xml
│ │ ├── fractalterrain-trees2D.xml
│ │ ├── fractalterrain-trees3D.xml
│ │ └── fractalterrain.xml
├── demo-earth-borders.bat
├── demo-earth-borders.sh
├── demo-earth-clouds.bat
├── demo-earth-clouds.sh
├── demo-earth-ocean.bat
├── demo-earth-ocean.sh
├── demo-earth-postprocess.bat
├── demo-earth-simple.sh
├── demo-earth-srtm-ALL.bat
├── demo-earth-srtm-ALL.sh
├── demo-earth-srtm-async.bat
├── demo-earth-srtm-clouds.bat
├── demo-earth-srtm-clouds.sh
├── demo-earth-srtm-editAll-aync.bat
├── demo-earth-srtm-editAll.bat
├── demo-earth-srtm-trees2D.bat
├── demo-earth-srtm-trees2D.sh
├── demo-earth-srtm-trees3D.bat
├── demo-earth-srtm.bat
├── demo-earth-srtm.sh
├── demo-earth.bat
├── demo-earth.sh
├── demo-fractalplanet.bat
├── demo-fractalplanet.sh
├── demo-fractalterrain-trees2D.bat
├── demo-fractalterrain-trees2D.sh
├── demo-fractalterrain-trees3D.bat
├── demo-fractalterrain-trees3D.sh
├── demo-fractalterrain.bat
├── demo-fractalterrain.sh
├── init.bat
├── init.sh
├── install.sh
├── meshes
│ ├── cone.mesh
│ ├── cube.mesh
│ ├── grid25.mesh
│ ├── grid25a.mesh
│ ├── grid25b.mesh
│ ├── grid25q.mesh
│ ├── grids25.mesh
│ ├── plane.mesh
│ ├── quad.mesh
│ └── sphere.mesh
├── methods
│ ├── cameraMethod.xml
│ ├── cameraMethodPostProcess.xml
│ ├── debugTextureMethod.xml
│ ├── drawFlatOceanFFTMethod.xml
│ ├── drawFlatOceanMethod.xml
│ ├── drawOceanFFTMethod.xml
│ ├── drawOceanMethod.xml
│ ├── drawPlantsMethod.xml
│ ├── drawPlantsShadowMethod.xml
│ ├── drawTerrainMethod.xml
│ ├── drawTweakBarMethod.xml
│ ├── infoMethod.xml
│ ├── logMethod.xml
│ ├── raycastMethod.xml
│ ├── sunMethod.xml
│ └── updateTerrainMethod.xml
├── shaders
│ ├── atmo
│ │ ├── atmosphereShader.glhl
│ │ ├── atmosphereShader.glsl
│ │ ├── atmosphereShaderFS.xml
│ │ ├── atmosphereShaderGS.xml
│ │ ├── sky1Shader.xml
│ │ ├── sky2Shader.xml
│ │ └── skyShader.glsl
│ ├── camera
│ │ ├── bloomShader.glsl
│ │ ├── bloomShader.xml
│ │ ├── postprocessShader.glsl
│ │ └── postprocessShader.xml
│ ├── clouds
│ │ ├── cloudShader.glsl
│ │ ├── cloudShader.xml
│ │ ├── cloudShader2.glsl
│ │ ├── cloudShader2.xml
│ │ ├── clouds.glhl
│ │ ├── clouds.glsl
│ │ └── clouds.xml
│ ├── debugShader.glsl
│ ├── debugShader.xml
│ ├── earth
│ │ ├── earthShader-VN.xml
│ │ ├── earthShader-flip.glsl
│ │ ├── earthShader-flip.xml
│ │ ├── earthShader.glsl
│ │ ├── earthShader.xml
│ │ ├── fractalplanetShader.glsl
│ │ ├── fractalplanetShader.xml
│ │ ├── planetShader-shadows.xml
│ │ └── planetShader.xml
│ ├── elevation
│ │ ├── blendShader.glsl
│ │ ├── blendShader.xml
│ │ ├── brushShader.glsl
│ │ ├── brushShader.xml
│ │ ├── brushShaderSpherical.xml
│ │ ├── composeShader.glsl
│ │ ├── composeShader.xml
│ │ ├── normalShader.glsl
│ │ ├── normalShader.xml
│ │ ├── roadLayerElevationShader.glsl
│ │ ├── roadLayerElevationShader.xml
│ │ ├── upsampleShader-noClamp.xml
│ │ ├── upsampleShader.glsl
│ │ ├── upsampleShader.xml
│ │ ├── waterLayerElevationShader.glsl
│ │ └── waterLayerElevationShader.xml
│ ├── globalsShader.glhl
│ ├── globalsShader.glsl
│ ├── globalsShaderFS.xml
│ ├── globalsShaderGS.xml
│ ├── ocean
│ │ ├── fftInitShader.glsl
│ │ ├── fftInitShader.xml
│ │ ├── fftxShader.glsl
│ │ ├── fftxShader.xml
│ │ ├── fftyShader.glsl
│ │ ├── fftyShader.xml
│ │ ├── oceanBrdf.glhl
│ │ ├── oceanBrdf.glsl
│ │ ├── oceanBrdf.xml
│ │ ├── oceanFFTShader.glsl
│ │ ├── oceanFFTShader.xml
│ │ ├── oceanShader.glsl
│ │ ├── oceanShader.xml
│ │ ├── variancesShader.glsl
│ │ └── variancesShader.xml
│ ├── ortho
│ │ ├── brushOrthoShader.glsl
│ │ ├── brushOrthoShader.xml
│ │ ├── brushOrthoShaderSpherical.xml
│ │ ├── composeOrthoShader.glsl
│ │ ├── composeOrthoShader.xml
│ │ ├── editLayerShader.glsl
│ │ ├── editLayerShader.xml
│ │ ├── fieldsLayerOrthoShader.glsl
│ │ ├── fieldsLayerOrthoShader.xml
│ │ ├── lineLayerOrthoShader.glsl
│ │ ├── lineLayerOrthoShader.xml
│ │ ├── roadLayerOrthoShader.glsl
│ │ ├── roadLayerOrthoShader.xml
│ │ ├── testOrthoShader.glsl
│ │ ├── testOrthoShader.xml
│ │ ├── textureOrthoCopyShader.glsl
│ │ ├── textureOrthoCopyShader.xml
│ │ ├── upsampleOrthoShader.glsl
│ │ ├── upsampleOrthoShader.xml
│ │ ├── waterLayerOrthoShader.glsl
│ │ └── waterLayerOrthoShader.xml
│ ├── rivers
│ │ ├── drawParticlesShader.glsl
│ │ ├── drawParticlesShader.xml
│ │ ├── renderRiversShader.glsl
│ │ └── renderRiversShader.xml
│ ├── terrain
│ │ ├── fractalTerrainShader.glsl
│ │ ├── fractalTerrainShader.xml
│ │ ├── terrainShader-Rivers.xml
│ │ ├── terrainShader-VN.xml
│ │ ├── terrainShader.glsl
│ │ └── terrainShader.xml
│ ├── textureQuadtree.glsl
│ ├── textureTile.glsl
│ ├── trees
│ │ ├── dot.png
│ │ ├── dot.xml
│ │ ├── dots.glsl
│ │ ├── dots.xml
│ │ ├── elevationFilter.glsl
│ │ ├── elevationFilter.xml
│ │ ├── multisample.png
│ │ ├── multisample.xml
│ │ ├── renderTreeShader2D-shadows.xml
│ │ ├── renderTreeShader2D.glsl
│ │ ├── renderTreeShader2D.xml
│ │ ├── renderTreeShader3D-shadows.xml
│ │ ├── renderTreeShader3D.glsl
│ │ ├── renderTreeShader3D.xml
│ │ ├── renderTreeShadow2D.glsl
│ │ ├── renderTreeShadow2D.xml
│ │ ├── renderTreeShadow3D.glsl
│ │ ├── renderTreeShadow3D.xml
│ │ ├── selectTreeShader.glsl
│ │ ├── selectTreeShader.xml
│ │ ├── slopeFilter.glsl
│ │ ├── slopeFilter.xml
│ │ ├── treeBrdf.glhl
│ │ ├── treeBrdf.glsl
│ │ ├── treeBrdf.xml
│ │ ├── treeBrdf3D.glsl
│ │ ├── treeInfo3D.glsl
│ │ ├── treeShadowMap.xml
│ │ ├── upsampleLccShader.glsl
│ │ └── upsampleLccShader.xml
│ └── util
│ │ ├── copyArrayShader.glsl
│ │ ├── copyArrayShader.xml
│ │ ├── copyShader.glsl
│ │ ├── copyShader.xml
│ │ ├── fillShader.glsl
│ │ ├── fillShader.xml
│ │ ├── fontShader.glsl
│ │ ├── fontShader.xml
│ │ ├── initOrthoShader.glsl
│ │ ├── initOrthoShader.xml
│ │ ├── initShader.glsl
│ │ └── initShader.xml
├── textures
│ ├── atmo
│ │ ├── inscatter.xml
│ │ ├── irradiance.xml
│ │ ├── sunglare.png
│ │ ├── sunglare.xml
│ │ └── transmittance.xml
│ ├── basicFont.xml
│ ├── clouds
│ │ ├── Mie-Lum.raw
│ │ ├── Mie-Lum.xml
│ │ ├── Mie-RGB.raw
│ │ ├── Mie-RGB.xml
│ │ ├── Mie-TransBlur.raw
│ │ ├── Mie-TransBlur.xml
│ │ ├── params.raw
│ │ └── params.xml
│ ├── cursor.png
│ ├── cursor.xml
│ ├── font.png
│ ├── font.xml
│ ├── offscreenColor.xml
│ ├── offscreenDepth.xml
│ ├── rivers
│ │ ├── basicWaveTile1.xml
│ │ ├── pebbles.png
│ │ ├── pebbles.xml
│ │ ├── pebblesWaveTile.xml
│ │ ├── perlinWaveTile1.xml
│ │ ├── perlinWaveTile2.xml
│ │ ├── sandripple.png
│ │ ├── sandripple.xml
│ │ ├── waterTexture.png
│ │ └── waterTexture.xml
│ ├── roads
│ │ ├── asphalt.jpg
│ │ └── asphalt.xml
│ └── trees
│ │ ├── groundCover.raw
│ │ ├── groundCover.xml
│ │ ├── treeAO.raw
│ │ ├── treeAO.xml
│ │ ├── treeKc.raw
│ │ ├── treeKc.xml
│ │ ├── trees2D.png
│ │ ├── trees2D.xml
│ │ ├── trees3D.png
│ │ └── trees3D.xml
└── ui
│ ├── basicTweakBar.xml
│ ├── prolandTweakBar.xml
│ └── tweakEarthViews.xml
├── edit
├── CMakeLists.txt
├── LICENCE.TXT
├── README.TXT
├── doc
│ ├── Doxyfile
│ ├── doxygen.css
│ ├── examples.txt
│ ├── figures
│ │ ├── edit1.png
│ │ ├── edit2.png
│ │ ├── edit3.png
│ │ └── edit4.png
│ └── overview.txt
├── examples
│ ├── CMakeLists.txt
│ ├── edit1
│ │ ├── CMakeLists.txt
│ │ ├── HelloWorld.cpp
│ │ ├── brushShader.glsl
│ │ ├── composeShader.glsl
│ │ ├── helloworld.xml
│ │ ├── initShader.glsl
│ │ ├── normalShader.glsl
│ │ ├── quad.mesh
│ │ ├── terrainShader.glsl
│ │ ├── text.png
│ │ ├── textShader.glsl
│ │ └── upsampleShader.glsl
│ ├── edit2
│ │ ├── CMakeLists.txt
│ │ ├── HelloWorld.cpp
│ │ ├── brushOrthoShader.glsl
│ │ ├── composeOrthoShader.glsl
│ │ ├── helloworld.xml
│ │ ├── initOrthoShader.glsl
│ │ ├── normalShader.glsl
│ │ ├── quad.mesh
│ │ ├── terrainShader.glsl
│ │ ├── text.png
│ │ ├── textShader.glsl
│ │ ├── upsampleOrthoShader.glsl
│ │ └── upsampleShader.glsl
│ ├── edit3
│ │ ├── CMakeLists.txt
│ │ ├── DEM.dat
│ │ ├── HelloWorld.cpp
│ │ ├── blendShader.glsl
│ │ ├── editLayerShader.glsl
│ │ ├── helloworld.xml
│ │ ├── normalShader.glsl
│ │ ├── quad.mesh
│ │ ├── roadLayerElevationShader.glsl
│ │ ├── roadLayerOrthoShader.glsl
│ │ ├── roads.graph
│ │ ├── terrainShader.glsl
│ │ ├── text.png
│ │ ├── textShader.glsl
│ │ └── upsampleShader.glsl
│ └── edit4
│ │ ├── CMakeLists.txt
│ │ ├── DEM.dat
│ │ ├── HelloWorld.cpp
│ │ ├── blendShader.glsl
│ │ ├── editLayerShader.glsl
│ │ ├── fillShader.glsl
│ │ ├── helloworld.xml
│ │ ├── normalShader.glsl
│ │ ├── quad.mesh
│ │ ├── rivers.graph
│ │ ├── terrainShader.glsl
│ │ ├── text.png
│ │ ├── textShader.glsl
│ │ ├── upsampleShader.glsl
│ │ └── waterLayerElevationShader.glsl
└── sources
│ └── proland
│ ├── CMakeLists.txt
│ ├── EditPlugin.cpp
│ ├── EditPlugin.h
│ ├── edit
│ ├── EditElevationProducer.cpp
│ ├── EditElevationProducer.h
│ ├── EditGraphOrthoLayer.cpp
│ ├── EditGraphOrthoLayer.h
│ ├── EditHydroGraphOrthoLayer.cpp
│ ├── EditHydroGraphOrthoLayer.h
│ ├── EditOrthoCPUProducer.cpp
│ ├── EditOrthoCPUProducer.h
│ ├── EditOrthoProducer.cpp
│ ├── EditOrthoProducer.h
│ ├── EditResidualProducer.cpp
│ ├── EditResidualProducer.h
│ ├── EditorHandler.cpp
│ └── EditorHandler.h
│ ├── proland-edit.pc.in
│ └── ui
│ └── twbar
│ ├── TweakDemEditor.cpp
│ ├── TweakDemEditor.h
│ ├── TweakGraphLayer.cpp
│ ├── TweakGraphLayer.h
│ ├── TweakHydroGraphLayer.cpp
│ ├── TweakHydroGraphLayer.h
│ ├── TweakOrthoEditor.cpp
│ ├── TweakOrthoEditor.h
│ ├── TweakRivers.cpp
│ └── TweakRivers.h
├── forest
├── CMakeLists.txt
├── LICENCE.TXT
├── README.TXT
├── doc
│ ├── Doxyfile
│ ├── doxygen.css
│ ├── examples.txt
│ ├── figures
│ │ └── trees1.png
│ └── overview.txt
├── examples
│ ├── CMakeLists.txt
│ └── trees1
│ │ ├── CMakeLists.txt
│ │ ├── HelloWorld.cpp
│ │ ├── basictree.png
│ │ ├── drawPlantsMethod.xml
│ │ ├── drawPlantsShadowMethod.xml
│ │ ├── elevationFilter.glsl
│ │ ├── helloworld.xml
│ │ ├── normalShader.glsl
│ │ ├── quad.mesh
│ │ ├── renderTreeShader.glsl
│ │ ├── selectTreeShader.glsl
│ │ ├── slopeFilter.glsl
│ │ ├── terrainShader.glsl
│ │ ├── text.png
│ │ ├── textShader.glsl
│ │ ├── textureTile.glsl
│ │ ├── upsampleLccShader.glsl
│ │ └── upsampleShader.glsl
└── sources
│ └── proland
│ ├── CMakeLists.txt
│ ├── ForestPlugin.cpp
│ ├── ForestPlugin.h
│ ├── plants
│ ├── DrawPlantsShadowTask.cpp
│ ├── DrawPlantsShadowTask.h
│ ├── DrawPlantsTask.cpp
│ ├── DrawPlantsTask.h
│ ├── LccProducer.cpp
│ ├── LccProducer.h
│ ├── Plants.cpp
│ ├── Plants.h
│ ├── PlantsProducer.cpp
│ └── PlantsProducer.h
│ ├── preprocess
│ └── trees
│ │ ├── PreprocessTree.cpp
│ │ ├── PreprocessTree.h
│ │ ├── PreprocessTreeTables.cpp
│ │ ├── drawPlantsMethod.xml
│ │ ├── drawPlantsShadowMethod.xml
│ │ ├── globalsShader.glhl
│ │ ├── globalsShader.glsl
│ │ ├── helloworld.xml
│ │ ├── quad.mesh
│ │ ├── renderTreeShader3D.glsl
│ │ ├── renderTreeShadow3D.glsl
│ │ ├── selectTreeShader.glsl
│ │ ├── terrainShader.glsl
│ │ └── treeInfo3D.glsl
│ └── proland-forest.pc.in
├── graph
├── CMakeLists.txt
├── LICENCE.TXT
├── README.TXT
├── doc
│ ├── Doxyfile
│ ├── doxygen.css
│ ├── examples.txt
│ ├── figures
│ │ ├── basicgraph-inkscape.svg
│ │ ├── basicgraph.svg
│ │ ├── graph-addcurves-inkscape.svg
│ │ ├── graph-addcurves.png
│ │ ├── graph-addcurves.svg
│ │ ├── graph-clip-inkscape.svg
│ │ ├── graph-clip.svg
│ │ ├── graph-curvedatadraw-inkscape.svg
│ │ ├── graph-curvedatadraw.svg
│ │ ├── graph-curvedatasexample-inkscape.svg
│ │ ├── graph-curvedatasexample.svg
│ │ ├── graph-curvilinear-inkscape.svg
│ │ ├── graph-curvilinear.svg
│ │ ├── graph-flatten-inkscape.svg
│ │ ├── graph-flatten.svg
│ │ ├── graph-margin-inkscape.svg
│ │ ├── graph-margin.svg
│ │ ├── graph-update-inkscape.svg
│ │ ├── graph-update.png
│ │ ├── graph-update.svg
│ │ ├── graph1.png
│ │ ├── graphs-inkscape.svg
│ │ ├── graphs.png
│ │ ├── graphs.svg
│ │ ├── graphsUpdate.png
│ │ ├── lazygraph-inkscape.svg
│ │ └── lazygraph.svg
│ └── overview.txt
├── examples
│ ├── CMakeLists.txt
│ └── graph1
│ │ ├── CMakeLists.txt
│ │ ├── DEM.dat
│ │ ├── HelloWorld.cpp
│ │ ├── RGB.dat
│ │ ├── blendShader.glsl
│ │ ├── helloworld.xml
│ │ ├── normalShader.glsl
│ │ ├── quad.mesh
│ │ ├── roadLayerElevationShader.glsl
│ │ ├── roadLayerOrthoShader.glsl
│ │ ├── roads.graph
│ │ ├── terrainShader.glsl
│ │ ├── text.png
│ │ ├── textShader.glsl
│ │ └── upsampleShader.glsl
└── sources
│ └── proland
│ ├── CMakeLists.txt
│ ├── GraphPlugin.cpp
│ ├── GraphPlugin.h
│ ├── dem
│ ├── ElevationCurveData.cpp
│ ├── ElevationCurveData.h
│ ├── ElevationGraphLayer.cpp
│ ├── ElevationGraphLayer.h
│ ├── ElevationMargin.cpp
│ ├── ElevationMargin.h
│ ├── RoadElevationLayer.cpp
│ ├── RoadElevationLayer.h
│ ├── WaterElevationLayer.cpp
│ └── WaterElevationLayer.h
│ ├── graph
│ ├── Area.cpp
│ ├── Area.h
│ ├── BasicCurvePart.cpp
│ ├── BasicCurvePart.h
│ ├── BasicGraph.cpp
│ ├── BasicGraph.h
│ ├── ComposedMargin.cpp
│ ├── ComposedMargin.h
│ ├── Curve.cpp
│ ├── Curve.h
│ ├── CurvePart.cpp
│ ├── CurvePart.h
│ ├── FileReader.cpp
│ ├── FileReader.h
│ ├── FileWriter.cpp
│ ├── FileWriter.h
│ ├── Graph.cpp
│ ├── Graph.h
│ ├── GraphListener.cpp
│ ├── GraphListener.h
│ ├── LazyArea.cpp
│ ├── LazyArea.h
│ ├── LazyCurve.cpp
│ ├── LazyCurve.h
│ ├── LazyGraph.cpp
│ ├── LazyGraph.h
│ ├── LazyNode.cpp
│ ├── LazyNode.h
│ ├── LineCurvePart.cpp
│ ├── LineCurvePart.h
│ ├── Margin.cpp
│ ├── Margin.h
│ ├── Node.cpp
│ ├── Node.h
│ └── producer
│ │ ├── CurveData.cpp
│ │ ├── CurveData.h
│ │ ├── CurveDataFactory.cpp
│ │ ├── CurveDataFactory.h
│ │ ├── GetCurveDatasTask.h
│ │ ├── GraphLayer.cpp
│ │ ├── GraphLayer.h
│ │ ├── GraphProducer.cpp
│ │ ├── GraphProducer.h
│ │ ├── Tesselator.cpp
│ │ └── Tesselator.h
│ ├── ortho
│ ├── FieldsOrthoLayer.cpp
│ ├── FieldsOrthoLayer.h
│ ├── ForestOrthoLayer.cpp
│ ├── ForestOrthoLayer.h
│ ├── LineOrthoLayer.cpp
│ ├── LineOrthoLayer.h
│ ├── MaskOrthoLayer.cpp
│ ├── MaskOrthoLayer.h
│ ├── OrthoMargin.cpp
│ ├── OrthoMargin.h
│ ├── RoadOrthoLayer.cpp
│ ├── RoadOrthoLayer.h
│ ├── WaterOrthoLayer.cpp
│ └── WaterOrthoLayer.h
│ └── proland-graph.pc.in
├── ocean
├── CMakeLists.txt
├── LICENCE.TXT
├── README.TXT
├── doc
│ ├── Doxyfile
│ ├── doxygen.css
│ ├── examples.txt
│ ├── figures
│ │ ├── ocean1.png
│ │ └── ocean2.png
│ └── overview.txt
├── examples
│ ├── CMakeLists.txt
│ ├── ocean1
│ │ ├── CMakeLists.txt
│ │ ├── HelloWorld.cpp
│ │ ├── atmosphereShader.glhl
│ │ ├── atmosphereShader.glsl
│ │ ├── globalsShader.glsl
│ │ ├── helloworld.xml
│ │ ├── oceanShader.glsl
│ │ ├── skyShader.glsl
│ │ ├── square.mesh
│ │ ├── sunglare.png
│ │ ├── text.png
│ │ └── textShader.glsl
│ └── ocean2
│ │ ├── CMakeLists.txt
│ │ ├── HelloWorld.cpp
│ │ ├── fftInitShader.glsl
│ │ ├── fftxShader.glsl
│ │ ├── fftyShader.glsl
│ │ ├── helloworld.xml
│ │ ├── oceanFFTShader.glsl
│ │ └── variancesShader.glsl
└── sources
│ └── proland
│ ├── CMakeLists.txt
│ ├── OceanPlugin.cpp
│ ├── OceanPlugin.h
│ ├── ocean
│ ├── DrawOceanFFTTask.cpp
│ ├── DrawOceanFFTTask.h
│ ├── DrawOceanTask.cpp
│ └── DrawOceanTask.h
│ └── proland-ocean.pc.in
├── river
├── CMakeLists.txt
├── LICENCE.TXT
├── README.TXT
├── doc
│ ├── Doxyfile
│ ├── doxygen.css
│ ├── examples.txt
│ ├── figures
│ │ ├── river-example.png
│ │ ├── river1.png
│ │ ├── rivers-gpustructures-inkscape.svg
│ │ ├── rivers-gpustructures.svg
│ │ ├── rivers-hydrograph-inkscape.svg
│ │ ├── rivers-hydrograph.svg
│ │ ├── rivers-interpolation.png
│ │ ├── rivers-quad.png
│ │ ├── rivers-umlgraph-inkscape.svg
│ │ ├── rivers-umlgraph.svg
│ │ └── waterTexture.png
│ └── overview.txt
├── examples
│ ├── CMakeLists.txt
│ └── river1
│ │ ├── CMakeLists.txt
│ │ ├── DEM.dat
│ │ ├── HelloWorld.cpp
│ │ ├── blendShader.glsl
│ │ ├── fillShader.glsl
│ │ ├── helloworld.xml
│ │ ├── normalShader.glsl
│ │ ├── quad.mesh
│ │ ├── rivers.graph
│ │ ├── terrainShader.glsl
│ │ ├── text.png
│ │ ├── textShader.glsl
│ │ ├── upsampleShader.glsl
│ │ └── waterLayerElevationShader.glsl
└── sources
│ └── proland
│ ├── CMakeLists.txt
│ ├── RiverPlugin.cpp
│ ├── RiverPlugin.h
│ ├── proland-river.pc.in
│ ├── rivers
│ ├── AnimatedPerlinWaveTile.cpp
│ ├── AnimatedPerlinWaveTile.h
│ ├── DrawRiversTask.cpp
│ ├── DrawRiversTask.h
│ ├── HydroFlowProducer.cpp
│ ├── HydroFlowProducer.h
│ ├── HydroFlowTile.cpp
│ ├── HydroFlowTile.h
│ ├── PerlinWaveTile.cpp
│ ├── PerlinWaveTile.h
│ ├── UpdateRiversTask.cpp
│ ├── UpdateRiversTask.h
│ ├── WaveTile.cpp
│ ├── WaveTile.h
│ └── graph
│ │ ├── HydroCurve.cpp
│ │ ├── HydroCurve.h
│ │ ├── HydroGraph.cpp
│ │ ├── HydroGraph.h
│ │ ├── HydroGraphFactory.cpp
│ │ ├── HydroGraphFactory.h
│ │ ├── LazyHydroCurve.cpp
│ │ ├── LazyHydroCurve.h
│ │ ├── LazyHydroGraph.cpp
│ │ ├── LazyHydroGraph.h
│ │ ├── LazyHydroGraphFactory.cpp
│ │ └── LazyHydroGraphFactory.h
│ └── ui
│ └── twbar
│ ├── TweakRivers.cpp
│ └── TweakRivers.h
├── terrain
├── CMakeLists.txt
├── LICENCE.TXT
├── README.TXT
├── doc
│ ├── Doxyfile
│ ├── doxygen.css
│ ├── examples.txt
│ ├── figures
│ │ ├── drawTerrain.xml
│ │ ├── elevation-flip.jpg
│ │ ├── elevation-inkscape.svg
│ │ ├── elevation-options.jpg
│ │ ├── elevation.svg
│ │ ├── elevation2-inkscape.svg
│ │ ├── elevation2.svg
│ │ ├── exercise1a.png
│ │ ├── exercise1b.png
│ │ ├── exercise1c.png
│ │ ├── exercise2.png
│ │ ├── exercise3.png
│ │ ├── exercise4.png
│ │ ├── exercise5-inkscape.svg
│ │ ├── exercise5.png
│ │ ├── exercise5.svg
│ │ ├── ortho-residuals-inkscape.svg
│ │ ├── ortho-residuals.svg
│ │ ├── orthofiles-inkscape.svg
│ │ ├── orthofiles.svg
│ │ ├── preprocess.png
│ │ ├── residualfiles-inkscape.svg
│ │ ├── residualfiles.svg
│ │ ├── residuals-inkscape.svg
│ │ ├── residuals.svg
│ │ ├── residualtiles-inkscape.svg
│ │ ├── residualtiles.svg
│ │ ├── terrain.xml
│ │ ├── terrain1.png
│ │ ├── terrain2-a.png
│ │ ├── terrain2-b.png
│ │ ├── terrain2.png
│ │ ├── terrain3.png
│ │ ├── terrain4-a.png
│ │ ├── terrain4-b.png
│ │ ├── terrain4.png
│ │ ├── terrain5.png
│ │ ├── updateTerrain.xml
│ │ ├── upsampling-inkscape.svg
│ │ └── upsampling.svg
│ └── overview.txt
├── examples
│ ├── CMakeLists.txt
│ ├── common
│ │ ├── defaultFont.xml
│ │ ├── infoMethod.xml
│ │ ├── logMethod.xml
│ │ ├── lucidaConsole.png
│ │ ├── lucidaConsole.xml
│ │ ├── text.glsl
│ │ └── text.xml
│ ├── exercise1
│ │ ├── HelloWorld.cpp
│ │ ├── atmosphereShader.glhl
│ │ ├── atmosphereShader.glsl
│ │ ├── exercise1.bat
│ │ ├── globalsShader.glsl
│ │ ├── helloworld.cbp
│ │ ├── helloworld.layout
│ │ ├── helloworld.xml
│ │ ├── normalShader.glsl
│ │ ├── oceanShader.glsl
│ │ ├── quad.mesh
│ │ ├── skyShader.glsl
│ │ ├── square.mesh
│ │ ├── sunglare.png
│ │ ├── terrainShader.glsl
│ │ ├── text.png
│ │ ├── textShader.glsl
│ │ ├── upsampleOrthoShader.glsl
│ │ └── upsampleShader.glsl
│ ├── exercise2
│ │ ├── HelloWorld.cpp
│ │ ├── basictree.png
│ │ ├── brushOrthoShader.glsl
│ │ ├── composeOrthoShader.glsl
│ │ ├── copyShader.glsl
│ │ ├── drawPlantsMethod.xml
│ │ ├── drawPlantsShadowMethod.xml
│ │ ├── elevationFilter.glsl
│ │ ├── exercise2.bat
│ │ ├── helloworld.cbp
│ │ ├── helloworld.layout
│ │ ├── helloworld.xml
│ │ ├── initOrthoShader.glsl
│ │ ├── normalShader.glsl
│ │ ├── quad.mesh
│ │ ├── renderTreeShader.glsl
│ │ ├── selectTreeShader.glsl
│ │ ├── slopeFilter.glsl
│ │ ├── terrainShader.glsl
│ │ ├── text.png
│ │ ├── textShader.glsl
│ │ ├── textureTile.glsl
│ │ ├── upsampleLccShader.glsl
│ │ ├── upsampleOrthoShader.glsl
│ │ └── upsampleShader.glsl
│ ├── exercise3
│ │ ├── HelloWorld.cpp
│ │ ├── box.mesh
│ │ ├── boxShader.glsl
│ │ ├── exercise3.bat
│ │ ├── helloworld.cbp
│ │ ├── helloworld.layout
│ │ ├── helloworld.xml
│ │ ├── normalShader.glsl
│ │ ├── quad.mesh
│ │ ├── terrainShader.glsl
│ │ ├── text.png
│ │ ├── textShader.glsl
│ │ ├── upsampleOrthoShader.glsl
│ │ └── upsampleShader.glsl
│ ├── exercise4
│ │ ├── HelloWorld.cpp
│ │ ├── copyShader.glsl
│ │ ├── exercise4.bat
│ │ ├── helloworld.cbp
│ │ ├── helloworld.layout
│ │ ├── helloworld.xml
│ │ ├── normalShader.glsl
│ │ ├── quad.mesh
│ │ ├── terrainShader.glsl
│ │ ├── text.png
│ │ ├── textShader.glsl
│ │ ├── upsampleOrthoShader.glsl
│ │ └── upsampleShader.glsl
│ ├── exercise5
│ │ ├── HelloWorld.cpp
│ │ ├── contourShader.glsl
│ │ ├── exercise5.bat
│ │ ├── helloworld.cbp
│ │ ├── helloworld.layout
│ │ ├── helloworld.xml
│ │ ├── normalShader.glsl
│ │ ├── quad.mesh
│ │ ├── terrainShader.glsl
│ │ ├── text.png
│ │ ├── textShader.glsl
│ │ ├── upsampleOrthoShader.glsl
│ │ └── upsampleShader.glsl
│ ├── preprocess
│ │ ├── CMakeLists.txt
│ │ ├── HelloWorld.cpp
│ │ ├── bluemarble.png
│ │ ├── helloworld.xml
│ │ ├── normalShader.glsl
│ │ ├── quad.mesh
│ │ ├── srtm.png
│ │ ├── terrainShader.glsl
│ │ ├── text.png
│ │ ├── textShader.glsl
│ │ ├── upsampleOrthoShader.glsl
│ │ └── upsampleShader.glsl
│ ├── preprocess2
│ │ ├── CMakeLists.txt
│ │ ├── HelloWorld.cpp
│ │ ├── Moon_1024.png
│ │ ├── helloworld.xml
│ │ ├── normalShader.glsl
│ │ ├── quad.mesh
│ │ ├── terrainShader.glsl
│ │ ├── text.png
│ │ ├── textShader.glsl
│ │ ├── upsampleOrthoShader.glsl
│ │ └── upsampleShader.glsl
│ ├── terrain1
│ │ ├── CMakeLists.txt
│ │ ├── HelloWorld.cpp
│ │ ├── helloworld.xml
│ │ ├── normalShader.glsl
│ │ ├── quad.mesh
│ │ ├── terrainShader.glsl
│ │ └── upsampleShader.glsl
│ ├── terrain2
│ │ ├── CMakeLists.txt
│ │ ├── HelloWorld.cpp
│ │ ├── helloworld.xml
│ │ ├── normalShader.glsl
│ │ ├── quad.mesh
│ │ ├── terrainShader.glsl
│ │ └── upsampleShader.glsl
│ ├── terrain3
│ │ ├── CMakeLists.txt
│ │ ├── HelloWorld.cpp
│ │ ├── helloworld.xml
│ │ ├── normalShader.glsl
│ │ ├── quad.mesh
│ │ ├── terrainShader.glsl
│ │ ├── text.png
│ │ ├── textShader.glsl
│ │ ├── upsampleOrthoShader.glsl
│ │ └── upsampleShader.glsl
│ ├── terrain4
│ │ ├── CMakeLists.txt
│ │ ├── DEM.dat
│ │ ├── HelloWorld.cpp
│ │ ├── helloworld.xml
│ │ ├── normalShader.glsl
│ │ ├── quad.mesh
│ │ ├── terrainShader.glsl
│ │ ├── text.png
│ │ ├── textShader.glsl
│ │ └── upsampleShader.glsl
│ └── terrain5
│ │ ├── CMakeLists.txt
│ │ ├── HelloWorld.cpp
│ │ ├── cloud.mesh
│ │ ├── cloudShader.glsl
│ │ ├── globalsShader.glsl
│ │ ├── helloworld.xml
│ │ ├── normalShader.glsl
│ │ ├── quad.mesh
│ │ ├── terrainShader.glsl
│ │ ├── text.png
│ │ ├── textShader.glsl
│ │ └── upsampleShader.glsl
└── sources
│ └── proland
│ ├── CMakeLists.txt
│ ├── TerrainPlugin.cpp
│ ├── TerrainPlugin.h
│ ├── dem
│ ├── CPUElevationProducer.cpp
│ ├── CPUElevationProducer.h
│ ├── ElevationProducer.cpp
│ ├── ElevationProducer.h
│ ├── NormalProducer.cpp
│ ├── NormalProducer.h
│ ├── ResidualProducer.cpp
│ └── ResidualProducer.h
│ ├── ortho
│ ├── EmptyOrthoLayer.cpp
│ ├── EmptyOrthoLayer.h
│ ├── OrthoCPUProducer.cpp
│ ├── OrthoCPUProducer.h
│ ├── OrthoGPUProducer.cpp
│ ├── OrthoGPUProducer.h
│ ├── OrthoProducer.cpp
│ ├── OrthoProducer.h
│ ├── TextureLayer.cpp
│ └── TextureLayer.h
│ ├── preprocess
│ └── terrain
│ │ ├── AbstractTileCache.cpp
│ │ ├── AbstractTileCache.h
│ │ ├── ApertureMipmap.cpp
│ │ ├── ApertureMipmap.h
│ │ ├── ColorMipmap.cpp
│ │ ├── ColorMipmap.h
│ │ ├── HeightMipmap.cpp
│ │ ├── HeightMipmap.h
│ │ ├── Preprocess.cpp
│ │ ├── Preprocess.h
│ │ ├── Util.cpp
│ │ └── Util.h
│ └── proland-terrain.pc.in
└── web
├── Atmo_test.png
├── Blue_marble_test.png
├── Ocean_and_atmo2.png
├── Pico_do_fogo.png
├── Procedural_landscape_test.png
├── blue_marble.png
├── first_procedural_planet.png
├── italy.png
└── ocean_and_atmo.png
/.gitignore:
--------------------------------------------------------------------------------
1 | # Ignore all builds
2 | /build/
3 | # Ignore bin outut directory
4 | /bin/
5 | # Ignore library output directory
6 | /lib/
7 | /libraries/
8 | # Ignore demo binary in demo dir
9 | /demo/demo
10 | # Don't bring along the precomputed atmosperic scattering textures
11 | /demo/textures/atmo/*.raw
12 | /demo/log.html
13 | # Ignore data director (23 GB...)
14 | /data
15 | #ignore log files
16 | *.html
17 |
--------------------------------------------------------------------------------
/ISSUES:
--------------------------------------------------------------------------------
1 | [FIXED]TileSamplerZ:
2 | The shader code uses 8 uniformSamplers. These are initialised in a map from parsing the shader code. But all 8 are not allways used, and when attachin a TileStorage with less than 8 textures, the remaining uniformSamplers are not sets. This generates an error when checking samplers from MeshBuffers.cpp. I don't think this is an issue though, and the error can possible be ignored until further, but this issue should be fixed.
3 |
4 | [FIXED]Terrain3 example:
5 | Terrain3 crashes. TweakBarManager crashes. So does the view controller/ui when tweakbar manager is not attaced and mouse is moved. This is not related to the ortho producer, which works fine in the simplified terrain3_simplified example (removed BasicViewhandler and ui/twbarmanager).
6 | Update: Stripped tweakbar only, and implemented basicViewHandler in the example, which works very well. The crash is then down to TweakBarManager and related classes. TW version 1.16 is tested in itself with all examples, and works very well, so there is something with the Proland implementation. Maybe because TWB uses old OpenGL?
7 | Update2: Tested new example core/twbartest, only to open a twbar. Results in the same messages...
8 | Update/FIX: Change TwInit to use OPEN_GL_CORE instead of OPEN_GL
9 |
--------------------------------------------------------------------------------
/README.TXT:
--------------------------------------------------------------------------------
1 | PROLAND LIBRARIES
2 |
3 | This directory contains the Proland core library, several "plugins" for
4 | this library, and demos using this library and plugins. Each directory
5 | has its own licence, source tree, examples, documentation and project
6 | files. The directories are mostly independent, except for some
7 | dependencies between plugins (and between all the plugins and the core
8 | library).
9 |
--------------------------------------------------------------------------------
/atmo/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(sources/proland)
2 |
--------------------------------------------------------------------------------
/atmo/README.TXT:
--------------------------------------------------------------------------------
1 | PROLAND ATMO PLUGIN version 4.0
2 |
3 | REQUIRES:
4 | Proland core library version 4.0.
5 |
6 | This directory defines an "atmo" plugin for the Proland core library.
7 |
--------------------------------------------------------------------------------
/atmo/doc/figures/atmo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/atmo/doc/figures/atmo.png
--------------------------------------------------------------------------------
/atmo/doc/overview.txt:
--------------------------------------------------------------------------------
1 | /*! \mainpage notitle
2 |
3 | \htmlonly
4 |
5 |
Proland Documentation - Atmo plugin
6 | \endhtmlonly
7 |
8 | The Proland atmo plugin provides a static method to precompute
9 | 2D and 3D textures allowing the rendering of atmospheric effects
10 | in real-time from all viewpoints and for all Sun directions
11 | (based on the paper "Precomputed Atmospheric Scattering", Eric
12 | Bruneton and Fabrice Neyret, Eurographics 2008).
This plugin
13 | does not depend on any other plugin.
14 |
15 | Look at the "atmo" example to see how to use these textures.
16 |
17 | */
18 |
--------------------------------------------------------------------------------
/atmo/examples/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(atmo)
2 |
--------------------------------------------------------------------------------
/atmo/examples/atmo/atmosphereShader.glhl:
--------------------------------------------------------------------------------
1 | /*
2 | * Proland: a procedural landscape rendering library.
3 | * Copyright (c) 2008-2011 INRIA
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program. If not, see
.
17 | */
18 |
19 | /*
20 | * Proland is distributed under a dual-license scheme.
21 | * You can obtain a specific license from Inria: proland-licensing@inria.fr.
22 | */
23 |
24 | /*
25 | * Authors: Eric Bruneton, Antoine Begault, Guillaume Piolat.
26 | */
27 |
28 | #define SUN_INTENSITY 100.0
29 |
30 | #define PLANET_RADIUS 6360000.0
31 |
32 | vec3 sunRadiance(float r, float muS);
33 |
34 | vec3 skyIrradiance(float r, float muS);
35 |
36 | vec3 skyRadiance(vec3 camera, vec3 viewdir, vec3 sundir, out vec3 extinction, float shaftWidth);
37 |
38 | vec3 inScattering(vec3 camera, vec3 point, vec3 sundir, out vec3 extinction, float shaftWidth);
39 |
--------------------------------------------------------------------------------
/atmo/examples/atmo/square.mesh:
--------------------------------------------------------------------------------
1 | -1 1 -1 1 0 0
2 | trianglestrip
3 | 1
4 | 0 3 float false
5 | 4
6 | -1 -1 0
7 | +1 -1 0
8 | -1 +1 0
9 | +1 +1 0
10 | 0
11 |
--------------------------------------------------------------------------------
/atmo/examples/atmo/sunglare.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/atmo/examples/atmo/sunglare.png
--------------------------------------------------------------------------------
/atmo/examples/atmo/text.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/atmo/examples/atmo/text.png
--------------------------------------------------------------------------------
/atmo/sources/proland/proland-atmo.pc.in:
--------------------------------------------------------------------------------
1 | prefix=@CMAKE_INSTALL_PREFIX@
2 | libdir=${prefix}/@LIB_INSTALL_DIR@
3 | includedir=${prefix}/include
4 |
5 | Name: proland atmo
6 | Description: OpenGL Rendering Kernel
7 | Version: @PROLAND_VERSION@
8 | Requires:
9 | Libs: -L${libdir} -lproland-atmo
10 | Cflags: -I${includedir} @ORK_CFLAGS@
11 |
--------------------------------------------------------------------------------
/core/CMakeLists.txt:
--------------------------------------------------------------------------------
1 |
2 | add_subdirectory(sources/proland)
3 |
--------------------------------------------------------------------------------
/core/README.TXT:
--------------------------------------------------------------------------------
1 | PROLAND CORE LIBRARY version 4.0
2 |
3 | REQUIRES:
4 | Ork library version 3.1.
5 |
6 | This directory defines the Proland core library.
7 |
--------------------------------------------------------------------------------
/core/doc/figures/blend1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/core/doc/figures/blend1.png
--------------------------------------------------------------------------------
/core/doc/figures/blend2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/core/doc/figures/blend2.png
--------------------------------------------------------------------------------
/core/doc/figures/drawTerrain.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/core/doc/figures/helloworld.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/core/doc/figures/helloworld.png
--------------------------------------------------------------------------------
/core/doc/figures/quadtree.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/core/doc/figures/quadtree.png
--------------------------------------------------------------------------------
/core/doc/figures/sdeformation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/core/doc/figures/sdeformation.png
--------------------------------------------------------------------------------
/core/doc/figures/sideformation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/core/doc/figures/sideformation.png
--------------------------------------------------------------------------------
/core/doc/figures/ui.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/core/doc/figures/ui.png
--------------------------------------------------------------------------------
/core/doc/figures/updateTerrain.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/core/examples/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(helloworld)
2 | add_subdirectory(twbartest)
3 |
--------------------------------------------------------------------------------
/core/examples/common/defaultFont.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/core/examples/common/infoMethod.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/core/examples/common/logMethod.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/core/examples/common/lucidaConsole.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/core/examples/common/lucidaConsole.png
--------------------------------------------------------------------------------
/core/examples/common/lucidaConsole.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/core/examples/common/text.glsl:
--------------------------------------------------------------------------------
1 | #ifdef _VERTEX_
2 |
3 | layout(location = 0) in vec4 vertex;
4 | layout(location = 1) in vec4 color;
5 | out vec2 uv;
6 | flat out vec3 rgb;
7 |
8 | void main() {
9 | gl_Position = vec4(vertex.xy, 0.0, 1.0);
10 | uv = vertex.zw;
11 | rgb = color.rgb;
12 | }
13 |
14 | #endif
15 |
16 | #ifdef _FRAGMENT_
17 |
18 | uniform sampler2D font;
19 |
20 | in vec2 uv;
21 | flat in vec3 rgb;
22 | layout(location = 0) out vec4 color;
23 |
24 | void main() {
25 | float v = texture(font, uv).r;
26 | color.rgb = (1.0 - v) * rgb * 0.25 + v * rgb;
27 | color.a = 0.6 + 0.4 * v;
28 | }
29 |
30 | #endif
31 |
--------------------------------------------------------------------------------
/core/examples/common/text.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/core/examples/helloworld/config/quad.mesh:
--------------------------------------------------------------------------------
1 | 0 1 0 1 0 0
2 | trianglestrip
3 | 1
4 | 0 3 float false
5 | 4
6 | 0 0 0
7 | 1 0 0
8 | 0 1 0
9 | 1 1 0
10 | 0
11 |
--------------------------------------------------------------------------------
/core/examples/twbartest/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | cmake_minimum_required(VERSION 2.6)
2 |
3 | set(EXENAME twbartest)
4 |
5 | #external library includes
6 | include_directories("${PROJECT_SOURCE_DIR}/libraries")
7 | message(STATUS "External librabry dir: " ${PROJECT_SOURCE_DIR}/libraries)
8 |
9 | #external librabry link dir
10 | link_directories(${PROJECT_SOURCE_DIR}/libraries)
11 |
12 | #mainline include dirs
13 | include_directories(${PROLAND_CORE_SOURCES})
14 |
15 | # Sources
16 | file(GLOB SOURCE_FILES *.cpp)
17 |
18 | add_definitions("-DORK_API=")
19 |
20 | # Assign output directory for this example
21 | set(EXAMPLE_EXE_PATH "/examples/core/twbartest")
22 | set(EXECUTABLE_OUTPUT_PATH "${EXECUTABLE_OUTPUT_PATH}${EXAMPLE_EXE_PATH}")
23 | message(STATUS "Setting example output dir: " ${EXECUTABLE_OUTPUT_PATH})
24 |
25 | add_executable(${EXENAME} ${SOURCE_FILES})
26 | target_link_libraries(${EXENAME} -Wl,--whole-archive proland-core ork -Wl,--no-whole-archive pthread GL GLU GLEW glut glfw3 rt dl Xrandr Xinerama Xxf86vm Xext Xcursor Xrender Xfixes X11 AntTweakBar stb_image tinyxml)
27 |
28 | # Copy all files in source tree, except this CMakeLists.txt
29 | add_custom_command(TARGET ${EXENAME} POST_BUILD
30 | COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR} ${EXECUTABLE_OUTPUT_PATH})
31 | add_custom_command(TARGET ${EXENAME} POST_BUILD
32 | COMMAND ${CMAKE_COMMAND} -E remove ${EXECUTABLE_OUTPUT_PATH}/CMakeLists.txt)
33 |
34 |
--------------------------------------------------------------------------------
/core/examples/twbartest/quad.mesh:
--------------------------------------------------------------------------------
1 | 0 1 0 1 0 0
2 | trianglestrip
3 | 1
4 | 0 3 float false
5 | 4
6 | 0 0 0
7 | 1 0 0
8 | 0 1 0
9 | 1 1 0
10 | 0
11 |
--------------------------------------------------------------------------------
/core/lib/libproland-core.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/core/lib/libproland-core.a
--------------------------------------------------------------------------------
/core/sources/proland/math/noise.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/core/sources/proland/math/noise.cpp
--------------------------------------------------------------------------------
/core/sources/proland/proland-core.pc.in:
--------------------------------------------------------------------------------
1 | prefix=@CMAKE_INSTALL_PREFIX@
2 | libdir=${prefix}/@LIB_INSTALL_DIR@
3 | includedir=${prefix}/include
4 |
5 | Name: proland core
6 | Description: OpenGL Rendering Kernel
7 | Version: @PROLAND_VERSION@
8 | Requires:
9 | Libs: -L${libdir} -lproland-core
10 | Cflags: -I${includedir} @PROLAND_CFLAGS@ @ORK_CFLAGS@
11 |
--------------------------------------------------------------------------------
/demo/README.TXT:
--------------------------------------------------------------------------------
1 | PROLAND DEMO version 4.0
2 |
3 | REQUIRES (at compile time):
4 | Proland core library version 4.0.
5 | Proland terrain plugin version 4.0.
6 | Proland ocean plugin version 4.0.
7 | Proland forest plugin version 4.0.
8 | Proland atmo plugin version 4.0.
9 | Proland edit plugin version 4.0.
10 | Proland river plugin version 4.0.
11 | Proland graph plugin version 4.0.
12 |
13 | This directory provides demos for the Proland core library and its plugins.
14 |
--------------------------------------------------------------------------------
/demo/demo-earth-borders.bat:
--------------------------------------------------------------------------------
1 | call init.bat
2 | demo.exe earth/earth-borders.xml %DATA%
3 |
--------------------------------------------------------------------------------
/demo/demo-earth-borders.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | ./demo earth/earth-borders.xml ../data
3 |
--------------------------------------------------------------------------------
/demo/demo-earth-clouds.bat:
--------------------------------------------------------------------------------
1 | call init.bat
2 | demo.exe earth/earth-clouds.xml %DATA%
3 |
--------------------------------------------------------------------------------
/demo/demo-earth-clouds.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | ./demo earth/earth-clouds.xml ../data
3 |
--------------------------------------------------------------------------------
/demo/demo-earth-ocean.bat:
--------------------------------------------------------------------------------
1 | call init.bat
2 | demo.exe earth/earth-ocean.xml %DATA%
3 |
--------------------------------------------------------------------------------
/demo/demo-earth-ocean.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | ./demo earth/earth-ocean.xml ../data
3 |
--------------------------------------------------------------------------------
/demo/demo-earth-postprocess.bat:
--------------------------------------------------------------------------------
1 | call init.bat
2 | demo.exe earth/earth-postprocess.xml %DATA%
3 |
--------------------------------------------------------------------------------
/demo/demo-earth-simple.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | ./demo earth/earth-simple.xml ../data/
4 |
--------------------------------------------------------------------------------
/demo/demo-earth-srtm-ALL.bat:
--------------------------------------------------------------------------------
1 | call init.bat
2 | demo.exe earth/earth-srtm-ALL.xml %DATA%
3 |
--------------------------------------------------------------------------------
/demo/demo-earth-srtm-ALL.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | ./demo earth/earth-srtm-ALL.xml ../data
3 |
--------------------------------------------------------------------------------
/demo/demo-earth-srtm-async.bat:
--------------------------------------------------------------------------------
1 | call init.bat
2 | demo.exe earth/earth-srtm-aync.xml %DATA%
3 |
--------------------------------------------------------------------------------
/demo/demo-earth-srtm-clouds.bat:
--------------------------------------------------------------------------------
1 | call init.bat
2 | demo.exe earth/earth-srtm-clouds.xml %DATA%
3 |
--------------------------------------------------------------------------------
/demo/demo-earth-srtm-clouds.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | ./demo earth/earth-srtm-clouds.xml ../data
3 |
--------------------------------------------------------------------------------
/demo/demo-earth-srtm-editAll-aync.bat:
--------------------------------------------------------------------------------
1 | call init.bat
2 | demo.exe earth/earth-srtm-editAll-async.xml %DATA%
3 |
--------------------------------------------------------------------------------
/demo/demo-earth-srtm-editAll.bat:
--------------------------------------------------------------------------------
1 | call init.bat
2 | demo.exe earth/earth-srtm-editAll.xml %DATA%
3 |
--------------------------------------------------------------------------------
/demo/demo-earth-srtm-trees2D.bat:
--------------------------------------------------------------------------------
1 | call init.bat
2 | demo.exe earth/earth-srtm-trees2D.xml %DATA%
3 |
--------------------------------------------------------------------------------
/demo/demo-earth-srtm-trees2D.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | ./demo earth/earth-srtm-trees2D.xml ../data
3 |
--------------------------------------------------------------------------------
/demo/demo-earth-srtm-trees3D.bat:
--------------------------------------------------------------------------------
1 | call init.bat
2 | demo.exe earth/earth-srtm-trees3D.xml %DATA%
3 |
--------------------------------------------------------------------------------
/demo/demo-earth-srtm.bat:
--------------------------------------------------------------------------------
1 | call init.bat
2 | demo.exe earth/earth-srtm.xml %DATA%
3 |
--------------------------------------------------------------------------------
/demo/demo-earth-srtm.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | ./demo earth/earth-srtm.xml ../data
3 |
--------------------------------------------------------------------------------
/demo/demo-earth.bat:
--------------------------------------------------------------------------------
1 | call init.bat
2 | demo.exe earth/earth.xml %DATA%
3 |
--------------------------------------------------------------------------------
/demo/demo-earth.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | ./demo earth/earth.xml ../data/
4 |
--------------------------------------------------------------------------------
/demo/demo-fractalplanet.bat:
--------------------------------------------------------------------------------
1 | call init.bat
2 | demo.exe fractal/fractalplanet.xml %DATA%
3 |
--------------------------------------------------------------------------------
/demo/demo-fractalplanet.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | ./demo fractal/fractalplanet.xml ../data
3 |
--------------------------------------------------------------------------------
/demo/demo-fractalterrain-trees2D.bat:
--------------------------------------------------------------------------------
1 | call init.bat
2 | demo.exe fractal/fractalterrain-trees2D.xml %DATA%
3 |
--------------------------------------------------------------------------------
/demo/demo-fractalterrain-trees2D.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | ./demo fractal/fractalterrain-trees2D.xml ../data
3 |
--------------------------------------------------------------------------------
/demo/demo-fractalterrain-trees3D.bat:
--------------------------------------------------------------------------------
1 | call init.bat
2 | demo.exe fractal/fractalterrain-trees3D.xml %DATA%
3 |
--------------------------------------------------------------------------------
/demo/demo-fractalterrain-trees3D.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | ./demo fractal/fractalterrain-trees3D.xml ../data
3 |
--------------------------------------------------------------------------------
/demo/demo-fractalterrain.bat:
--------------------------------------------------------------------------------
1 | call init.bat
2 | demo.exe fractal/fractalterrain.xml %DATA%
3 |
--------------------------------------------------------------------------------
/demo/demo-fractalterrain.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | ./demo fractal/fractalterrain.xml ../data
3 |
--------------------------------------------------------------------------------
/demo/init.bat:
--------------------------------------------------------------------------------
1 | rem Change this to point to the directory where you put the terrain DAT files
2 |
3 | set DATA=e:\data
4 |
5 | PATH=..\bin;%PATH%
6 |
--------------------------------------------------------------------------------
/demo/init.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #Change this to point to the directory where you put the terrain DAT files
4 | export DATA="../data"
5 | echo $DATA
6 |
--------------------------------------------------------------------------------
/demo/install.sh:
--------------------------------------------------------------------------------
1 | # Copy the demo to the distribution directory
2 |
3 | find . -type d -exec mkdir -p ../output/demo/{} \;
4 | find . ! \( -name "*.cbp" -o -name "*.depend" -o -name "*.layout" -o -name "log.html" -o -name "*.sh" -o -name "inscatter.raw" -o -name "irradiance.raw" -o -name "transmittance.raw" -o -name "README.TXT" \) -exec cp {} ../output/demo/{} \;
5 |
--------------------------------------------------------------------------------
/demo/meshes/cone.mesh:
--------------------------------------------------------------------------------
1 | -0.5 0.5 -0.5 0.5 -1 0
2 | trianglefan
3 | 1
4 | 0 3 float false
5 | 6
6 | 0 0 0
7 | -0.5 -0.5 -1
8 | -0.5 +0.5 -1
9 | +0.5 +0.5 -1
10 | +0.5 -0.5 -1
11 | -0.5 -0.5 -1
12 | 0
13 |
14 | // position
15 |
--------------------------------------------------------------------------------
/demo/meshes/cube.mesh:
--------------------------------------------------------------------------------
1 | -1 1 -1 1 -1 1
2 | triangles
3 | 4
4 | 0 3 float false
5 | 1 3 float false
6 | 2 2 float false
7 | 3 4 ubyte true
8 | 36
9 | -1 -1 +1 0 0 +1 0 0 255 0 0 0
10 | +1 -1 +1 0 0 +1 1 0 255 0 0 0
11 | +1 +1 +1 0 0 +1 1 1 255 0 0 0
12 | +1 +1 +1 0 0 +1 1 1 255 0 0 0
13 | -1 +1 +1 0 0 +1 0 1 255 0 0 0
14 | -1 -1 +1 0 0 +1 0 0 255 0 0 0
15 | +1 -1 +1 +1 0 0 0 0 0 255 0 0
16 | +1 -1 -1 +1 0 0 1 0 0 255 0 0
17 | +1 +1 -1 +1 0 0 1 1 0 255 0 0
18 | +1 +1 -1 +1 0 0 1 1 0 255 0 0
19 | +1 +1 +1 +1 0 0 0 1 0 255 0 0
20 | +1 -1 +1 +1 0 0 0 0 0 255 0 0
21 | -1 +1 +1 0 +1 0 0 0 0 0 255 0
22 | +1 +1 +1 0 +1 0 1 0 0 0 255 0
23 | +1 +1 -1 0 +1 0 1 1 0 0 255 0
24 | +1 +1 -1 0 +1 0 1 1 0 0 255 0
25 | -1 +1 -1 0 +1 0 0 1 0 0 255 0
26 | -1 +1 +1 0 +1 0 0 0 0 0 255 0
27 | +1 -1 -1 0 0 -1 0 0 0 255 255 0
28 | -1 -1 -1 0 0 -1 1 0 0 255 255 0
29 | -1 +1 -1 0 0 -1 1 1 0 255 255 0
30 | -1 +1 -1 0 0 -1 1 1 0 255 255 0
31 | +1 +1 -1 0 0 -1 0 1 0 255 255 0
32 | +1 -1 -1 0 0 -1 0 0 0 255 255 0
33 | -1 -1 -1 -1 0 0 0 0 255 0 255 0
34 | -1 -1 +1 -1 0 0 1 0 255 0 255 0
35 | -1 +1 +1 -1 0 0 1 1 255 0 255 0
36 | -1 +1 +1 -1 0 0 1 1 255 0 255 0
37 | -1 +1 -1 -1 0 0 0 1 255 0 255 0
38 | -1 -1 -1 -1 0 0 0 0 255 0 255 0
39 | -1 -1 -1 0 -1 0 0 0 255 255 0 0
40 | +1 -1 -1 0 -1 0 1 0 255 255 0 0
41 | +1 -1 +1 0 -1 0 1 1 255 255 0 0
42 | +1 -1 +1 0 -1 0 1 1 255 255 0 0
43 | -1 -1 +1 0 -1 0 0 1 255 255 0 0
44 | -1 -1 -1 0 -1 0 0 0 255 255 0 0
45 | 0
46 |
47 | // position = 0 normal = 1 uv = 2 color = 3
48 |
--------------------------------------------------------------------------------
/demo/meshes/plane.mesh:
--------------------------------------------------------------------------------
1 | -10 10 -10 10 0 0
2 | trianglestrip
3 | 4
4 | 0 3 float false
5 | 1 3 float false
6 | 2 2 float false
7 | 3 4 ubyte true
8 | 4
9 | -10 -10 0 0 0 +1 0 0 248 166 10 0
10 | +10 -10 0 0 0 +1 1 0 248 166 10 0
11 | -10 +10 0 0 0 +1 0 1 248 166 10 0
12 | +10 +10 0 0 0 +1 1 1 248 166 10 0
13 | 0
14 |
15 | // position / normal / uv / color
16 |
--------------------------------------------------------------------------------
/demo/meshes/quad.mesh:
--------------------------------------------------------------------------------
1 | -1 1 -1 1 0 0
2 | trianglestrip
3 | 1
4 | 0 3 float false
5 | 4
6 | -1 -1 0
7 | +1 -1 0
8 | -1 +1 0
9 | +1 +1 0
10 | 0
11 |
--------------------------------------------------------------------------------
/demo/methods/debugTextureMethod.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/demo/methods/drawFlatOceanFFTMethod.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/demo/methods/drawFlatOceanMethod.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/demo/methods/drawOceanFFTMethod.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/demo/methods/drawOceanMethod.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/demo/methods/drawPlantsMethod.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/methods/drawPlantsShadowMethod.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/methods/drawTerrainMethod.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/demo/methods/drawTweakBarMethod.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/methods/infoMethod.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/methods/logMethod.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/methods/raycastMethod.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/demo/methods/sunMethod.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/demo/methods/updateTerrainMethod.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/demo/shaders/atmo/atmosphereShaderFS.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/demo/shaders/atmo/sky1Shader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/demo/shaders/atmo/sky2Shader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/demo/shaders/camera/bloomShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/demo/shaders/camera/postprocessShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/demo/shaders/clouds/cloudShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/demo/shaders/clouds/clouds.glhl:
--------------------------------------------------------------------------------
1 | // CLOUDS.GLHL
2 | /*
3 | * Proland: a procedural landscape rendering library.
4 | * Copyright (c) 2008-2011 INRIA
5 | *
6 | * This program is free software: you can redistribute it and/or modify
7 | * it under the terms of the GNU General Public License as published by
8 | * the Free Software Foundation, either version 3 of the License, or
9 | * (at your option) any later version.
10 | *
11 | * This program is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 | * GNU General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU General Public License
17 | * along with this program. If not, see
.
18 | */
19 |
20 | /*
21 | * Proland is distributed under a dual-license scheme.
22 | * You can obtain a specific license from Inria: proland-licensing@inria.fr.
23 | */
24 |
25 | /*
26 | * Authors: Eric Bruneton, Antoine Begault, Guillaume Piolat.
27 | */
28 |
29 | const float CLOUD_HEIGHT = 5000.0;
30 |
31 | float cloudsShadow(vec3 P, vec3 WSD, float h, float vSun, float radius);
32 |
--------------------------------------------------------------------------------
/demo/shaders/clouds/clouds.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/shaders/debugShader.glsl:
--------------------------------------------------------------------------------
1 | // DEBUGSHADER.GLSL
2 | /*
3 | * Proland: a procedural landscape rendering library.
4 | * Copyright (c) 2008-2011 INRIA
5 | *
6 | * This program is free software: you can redistribute it and/or modify
7 | * it under the terms of the GNU General Public License as published by
8 | * the Free Software Foundation, either version 3 of the License, or
9 | * (at your option) any later version.
10 | *
11 | * This program is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 | * GNU General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU General Public License
17 | * along with this program. If not, see
.
18 | */
19 |
20 | /*
21 | * Proland is distributed under a dual-license scheme.
22 | * You can obtain a specific license from Inria: proland-licensing@inria.fr.
23 | */
24 |
25 | /*
26 | * Authors: Eric Bruneton, Antoine Begault, Guillaume Piolat.
27 | */
28 |
29 | #ifdef _VERTEX_
30 |
31 | uniform mat4 projection;
32 |
33 | layout(location=0) in vec4 vertex;
34 |
35 | void main() {
36 | gl_Position = projection * vertex;
37 | }
38 |
39 | #endif
40 |
41 | #ifdef _FRAGMENT_
42 |
43 | layout(location=0) out vec4 data;
44 |
45 | void main() {
46 | data = vec4(1.0, 0.0, 0.0, 0.0);
47 | }
48 |
49 | #endif
50 |
--------------------------------------------------------------------------------
/demo/shaders/debugShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/shaders/earth/earthShader-VN.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/shaders/earth/earthShader-flip.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/shaders/earth/earthShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/shaders/earth/fractalplanetShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/shaders/earth/planetShader-shadows.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/shaders/earth/planetShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/shaders/elevation/blendShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/demo/shaders/elevation/brushShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/demo/shaders/elevation/brushShaderSpherical.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/demo/shaders/elevation/composeShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/demo/shaders/elevation/normalShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/demo/shaders/elevation/roadLayerElevationShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/demo/shaders/elevation/upsampleShader-noClamp.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/shaders/elevation/upsampleShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/shaders/elevation/waterLayerElevationShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/demo/shaders/ocean/fftInitShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/demo/shaders/ocean/fftxShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/demo/shaders/ocean/fftyShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/demo/shaders/ocean/oceanBrdf.glhl:
--------------------------------------------------------------------------------
1 | // OCEANBRDF.GLHL
2 | /*
3 | * Proland: a procedural landscape rendering library.
4 | * Copyright (c) 2008-2011 INRIA
5 | *
6 | * This program is free software: you can redistribute it and/or modify
7 | * it under the terms of the GNU General Public License as published by
8 | * the Free Software Foundation, either version 3 of the License, or
9 | * (at your option) any later version.
10 | *
11 | * This program is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 | * GNU General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU General Public License
17 | * along with this program. If not, see
.
18 | */
19 |
20 | /*
21 | * Proland is distributed under a dual-license scheme.
22 | * You can obtain a specific license from Inria: proland-licensing@inria.fr.
23 | */
24 |
25 | /*
26 | * Authors: Eric Bruneton, Antoine Begault, Guillaume Piolat.
27 | */
28 |
29 | vec3 oceanRadiance(vec3 V, vec3 N, vec3 L, float seaRoughness, vec3 sunL, vec3 skyE);
30 |
--------------------------------------------------------------------------------
/demo/shaders/ocean/oceanBrdf.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/shaders/ocean/oceanFFTShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/shaders/ocean/oceanShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/shaders/ocean/variancesShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/demo/shaders/ortho/brushOrthoShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/demo/shaders/ortho/brushOrthoShaderSpherical.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/demo/shaders/ortho/composeOrthoShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/demo/shaders/ortho/editLayerShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/demo/shaders/ortho/fieldsLayerOrthoShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/demo/shaders/ortho/lineLayerOrthoShader.glsl:
--------------------------------------------------------------------------------
1 | /*
2 | * Proland: a procedural landscape rendering library.
3 | * Copyright (c) 2008-2011 INRIA
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program. If not, see
.
17 | */
18 |
19 | /*
20 | * Proland is distributed under a dual-license scheme.
21 | * You can obtain a specific license from Inria: proland-licensing@inria.fr.
22 | */
23 |
24 | /*
25 | * Authors: Eric Bruneton, Antoine Begault, Guillaume Piolat.
26 | */
27 |
28 | #ifdef _VERTEX_
29 |
30 | layout(location=0) in vec2 vertex;
31 |
32 | uniform vec3 tileOffset;
33 |
34 | void main() {
35 | gl_Position = vec4((vertex - tileOffset.xy) * tileOffset.z, 0.0, 1.0);
36 | }
37 |
38 | #endif
39 |
40 | #ifdef _FRAGMENT_
41 |
42 | layout(location=0) out vec4 data;
43 |
44 | void main() {
45 | data = vec4(1.0,0.0,0.0,1.0);
46 | }
47 |
48 | #endif
49 |
--------------------------------------------------------------------------------
/demo/shaders/ortho/lineLayerOrthoShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/demo/shaders/ortho/roadLayerOrthoShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/demo/shaders/ortho/testOrthoShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/shaders/ortho/textureOrthoCopyShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/demo/shaders/ortho/upsampleOrthoShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/demo/shaders/ortho/waterLayerOrthoShader.glsl:
--------------------------------------------------------------------------------
1 | /*
2 | * Proland: a procedural landscape rendering library.
3 | * Copyright (c) 2008-2011 INRIA
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program. If not, see
.
17 | */
18 |
19 | /*
20 | * Proland is distributed under a dual-license scheme.
21 | * You can obtain a specific license from Inria: proland-licensing@inria.fr.
22 | */
23 |
24 | /*
25 | * Authors: Eric Bruneton, Antoine Begault, Guillaume Piolat.
26 | */
27 |
28 | #ifdef _VERTEX_
29 |
30 | uniform vec3 tileOffset;
31 |
32 | layout(location=0) in vec2 vertex;
33 |
34 | void main() {
35 | gl_Position = vec4((vertex - tileOffset.xy) * tileOffset.z, 0.0, 1.0);
36 | }
37 |
38 | #endif
39 |
40 | #ifdef _FRAGMENT_
41 |
42 | uniform vec4 color;
43 |
44 | layout(location=0) out vec4 data;
45 |
46 | void main() {
47 | data = color;
48 | }
49 |
50 | #endif
51 |
--------------------------------------------------------------------------------
/demo/shaders/ortho/waterLayerOrthoShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/demo/shaders/rivers/drawParticlesShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/demo/shaders/rivers/renderRiversShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/demo/shaders/terrain/fractalTerrainShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/shaders/terrain/terrainShader-Rivers.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/shaders/terrain/terrainShader-VN.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/shaders/terrain/terrainShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/shaders/trees/dot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/demo/shaders/trees/dot.png
--------------------------------------------------------------------------------
/demo/shaders/trees/dot.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/shaders/trees/dots.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/demo/shaders/trees/elevationFilter.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/shaders/trees/multisample.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/demo/shaders/trees/multisample.png
--------------------------------------------------------------------------------
/demo/shaders/trees/multisample.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/shaders/trees/renderTreeShader2D-shadows.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/demo/shaders/trees/renderTreeShader2D.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/demo/shaders/trees/renderTreeShadow2D.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/demo/shaders/trees/selectTreeShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/shaders/trees/slopeFilter.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/shaders/trees/treeBrdf.glhl:
--------------------------------------------------------------------------------
1 | /*
2 | * Proland: a procedural landscape rendering library.
3 | * Copyright (c) 2008-2011 INRIA
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program. If not, see
.
17 | */
18 |
19 | /*
20 | * Proland is distributed under a dual-license scheme.
21 | * You can obtain a specific license from Inria: proland-licensing@inria.fr.
22 | */
23 |
24 | /*
25 | * Authors: Eric Bruneton, Antoine Begault, Guillaume Piolat.
26 | */
27 |
28 | const float MIN_RADIUS = 0.848;
29 | const float MAX_RADIUS = 1.21;
30 |
31 | vec3 treeBrdf(vec3 q, float d, vec4 lc, vec3 v, vec3 fn, vec3 WSD, vec3 V, vec3 reflectance, vec3 sunL, vec3 skyE);
32 |
--------------------------------------------------------------------------------
/demo/shaders/trees/treeBrdf.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/shaders/trees/upsampleLccShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/demo/shaders/util/copyArrayShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/shaders/util/copyShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/demo/shaders/util/fillShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/demo/shaders/util/fontShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/shaders/util/initOrthoShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/demo/shaders/util/initShader.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/demo/textures/atmo/inscatter.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/textures/atmo/irradiance.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/textures/atmo/sunglare.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/demo/textures/atmo/sunglare.png
--------------------------------------------------------------------------------
/demo/textures/atmo/sunglare.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/textures/atmo/transmittance.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/textures/basicFont.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/textures/clouds/Mie-Lum.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/demo/textures/clouds/Mie-Lum.raw
--------------------------------------------------------------------------------
/demo/textures/clouds/Mie-Lum.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/textures/clouds/Mie-RGB.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/demo/textures/clouds/Mie-RGB.raw
--------------------------------------------------------------------------------
/demo/textures/clouds/Mie-RGB.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/textures/clouds/Mie-TransBlur.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/demo/textures/clouds/Mie-TransBlur.raw
--------------------------------------------------------------------------------
/demo/textures/clouds/Mie-TransBlur.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/textures/clouds/params.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/demo/textures/clouds/params.raw
--------------------------------------------------------------------------------
/demo/textures/clouds/params.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/textures/cursor.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/demo/textures/cursor.png
--------------------------------------------------------------------------------
/demo/textures/cursor.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/textures/font.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/demo/textures/font.png
--------------------------------------------------------------------------------
/demo/textures/font.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/textures/offscreenColor.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/textures/offscreenDepth.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/textures/rivers/basicWaveTile1.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
--------------------------------------------------------------------------------
/demo/textures/rivers/pebbles.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/demo/textures/rivers/pebbles.png
--------------------------------------------------------------------------------
/demo/textures/rivers/pebbles.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/textures/rivers/pebblesWaveTile.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
--------------------------------------------------------------------------------
/demo/textures/rivers/perlinWaveTile1.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
--------------------------------------------------------------------------------
/demo/textures/rivers/perlinWaveTile2.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
--------------------------------------------------------------------------------
/demo/textures/rivers/sandripple.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/demo/textures/rivers/sandripple.png
--------------------------------------------------------------------------------
/demo/textures/rivers/sandripple.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/textures/rivers/waterTexture.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/demo/textures/rivers/waterTexture.png
--------------------------------------------------------------------------------
/demo/textures/rivers/waterTexture.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/textures/roads/asphalt.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/demo/textures/roads/asphalt.jpg
--------------------------------------------------------------------------------
/demo/textures/roads/asphalt.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/textures/trees/groundCover.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/demo/textures/trees/groundCover.raw
--------------------------------------------------------------------------------
/demo/textures/trees/groundCover.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/textures/trees/treeAO.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/demo/textures/trees/treeAO.raw
--------------------------------------------------------------------------------
/demo/textures/trees/treeAO.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/textures/trees/treeKc.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/demo/textures/trees/treeKc.raw
--------------------------------------------------------------------------------
/demo/textures/trees/treeKc.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/textures/trees/trees2D.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/demo/textures/trees/trees2D.png
--------------------------------------------------------------------------------
/demo/textures/trees/trees2D.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/demo/textures/trees/trees3D.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/demo/textures/trees/trees3D.png
--------------------------------------------------------------------------------
/demo/textures/trees/trees3D.xml:
--------------------------------------------------------------------------------
1 |
18 |
22 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/edit/CMakeLists.txt:
--------------------------------------------------------------------------------
1 |
2 | add_subdirectory(sources/proland)
3 |
--------------------------------------------------------------------------------
/edit/README.TXT:
--------------------------------------------------------------------------------
1 | PROLAND EDIT PLUGIN version 4.0
2 |
3 | REQUIRES:
4 | Proland core library version 4.0.
5 | Proland terrain plugin version 4.0.
6 | Proland graph plugin version 4.0.
7 | Proland river plugin version 4.0.
8 |
9 | This directory defines an "edit" plugin for the Proland core library.
10 |
--------------------------------------------------------------------------------
/edit/doc/figures/edit1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/edit/doc/figures/edit1.png
--------------------------------------------------------------------------------
/edit/doc/figures/edit2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/edit/doc/figures/edit2.png
--------------------------------------------------------------------------------
/edit/doc/figures/edit3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/edit/doc/figures/edit3.png
--------------------------------------------------------------------------------
/edit/doc/figures/edit4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/edit/doc/figures/edit4.png
--------------------------------------------------------------------------------
/edit/examples/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(edit1)
2 | add_subdirectory(edit2)
3 | add_subdirectory(edit3)
4 | add_subdirectory(edit4)
5 |
--------------------------------------------------------------------------------
/edit/examples/edit1/text.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/edit/examples/edit1/text.png
--------------------------------------------------------------------------------
/edit/examples/edit2/text.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/edit/examples/edit2/text.png
--------------------------------------------------------------------------------
/edit/examples/edit3/DEM.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/edit/examples/edit3/DEM.dat
--------------------------------------------------------------------------------
/edit/examples/edit3/text.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/edit/examples/edit3/text.png
--------------------------------------------------------------------------------
/edit/examples/edit4/DEM.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/edit/examples/edit4/DEM.dat
--------------------------------------------------------------------------------
/edit/examples/edit4/text.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/edit/examples/edit4/text.png
--------------------------------------------------------------------------------
/edit/sources/proland/proland-edit.pc.in:
--------------------------------------------------------------------------------
1 | prefix=@CMAKE_INSTALL_PREFIX@
2 | libdir=${prefix}/@LIB_INSTALL_DIR@
3 | includedir=${prefix}/include
4 |
5 | Name: proland edit
6 | Description: OpenGL Rendering Kernel
7 | Version: @PROLAND_VERSION@
8 | Requires:
9 | Libs: -L${libdir} -lproland-edit
10 | Cflags: -I${includedir} @ORK_CFLAGS@
11 |
--------------------------------------------------------------------------------
/forest/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(sources/proland)
2 |
--------------------------------------------------------------------------------
/forest/README.TXT:
--------------------------------------------------------------------------------
1 | PROLAND FOREST PLUGIN version 4.0
2 |
3 | REQUIRES:
4 | Proland core library version 4.0.
5 |
6 | This directory defines a "forest" plugin for the Proland core library.
7 |
--------------------------------------------------------------------------------
/forest/doc/figures/trees1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/forest/doc/figures/trees1.png
--------------------------------------------------------------------------------
/forest/examples/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(trees1)
2 |
--------------------------------------------------------------------------------
/forest/examples/trees1/basictree.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/forest/examples/trees1/basictree.png
--------------------------------------------------------------------------------
/forest/examples/trees1/drawPlantsMethod.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/forest/examples/trees1/drawPlantsShadowMethod.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/forest/examples/trees1/text.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/forest/examples/trees1/text.png
--------------------------------------------------------------------------------
/forest/sources/proland/preprocess/trees/drawPlantsMethod.xml:
--------------------------------------------------------------------------------
1 | const char* drawPlantsMethodSource = "\
2 | \n\
3 |
\n\
4 | ";
5 |
6 |
--------------------------------------------------------------------------------
/forest/sources/proland/preprocess/trees/drawPlantsShadowMethod.xml:
--------------------------------------------------------------------------------
1 | const char* drawPlantsShadowMethodSource = "\
2 | \n\
3 | \n\
4 | ";
5 |
--------------------------------------------------------------------------------
/forest/sources/proland/preprocess/trees/quad.mesh:
--------------------------------------------------------------------------------
1 | const char* quadSource = "0 1 0 1 0 0\n\
2 | trianglestrip\n\
3 | 1\n\
4 | 0 3 float false\n\
5 | 4\n\
6 | 0 0 0\n\
7 | 1 0 0\n\
8 | 0 1 0\n\
9 | 1 1 0\n\
10 | 0\n\
11 | ";
12 |
--------------------------------------------------------------------------------
/forest/sources/proland/proland-forest.pc.in:
--------------------------------------------------------------------------------
1 | prefix=@CMAKE_INSTALL_PREFIX@
2 | libdir=${prefix}/@LIB_INSTALL_DIR@
3 | includedir=${prefix}/include
4 |
5 | Name: proland forest
6 | Description: OpenGL Rendering Kernel
7 | Version: @PROLAND_VERSION@
8 | Requires:
9 | Libs: -L${libdir} -lproland-forest
10 | Cflags: -I${includedir} @ORK_CFLAGS@
11 |
--------------------------------------------------------------------------------
/graph/CMakeLists.txt:
--------------------------------------------------------------------------------
1 |
2 | add_subdirectory(sources/proland)
3 |
--------------------------------------------------------------------------------
/graph/README.TXT:
--------------------------------------------------------------------------------
1 | PROLAND GRAPH PLUGIN version 4.0
2 |
3 | REQUIRES:
4 | Proland core library version 4.0.
5 | Proland terrain plugin version 4.0.
6 |
7 | This directory defines a "graph" plugin for the Proland core library.
8 |
--------------------------------------------------------------------------------
/graph/doc/figures/graph-addcurves.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/graph/doc/figures/graph-addcurves.png
--------------------------------------------------------------------------------
/graph/doc/figures/graph-update.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/graph/doc/figures/graph-update.png
--------------------------------------------------------------------------------
/graph/doc/figures/graph1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/graph/doc/figures/graph1.png
--------------------------------------------------------------------------------
/graph/doc/figures/graphs.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/graph/doc/figures/graphs.png
--------------------------------------------------------------------------------
/graph/doc/figures/graphsUpdate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/graph/doc/figures/graphsUpdate.png
--------------------------------------------------------------------------------
/graph/examples/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(graph1)
2 |
--------------------------------------------------------------------------------
/graph/examples/graph1/DEM.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/graph/examples/graph1/DEM.dat
--------------------------------------------------------------------------------
/graph/examples/graph1/RGB.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/graph/examples/graph1/RGB.dat
--------------------------------------------------------------------------------
/graph/examples/graph1/text.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/graph/examples/graph1/text.png
--------------------------------------------------------------------------------
/graph/sources/proland/proland-graph.pc.in:
--------------------------------------------------------------------------------
1 | prefix=@CMAKE_INSTALL_PREFIX@
2 | libdir=${prefix}/@LIB_INSTALL_DIR@
3 | includedir=${prefix}/include
4 |
5 | Name: proland graph
6 | Description: OpenGL Rendering Kernel
7 | Version: @PROLAND_VERSION@
8 | Requires:
9 | Libs: -L${libdir} -lproland-graph
10 | Cflags: -I${includedir} @ORK_CFLAGS@
11 |
--------------------------------------------------------------------------------
/ocean/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(sources/proland)
2 |
--------------------------------------------------------------------------------
/ocean/README.TXT:
--------------------------------------------------------------------------------
1 | PROLAND OCEAN PLUGIN version 4.0
2 |
3 | REQUIRES:
4 | Proland core library version 4.0.
5 |
6 | This directory defines an "ocean" plugin for the Proland core library.
7 |
--------------------------------------------------------------------------------
/ocean/doc/figures/ocean1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/ocean/doc/figures/ocean1.png
--------------------------------------------------------------------------------
/ocean/doc/figures/ocean2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/ocean/doc/figures/ocean2.png
--------------------------------------------------------------------------------
/ocean/examples/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(ocean1)
2 | add_subdirectory(ocean2)
3 |
--------------------------------------------------------------------------------
/ocean/examples/ocean1/atmosphereShader.glhl:
--------------------------------------------------------------------------------
1 | /*
2 | * Proland: a procedural landscape rendering library.
3 | * Copyright (c) 2008-2011 INRIA
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program. If not, see .
17 | */
18 |
19 | /*
20 | * Proland is distributed under a dual-license scheme.
21 | * You can obtain a specific license from Inria: proland-licensing@inria.fr.
22 | */
23 |
24 | /*
25 | * Authors: Eric Bruneton, Antoine Begault, Guillaume Piolat.
26 | */
27 |
28 | #define SUN_INTENSITY 100.0
29 |
30 | #define PLANET_RADIUS 6360000.0
31 |
32 | vec3 sunRadiance(float r, float muS);
33 |
34 | vec3 skyIrradiance(float r, float muS);
35 |
36 | vec3 skyRadiance(vec3 camera, vec3 viewdir, vec3 sundir, out vec3 extinction, float shaftWidth);
37 |
38 | vec3 inScattering(vec3 camera, vec3 point, vec3 sundir, out vec3 extinction, float shaftWidth);
39 |
--------------------------------------------------------------------------------
/ocean/examples/ocean1/square.mesh:
--------------------------------------------------------------------------------
1 | -1 1 -1 1 0 0
2 | trianglestrip
3 | 1
4 | 0 3 float false
5 | 4
6 | -1 -1 0
7 | +1 -1 0
8 | -1 +1 0
9 | +1 +1 0
10 | 0
11 |
--------------------------------------------------------------------------------
/ocean/examples/ocean1/sunglare.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/ocean/examples/ocean1/sunglare.png
--------------------------------------------------------------------------------
/ocean/examples/ocean1/text.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/ocean/examples/ocean1/text.png
--------------------------------------------------------------------------------
/ocean/sources/proland/proland-ocean.pc.in:
--------------------------------------------------------------------------------
1 | prefix=@CMAKE_INSTALL_PREFIX@
2 | libdir=${prefix}/@LIB_INSTALL_DIR@
3 | includedir=${prefix}/include
4 |
5 | Name: proland ocean
6 | Description: OpenGL Rendering Kernel
7 | Version: @PROLAND_VERSION@
8 | Requires:
9 | Libs: -L${libdir} -lproland-ocean
10 | Cflags: -I${includedir} @ORK_CFLAGS@
11 |
--------------------------------------------------------------------------------
/river/CMakeLists.txt:
--------------------------------------------------------------------------------
1 |
2 | add_subdirectory(sources/proland)
3 |
--------------------------------------------------------------------------------
/river/README.TXT:
--------------------------------------------------------------------------------
1 | PROLAND RIVER PLUGIN version 4.0
2 |
3 | REQUIRES:
4 | Proland core library version 4.0.
5 | Proland graph plugin version 4.0.
6 |
7 | This directory defines a "river" plugin for the Proland core library.
8 |
--------------------------------------------------------------------------------
/river/doc/examples.txt:
--------------------------------------------------------------------------------
1 | /*! \page page-examples Examples
2 |
3 | \htmlonly
4 |
5 | \endhtmlonly
6 |
7 | \section sec-river1 River1 example
8 |
9 | \htmlonly
10 |

11 | \endhtmlonly
12 |
13 | \htmlonly \endhtmlonly
16 |
17 | This example is based on the paper "Scalable real-time animation of rivers",
18 | Qizhi Yu, Fabrice Neyret, Eric Bruneton and Nicolas Holzschuch, Eurographics
19 | 2009.
20 |
21 | TODO!
22 |
23 | */
24 |
--------------------------------------------------------------------------------
/river/doc/figures/river-example.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/river/doc/figures/river-example.png
--------------------------------------------------------------------------------
/river/doc/figures/river1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/river/doc/figures/river1.png
--------------------------------------------------------------------------------
/river/doc/figures/rivers-interpolation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/river/doc/figures/rivers-interpolation.png
--------------------------------------------------------------------------------
/river/doc/figures/rivers-quad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/river/doc/figures/rivers-quad.png
--------------------------------------------------------------------------------
/river/doc/figures/waterTexture.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/river/doc/figures/waterTexture.png
--------------------------------------------------------------------------------
/river/examples/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(river1)
2 |
--------------------------------------------------------------------------------
/river/examples/river1/DEM.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/river/examples/river1/DEM.dat
--------------------------------------------------------------------------------
/river/examples/river1/text.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/river/examples/river1/text.png
--------------------------------------------------------------------------------
/river/sources/proland/proland-river.pc.in:
--------------------------------------------------------------------------------
1 | prefix=@CMAKE_INSTALL_PREFIX@
2 | libdir=${prefix}/@LIB_INSTALL_DIR@
3 | includedir=${prefix}/include
4 |
5 | Name: proland river
6 | Description: OpenGL Rendering Kernel
7 | Version: @PROLAND_VERSION@
8 | Requires:
9 | Libs: -L${libdir} -lproland-river
10 | Cflags: -I${includedir} @ORK_CFLAGS@
11 |
--------------------------------------------------------------------------------
/terrain/CMakeLists.txt:
--------------------------------------------------------------------------------
1 |
2 | add_subdirectory(sources/proland)
3 |
--------------------------------------------------------------------------------
/terrain/README.TXT:
--------------------------------------------------------------------------------
1 | PROLAND TERRAIN PLUGIN version 4.0
2 |
3 | REQUIRES:
4 | Proland core library version 4.0.
5 |
6 | This directory defines a "terrain" plugin for the Proland core library.
7 |
--------------------------------------------------------------------------------
/terrain/doc/figures/drawTerrain.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/terrain/doc/figures/elevation-flip.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/doc/figures/elevation-flip.jpg
--------------------------------------------------------------------------------
/terrain/doc/figures/elevation-options.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/doc/figures/elevation-options.jpg
--------------------------------------------------------------------------------
/terrain/doc/figures/exercise1a.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/doc/figures/exercise1a.png
--------------------------------------------------------------------------------
/terrain/doc/figures/exercise1b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/doc/figures/exercise1b.png
--------------------------------------------------------------------------------
/terrain/doc/figures/exercise1c.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/doc/figures/exercise1c.png
--------------------------------------------------------------------------------
/terrain/doc/figures/exercise2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/doc/figures/exercise2.png
--------------------------------------------------------------------------------
/terrain/doc/figures/exercise3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/doc/figures/exercise3.png
--------------------------------------------------------------------------------
/terrain/doc/figures/exercise4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/doc/figures/exercise4.png
--------------------------------------------------------------------------------
/terrain/doc/figures/exercise5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/doc/figures/exercise5.png
--------------------------------------------------------------------------------
/terrain/doc/figures/preprocess.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/doc/figures/preprocess.png
--------------------------------------------------------------------------------
/terrain/doc/figures/terrain1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/doc/figures/terrain1.png
--------------------------------------------------------------------------------
/terrain/doc/figures/terrain2-a.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/doc/figures/terrain2-a.png
--------------------------------------------------------------------------------
/terrain/doc/figures/terrain2-b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/doc/figures/terrain2-b.png
--------------------------------------------------------------------------------
/terrain/doc/figures/terrain2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/doc/figures/terrain2.png
--------------------------------------------------------------------------------
/terrain/doc/figures/terrain3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/doc/figures/terrain3.png
--------------------------------------------------------------------------------
/terrain/doc/figures/terrain4-a.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/doc/figures/terrain4-a.png
--------------------------------------------------------------------------------
/terrain/doc/figures/terrain4-b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/doc/figures/terrain4-b.png
--------------------------------------------------------------------------------
/terrain/doc/figures/terrain4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/doc/figures/terrain4.png
--------------------------------------------------------------------------------
/terrain/doc/figures/terrain5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/doc/figures/terrain5.png
--------------------------------------------------------------------------------
/terrain/doc/figures/updateTerrain.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/terrain/examples/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(terrain1)
2 | add_subdirectory(terrain2)
3 | add_subdirectory(terrain3)
4 | add_subdirectory(terrain4)
5 | add_subdirectory(terrain5)
6 | add_subdirectory(preprocess)
7 | add_subdirectory(preprocess2)
8 |
--------------------------------------------------------------------------------
/terrain/examples/common/defaultFont.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/terrain/examples/common/infoMethod.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/terrain/examples/common/logMethod.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/terrain/examples/common/lucidaConsole.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/examples/common/lucidaConsole.png
--------------------------------------------------------------------------------
/terrain/examples/common/lucidaConsole.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/terrain/examples/common/text.glsl:
--------------------------------------------------------------------------------
1 | #ifdef _VERTEX_
2 |
3 | layout(location = 0) in vec4 vertex;
4 | layout(location = 1) in vec4 color;
5 | out vec2 uv;
6 | flat out vec3 rgb;
7 |
8 | void main() {
9 | gl_Position = vec4(vertex.xy, 0.0, 1.0);
10 | uv = vertex.zw;
11 | rgb = color.rgb;
12 | }
13 |
14 | #endif
15 |
16 | #ifdef _FRAGMENT_
17 |
18 | uniform sampler2D font;
19 |
20 | in vec2 uv;
21 | flat in vec3 rgb;
22 | layout(location = 0) out vec4 color;
23 |
24 | void main() {
25 | float v = texture(font, uv).r;
26 | color.rgb = (1.0 - v) * rgb * 0.25 + v * rgb;
27 | color.a = 0.6 + 0.4 * v;
28 | }
29 |
30 | #endif
31 |
--------------------------------------------------------------------------------
/terrain/examples/common/text.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/terrain/examples/exercise1/atmosphereShader.glhl:
--------------------------------------------------------------------------------
1 | /*
2 | * Proland: a procedural landscape rendering library.
3 | * Copyright (c) 2008-2011 INRIA
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program. If not, see
.
17 | */
18 |
19 | /*
20 | * Proland is distributed under a dual-license scheme.
21 | * You can obtain a specific license from Inria: proland-licensing@inria.fr.
22 | */
23 |
24 | /*
25 | * Authors: Eric Bruneton, Antoine Begault, Guillaume Piolat.
26 | */
27 |
28 | #define SUN_INTENSITY 100.0
29 |
30 | #define PLANET_RADIUS 6360000.0
31 |
32 | vec3 sunRadiance(float r, float muS);
33 |
34 | vec3 skyIrradiance(float r, float muS);
35 |
36 | vec3 skyRadiance(vec3 camera, vec3 viewdir, vec3 sundir, out vec3 extinction, float shaftWidth);
37 |
38 | vec3 inScattering(vec3 camera, vec3 point, vec3 sundir, out vec3 extinction, float shaftWidth);
39 |
--------------------------------------------------------------------------------
/terrain/examples/exercise1/exercise1.bat:
--------------------------------------------------------------------------------
1 | PATH=..\..\..\bin;%PATH%
2 | exercise1.exe
3 |
--------------------------------------------------------------------------------
/terrain/examples/exercise1/helloworld.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/terrain/examples/exercise1/square.mesh:
--------------------------------------------------------------------------------
1 | -1 1 -1 1 0 0
2 | trianglestrip
3 | 1
4 | 0 3 float false
5 | 4
6 | -1 -1 0
7 | +1 -1 0
8 | -1 +1 0
9 | +1 +1 0
10 | 0
11 |
--------------------------------------------------------------------------------
/terrain/examples/exercise1/sunglare.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/examples/exercise1/sunglare.png
--------------------------------------------------------------------------------
/terrain/examples/exercise1/text.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/examples/exercise1/text.png
--------------------------------------------------------------------------------
/terrain/examples/exercise2/basictree.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/examples/exercise2/basictree.png
--------------------------------------------------------------------------------
/terrain/examples/exercise2/drawPlantsMethod.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/terrain/examples/exercise2/drawPlantsShadowMethod.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/terrain/examples/exercise2/exercise2.bat:
--------------------------------------------------------------------------------
1 | PATH=..\..\..\bin;%PATH%
2 | exercise2.exe
3 |
--------------------------------------------------------------------------------
/terrain/examples/exercise2/helloworld.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/terrain/examples/exercise2/text.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/examples/exercise2/text.png
--------------------------------------------------------------------------------
/terrain/examples/exercise3/box.mesh:
--------------------------------------------------------------------------------
1 | 0 1 0 1 0 1
2 | lines
3 | 1
4 | 0 3 float false
5 | 24
6 | 0 0 0
7 | 1 0 0
8 | 1 0 0
9 | 1 1 0
10 | 1 1 0
11 | 0 1 0
12 | 0 1 0
13 | 0 0 0
14 | 0 0 1
15 | 1 0 1
16 | 1 0 1
17 | 1 1 1
18 | 1 1 1
19 | 0 1 1
20 | 0 1 1
21 | 0 0 1
22 | 0 0 0
23 | 0 0 1
24 | 1 0 0
25 | 1 0 1
26 | 1 1 0
27 | 1 1 1
28 | 0 1 0
29 | 0 1 1
30 | 0
31 |
--------------------------------------------------------------------------------
/terrain/examples/exercise3/exercise3.bat:
--------------------------------------------------------------------------------
1 | PATH=..\..\..\bin;%PATH%
2 | exercise3.exe
3 |
--------------------------------------------------------------------------------
/terrain/examples/exercise3/helloworld.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/terrain/examples/exercise3/text.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/examples/exercise3/text.png
--------------------------------------------------------------------------------
/terrain/examples/exercise4/exercise4.bat:
--------------------------------------------------------------------------------
1 | PATH=..\..\..\bin;%PATH%
2 | exercise4.exe
3 |
--------------------------------------------------------------------------------
/terrain/examples/exercise4/helloworld.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/terrain/examples/exercise4/text.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/examples/exercise4/text.png
--------------------------------------------------------------------------------
/terrain/examples/exercise5/exercise5.bat:
--------------------------------------------------------------------------------
1 | PATH=..\..\..\bin;%PATH%
2 | exercise5.exe
3 |
--------------------------------------------------------------------------------
/terrain/examples/exercise5/helloworld.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/terrain/examples/exercise5/text.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/examples/exercise5/text.png
--------------------------------------------------------------------------------
/terrain/examples/preprocess/bluemarble.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/examples/preprocess/bluemarble.png
--------------------------------------------------------------------------------
/terrain/examples/preprocess/srtm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/examples/preprocess/srtm.png
--------------------------------------------------------------------------------
/terrain/examples/preprocess/text.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/examples/preprocess/text.png
--------------------------------------------------------------------------------
/terrain/examples/preprocess2/Moon_1024.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/examples/preprocess2/Moon_1024.png
--------------------------------------------------------------------------------
/terrain/examples/preprocess2/text.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/examples/preprocess2/text.png
--------------------------------------------------------------------------------
/terrain/examples/terrain3/text.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/examples/terrain3/text.png
--------------------------------------------------------------------------------
/terrain/examples/terrain4/DEM.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/examples/terrain4/DEM.dat
--------------------------------------------------------------------------------
/terrain/examples/terrain4/text.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/examples/terrain4/text.png
--------------------------------------------------------------------------------
/terrain/examples/terrain5/globalsShader.glsl:
--------------------------------------------------------------------------------
1 | /*
2 | * Proland: a procedural landscape rendering library.
3 | * Copyright (c) 2008-2011 INRIA
4 | *
5 | * This program is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * This program is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with this program. If not, see
.
17 | */
18 |
19 | /*
20 | * Proland is distributed under a dual-license scheme.
21 | * You can obtain a specific license from Inria: proland-licensing@inria.fr.
22 | */
23 |
24 | /*
25 | * Authors: Eric Bruneton, Antoine Begault, Guillaume Piolat.
26 | */
27 |
28 | uniform globals {
29 | vec3 worldSunDir;
30 | };
31 |
32 | vec3 getWorldSunDir() {
33 | return worldSunDir;
34 | }
35 |
--------------------------------------------------------------------------------
/terrain/examples/terrain5/text.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/examples/terrain5/text.png
--------------------------------------------------------------------------------
/terrain/sources/proland/preprocess/terrain/Preprocess.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/terrain/sources/proland/preprocess/terrain/Preprocess.h
--------------------------------------------------------------------------------
/terrain/sources/proland/proland-terrain.pc.in:
--------------------------------------------------------------------------------
1 | prefix=@CMAKE_INSTALL_PREFIX@
2 | libdir=${prefix}/@LIB_INSTALL_DIR@
3 | includedir=${prefix}/include
4 |
5 | Name: proland terrain
6 | Description: OpenGL Rendering Kernel
7 | Version: @PROLAND_VERSION@
8 | Requires:
9 | Libs: -L${libdir} -lproland-terrain
10 | Cflags: -I${includedir} @ORK_CFLAGS@
11 |
--------------------------------------------------------------------------------
/web/Atmo_test.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/web/Atmo_test.png
--------------------------------------------------------------------------------
/web/Blue_marble_test.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/web/Blue_marble_test.png
--------------------------------------------------------------------------------
/web/Ocean_and_atmo2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/web/Ocean_and_atmo2.png
--------------------------------------------------------------------------------
/web/Pico_do_fogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/web/Pico_do_fogo.png
--------------------------------------------------------------------------------
/web/Procedural_landscape_test.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/web/Procedural_landscape_test.png
--------------------------------------------------------------------------------
/web/blue_marble.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/web/blue_marble.png
--------------------------------------------------------------------------------
/web/first_procedural_planet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/web/first_procedural_planet.png
--------------------------------------------------------------------------------
/web/italy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/web/italy.png
--------------------------------------------------------------------------------
/web/ocean_and_atmo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LarsFlaeten/Proland_dev/aea5557efa556bf3efc9d2185fa85b3508e20b1d/web/ocean_and_atmo.png
--------------------------------------------------------------------------------