Commit Graph

118 Commits

Author SHA1 Message Date
Emil Axelsson 4c2f72226f Performance Optimizations (#450)
* Make derived transform classes less involved in simulation state
* Add performance measurements in openspaceengine
* Avoid redundant transformation lookups
* Fix bug causing redundant calls to GPULayerManager::bind
* Move water reflectance to alpha component of normal buffer. Remove otherData buffer.
2018-01-08 09:43:41 +01:00
Alexander Bock ebf99b3d0d Small changes in Imageplane color and AssetLoader 2018-01-01 09:52:44 -05:00
Alexander Bock dcfef3557f Update copyright header 2017-12-29 20:11:22 +01:00
Alexander Bock db668b5342 Some changes to PR #432 2017-12-18 16:25:02 -05:00
Jonathas Costa d116d1c28e Added g-buffer for DU renderables and for grid renderables. 2017-10-30 11:56:59 -04:00
Alexander Bock 50fd9309ba Merge branch 'master' into feature/NewAtmosphere
# Conflicts:
#	src/rendering/renderengine.cpp
2017-10-24 15:30:22 -04:00
Alexander Bock 1c2622248c Remove unused shaders 2017-10-24 03:35:41 -07:00
Jonathas Costa d36e32e560 Merged master into NewAtmosphere. 2017-10-17 20:14:41 -04:00
Alexander Bock aa969795cc Factor ScreenSpaceImage into separate classes for local loading and online download (closes #296) 2017-10-10 14:16:55 -04:00
Jonathas Costa 2d0da72a50 Merged master into atm. 2017-08-16 12:00:28 -04:00
Alexander Bock cedd8adf0d Remove const qualifier from shaders as it causes shaders to not compile on Mac 2017-08-03 12:05:58 -04:00
Alexander Bock dfce5a0aad Fix the missing wms files for Earth, Mars, Moon, and Mercury
Fix the spherical grid
2017-07-28 01:38:32 -04:00
Alexander Bock 19f8e30813 Change RenderableModel "Rotation.ModelTransform" to "ModelTransform"
Add Property descriptions to the documentation file
Remove update method from StaticTranslation
Remove spelling error in RenderableGlobe
Remove rotation from renderablemodel projection
Fix setting the Origin through the GUI
Reorder Optional and documentation arguments for DocumentationEntry, and making Optional a non-optional argument
2017-07-27 00:22:17 -04:00
Jonathas Costa 20003d5b32 Merged master into NewAtmosphere. 2017-07-21 15:02:24 -04:00
Alexander Bock e661324002 Remove style guide errors
Add missing newline errors
2017-07-21 11:52:25 -04:00
Alexander Bock 77b15724b5 More shader cleanup
Remove dedicated logs folder
Change openspaceengine to create logs folder automatically
2017-07-19 15:44:30 -04:00
Alexander Bock 88265a469d Cleanup of shader code 2017-07-19 01:27:01 -04:00
Alexander Bock e7b08e1e25 Cleanup copyright information in shaders 2017-07-18 16:24:57 -04:00
Alexander Bock 35636890da Various fixes for the New Horizons scene
- Fix transparency issue making the New Horizons module invisible
  - Fix the offsets of the instruments on board New Horizons
  - Fix the missing projections occurred by switching the radius specifications from PSC to regular coordinates
  - Update the accurate kernel usage
2017-07-14 18:53:40 -04:00
Jonathas Costa ff48f24c96 Adding satellites with ATM. 2017-07-11 17:46:15 -04:00
Jonathas Costa 5685b2183d Changed G-Buffer. 2017-06-02 12:29:09 -04:00
Jonathas Costa 6f987cbba2 Enabled G-Buffer for Trails. 2017-05-29 00:36:52 -04:00
Jonathas Costa c1799560ba Enabled G-Buffer for Milkway. 2017-05-29 00:36:00 -04:00
Jonathas Costa 8d6fcf6635 Merged master into NewAtmopshere branch. 2017-05-01 11:33:54 -04:00
Alexander Bock 78c109012a Fix shader compiler error with screenspace renderable 2017-04-17 18:36:29 -04:00
Jonathas Costa 9001eb0f96 Merged develop branch into NewAtmosphere branch. 2017-03-30 15:59:20 -04:00
Alexander Bock 6199289e91 Code cleanup 2017-02-27 23:03:07 -05:00
Jonathas Costa 3c4bf23317 Merged develop into NewAtmosphere branch. 2017-02-27 15:02:02 -05:00
Alexander Bock 94e3e11188 Update copyright header to 2017
Update Ghoul repository
Remove libgdal link
2017-02-06 18:02:01 -05:00
Jonathas Costa b179c707e7 Merged develop into NewAtmosphere temporary code. 2017-01-31 14:28:51 -05:00
Alexander Bock dbb599a5fa Separate base module into base and space 2016-12-13 14:43:44 +01:00
Alexander Bock 777e6c628f Change tabs to spaces 2016-12-03 01:21:54 +01:00
Alexander Bock 683fc8ee53 Pr/trails (#170)
* Implement new RenderableTrails as abstract base class
  - Implement RenderableTrailsOrbit and RenderableTrailsTrajectory as concrete instances
Remove old RenderableTrails and RenderableTrailsNew classes
Adapt mod files to the new structure

* Addressed Pull Request comments
2016-11-23 10:35:46 +01:00
Jonathas Costa 0bd4e0d160 Fixed rederable_fs.glsl changed after broken merging. 2016-11-11 14:49:23 -05:00
Jonathas Costa cf66bc873b Merged develop in NewAtmosphere. 2016-11-11 14:46:14 -05:00
Jonathas Costa 3932826a1a Removed unused atmosphere shaders from base module. 2016-11-11 11:10:44 -05:00
Jonathas Costa c7417446e8 Fixed bug in shaders. Improved code, and comments. 2016-11-01 09:00:43 -04:00
Alexander Bock 64cb9bce0d RenderableRings's VBO only needs to contain two values for size 2016-10-29 17:45:18 +02:00
Alexander Bock 96e27913ca Add documentation to RenderableRings
Change Size to be specified in meters instead of powerscaled scalars
2016-10-29 15:24:39 +02:00
Alexander Bock 8b684905e9 Make shadows on Saturn rings work again 2016-10-29 13:40:47 +02:00
Emil Axelsson f8bab90d64 Merge branch 'develop' of github.com:OpenSpace/OpenSpace into develop 2016-10-28 10:27:35 +02:00
Emil Axelsson cb3ff96e1a Pass window size as uniform instead of shader program constant. Fixes #143 2016-10-28 10:26:23 +02:00
Alexander Bock 708856dbf4 Fix double precision rendering for RenderablePlanet 2016-10-28 00:21:04 +02:00
Jonathas Costa 65f72c4cb7 Added Sun Intensity as a user parameter in atmosphere. 2016-10-18 11:12:41 -04:00
Jonathas Costa 07af628eda Added pre-computation as a debuggin tool in GUI. 2016-10-17 17:17:30 -04:00
Jonathas Costa e355d1ceba Merged develop into NewAtmosphere. 2016-10-07 11:39:07 -04:00
Alexander Bock ae6ade497b Merge branch 'feature/render-bins' into feature/rosetta
Conflicts:
	data/scene/earth/earth.mod
	include/openspace/util/updatestructures.h
	modules/base/shaders/ephemeris_fs.glsl
	modules/base/shaders/plane_fs.glsl
2016-08-29 15:53:59 +02:00
Emil Axelsson b6be6da974 add support for additive blending in renderable plane 2016-08-25 20:44:00 +02:00
Emil Axelsson d0ec7ac735 render trails with additive blending 2016-08-25 16:32:27 +02:00
Kalle Bladin 5551da922d Update renderables to higher precision rendering by calculating M and V matrix in double precision. 2016-08-24 16:16:31 -04:00