Commit graph

45 commits

Author SHA1 Message Date
Michaël Lemaire 8cc8a1d068 Removing Qt dependency in core (WIP) 2020-03-25 22:51:26 +01:00
Michaël Lemaire be8a5f9764 Regrouped basics/system/definition/software into core 2020-03-24 23:03:54 +01:00
Michaël Lemaire 10bbf8078b Code format 2016-07-23 22:58:32 +02:00
Michaël Lemaire aa82a332d9 Fixed cloud models render tests 2016-02-02 16:11:47 +01:00
Michaël Lemaire cf853f2019 Added render test for canvas aliasing 2016-02-02 16:11:38 +01:00
Michaël Lemaire a54c8d5217 Improved clouds lighting 2016-02-01 20:38:29 +01:00
Michaël Lemaire 094dfbf783 Added render test for clouds lighting
This will allow to validate future changes
2016-01-26 02:26:43 +01:00
Michaël Lemaire 9b3251ee54 Small change to render test 2016-01-18 23:43:20 +01:00
Michaël Lemaire f4bc02c5ca Fixed sun and moon radius being inconsistent 2016-01-15 18:01:01 +01:00
Michaël Lemaire 6b6710f15c Centralized scenery constants (earth radius...) 2016-01-15 00:39:33 +01:00
Michaël Lemaire 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
Michaël Lemaire 14143ee278 Updated TerrainDefinition to use FractalNoise 2016-01-14 20:24:01 +01:00
Michaël Lemaire 897f20b1ea Changed textures displacement to use FractalNoise 2016-01-06 01:46:25 +01:00
Michaël Lemaire 252d7e7b87 Added test for noise compositing 2016-01-06 00:47:45 +01:00
Michaël Lemaire 02a026116d Fixed noise scaling in opengl 2016-01-04 20:26:40 +01:00
Michaël Lemaire 4347d7f454 Removed unused definition members 2015-12-31 01:29:59 +01:00
Michaël Lemaire 61a43410db Refactored CelestialBodyDefinition, with new sun/moon widget 2015-12-30 00:20:20 +01:00
Michaël Lemaire 351a58f69b Fixed render tests for near frustum tessellation 2015-12-18 00:41:22 +01:00
Michaël Lemaire f2d38f7165 Fixed atmosphere model producing artifacts below ground surface 2015-12-17 19:51:40 +01:00
Michaël Lemaire 0ab1719d25 Added better render tests for atmosphere artifacts 2015-12-17 19:29:04 +01:00
Michaël Lemaire e9fcd6b2a5 Fixed int/double old-style casts 2015-12-17 01:13:20 +01:00
Michaël Lemaire 26cba26847 Do not rasterize vegetation when there is no layer 2015-12-14 22:20:28 +01:00
Michaël Lemaire 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
Michaël Lemaire 7d4989b670 using namespace std 2015-12-11 00:36:50 +01:00
Michaël Lemaire c5950f810f Merge branch 'master' into vegetation
Conflicts:
	src/definition/Scenery.cpp
	src/interface/commandline/tests.cpp
2015-12-10 19:48:42 +01:00
Michaël Lemaire 2d6c0f34c3 Using c++ random generators instead of cstdlib one 2015-12-10 19:40:39 +01:00
Michaël Lemaire d2efb599d9 Made the vegetation impostors face the camera 2015-11-29 19:18:36 +01:00
Michaël Lemaire 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
Michaël Lemaire 8cf2881a73 Merge branch 'master' into vegetation 2015-11-20 01:10:06 +01:00
Michaël Lemaire 2b65f1d26a Refactored layers system to work better as DefinitionNode
It now features undo/redo of layer creation and removal
2015-11-20 01:07:31 +01:00
Michaël Lemaire 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
Michaël Lemaire 88d2a78b70 Enforced coding style using clang-format 2015-11-09 22:30:46 +01:00
Michaël Lemaire 72877c4361 Tweaked vegetation rendering, and improved render tests 2015-11-09 01:07:33 +01:00
Michaël Lemaire 2560fe2c53 Fixed holes in vegetation rendering 2015-11-02 23:00:02 +01:00
Michaël Lemaire 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
Michaël Lemaire cd144b886c Added TimeManager with basic wind control for videos 2015-10-15 17:52:03 +02:00
Michaël Lemaire c62cf3a0a4 Improved "near_frustum" render test 2015-10-09 00:55:36 +02:00
Michaël Lemaire 2be80bf8e2 Fixed aerial perspective being applied at wrong location in clouds
It was applied at the enter point of the walking algorithm, which
was the camera when it was inside a cloud layer.

Now it is applied at the first found segment, which is still not
optimal but better.

The bruneton model was also fixed to not produce black results for
aerial perspective exactly at the camera location.
2015-10-09 00:43:32 +02:00
Michaël Lemaire 3fc8b1c98f Added automatic tessellation near camera frustum culling
This allows the camera nearer the ground
and fixes holes in lower quality renders
2015-10-08 19:20:44 +02:00
Michaël Lemaire 98e3128c31 Added /atmosphere/godrays/ definition node 2015-09-30 01:08:15 +02:00
Michaël Lemaire b045b731ad Added god rays manager (initial implementation) 2015-09-29 22:31:25 +02:00
Michaël Lemaire cd7eb2f669 Refactored clouds rendering quality factor 2015-09-13 18:58:11 +02:00
Michaël Lemaire 8d33a11dc5 Added rasterization quality control 2015-09-10 19:33:52 +02:00
Michaël Lemaire 6a45c5dba7 Refactored quality control of terrain rendering
Terrain scaling factor was removed for quality consistency
2015-09-10 18:16:57 +02:00
Michaël Lemaire 4fcf1d071c Added render tests from command line 2015-09-10 00:40:47 +02:00