Commit graph

95 commits

Author SHA1 Message Date
fb16682876 WIP 2016-07-25 18:27:48 +02:00
10bbf8078b Code format 2016-07-23 22:58:32 +02:00
e884d7a216 Use pragma once instead of include guards 2016-07-13 12:06:33 +02:00
a54c8d5217 Improved clouds lighting 2016-02-01 20:38:29 +01:00
094dfbf783 Added render test for clouds lighting
This will allow to validate future changes
2016-01-26 02:26:43 +01:00
32c83c1b36 Optimized NoiseFunctionSimplex by inlining
This causes duplicated code, but it should be removed when
NoiseGenerator is not used anymore
2016-01-22 01:27:14 +01:00
df28a84671 Added basic moon texture 2016-01-16 17:02:39 +01:00
95b24857e9 Some refactoring to prepare for work on moon rendering
Also added render test to check it
2016-01-15 00:07:02 +01:00
14143ee278 Updated TerrainDefinition to use FractalNoise 2016-01-14 20:24:01 +01:00
bf42b2bab8 Smoothed water LOD in OpenGL 2016-01-12 19:36:25 +01:00
c0a4e93c52 Some tweaks to improve clouds aspect 2016-01-10 17:14:54 +01:00
3b27d3be3e Refactored textures renderer 2016-01-10 14:27:32 +01:00
6cf607a557 Moved triplanar noise to FractalNoise 2016-01-07 00:39:08 +01:00
eeeaa70e8b Fixed emphasis in docstrings 2016-01-06 19:55:49 +01:00
897f20b1ea Changed textures displacement to use FractalNoise 2016-01-06 01:46:25 +01:00
252d7e7b87 Added test for noise compositing 2016-01-06 00:47:45 +01:00
02a026116d Fixed noise scaling in opengl 2016-01-04 20:26:40 +01:00
c81d86d187 Changed texture detail noise to be a FractalNoise 2016-01-04 01:13:14 +01:00
959f0ddf8f Updated NoiseNode to use FractalNoise instead of NoiseGenerator
Also fixed the range returned by NoiseFunctionSimplex (when
used by FractalNoise), and added a test to validate it.
2016-01-03 20:22:06 +01:00
0e6dca30fc Normalized docstrings 2016-01-03 19:21:23 +01:00
4347d7f454 Removed unused definition members 2015-12-31 01:29:59 +01:00
dbcaf5fe90 Refectored PI constants definitions + added Maths::modInRange 2015-12-31 00:36:22 +01:00
c1d6a3261c Removed global string include in system_global.h 2015-12-30 00:43:35 +01:00
391f1a7f41 Added FractalNoise value to OpenGLVariable 2015-12-24 01:21:12 +01:00
77ba82408d Coding style 2015-12-24 00:16:50 +01:00
d88cb29f4c Refactored OpenGLVariable with pimpl and smart pointers 2015-12-23 23:40:19 +01:00
e9fcd6b2a5 Fixed int/double old-style casts 2015-12-17 01:13:20 +01:00
b376d7f8e9 Added ColorNode 2015-12-16 01:32:25 +01:00
62a7f746ea Fixed NoiseGenerator.forceValue 2015-12-16 00:36:30 +01:00
c5d73f96a2 Small source code improvements 2015-12-16 00:31:07 +01:00
4a710c0977 Merge branch 'master' into vegetation
Conflicts:
	src/interface/commandline/tests.cpp
	src/render/opengl/OpenGLPart.h
	src/render/opengl/OpenGLRenderer.cpp
	src/render/opengl/OpenGLRenderer.h
	src/render/opengl/OpenGLShaderProgram.h
	src/render/opengl/OpenGLSharedState.h
	src/render/software/SoftwareCanvasRenderer.h
2015-12-13 17:16:26 +01:00
7d4989b670 using namespace std 2015-12-11 00:36:50 +01:00
479dcb03ac Added opengl resources deleting at exit (textures, arrays...) 2015-12-10 23:41:42 +01:00
c5950f810f Merge branch 'master' into vegetation
Conflicts:
	src/definition/Scenery.cpp
	src/interface/commandline/tests.cpp
2015-12-10 19:48:42 +01:00
2d6c0f34c3 Using c++ random generators instead of cstdlib one 2015-12-10 19:40:39 +01:00
230fd6644e Merge branch 'master' into vegetation
Conflicts:
	src/basics/Color.inline.cpp
2015-12-09 00:40:47 +01:00
1f656a6f86 Added missing export flag on classes 2015-12-09 00:34:08 +01:00
c12cd91f9b Removed header inlining of Vector3 and Color methods
This made cross-platform compiling and profiling more complicated
2015-12-09 00:32:29 +01:00
9d7a7a0ff7 Added vegetation impostors to OpenGL renderer
This is currently an unoptimized and broken version, to be improved
2015-11-25 23:15:58 +01:00
dd7baf6db5 Merge branch 'master' into vegetation 2015-11-18 19:41:54 +01:00
6166031c8b Speeded up compile time
Reworked *_global.h heavy inclusions
2015-11-18 19:37:00 +01:00
394ff3b0ae Format 2015-11-18 17:22:33 +01:00
e2d03642f4 Added some vegetation rendering optimizations 2015-11-10 01:12:14 +01:00
159e0f7e81 Optimized vegetation branches rendering 2015-11-10 00:15:30 +01:00
9a096ec329 Merge branch 'master' into vegetation
Conflicts:
	src/basics/Disk.cpp
	src/basics/Disk.h
	src/basics/SpaceSegment.cpp
	src/definition/DefinitionNode.cpp
	src/definition/DefinitionNode.h
	src/definition/Scenery.cpp
	src/definition/Scenery.h
	src/definition/SurfaceMaterial.cpp
	src/definition/SurfaceMaterial.h
	src/definition/TextureLayerDefinition.cpp
	src/definition/definition_global.h
	src/interface/commandline/tests.cpp
	src/render/opengl/OpenGLRenderer.cpp
	src/render/software/SoftwareCanvasRenderer.cpp
	src/render/software/SoftwareCanvasRenderer.h
	src/render/software/SoftwareRenderer.h
	src/render/software/TerrainRasterizer.cpp
	src/render/software/TerrainRasterizer.h
	src/render/software/TerrainRenderer.h
	src/render/software/software_global.h
2015-11-09 22:38:00 +01:00
88d2a78b70 Enforced coding style using clang-format 2015-11-09 22:30:46 +01:00
68945111d1 Improved vegetation rendering
- Added early check on terrain height range during iteration
- Added test render of vegetation model
- Tweaked basic tree model
2015-11-02 20:14:35 +01:00
ca7bd84308 Simplified project files + lazy init of data files 2015-10-19 01:39:22 +02:00
75e32beea7 Added NoiseNode 2015-10-19 00:26:25 +02:00
2b3ecc7e35 Added geometry primitives 2015-10-15 20:21:32 +02:00