Commit Graph

2859 Commits

Author SHA1 Message Date
eriksunden 3688f3e718 Work on Milky Way Galaxy volume rendering. Loading and raycasting works. Tonemapping and stars next. 2019-06-25 16:31:14 +02:00
Emil Axelsson a75bb5a5ae Fix atmosphere stereo problem 2019-06-19 18:31:07 +02:00
Alexander Bock d0c04cfc6b Various code cleanup 2019-06-18 10:47:15 +02:00
Alexander Bock 8f6520ea8f Feature/offline rendering (#906)
* Added functionality of saving out screenshots (with fixed FPS) from a recorded session during playback.
 * Test of feature to request if all data is ready to be rendered, primary used in GlobeBrowsing. Need to go over how chunkTiles are set to OK (some are never OK..).
 * Estimated having working request of checking if chunks with correct level have their color and height data loaded and ready to be rendered. Will re-enable frames saving and try making a movie.
 * Created adaptive LOD factor based on available/unavailable tile data (such that we don't run a lot of iterations with asking for a pile of data that does not fit in the tile cache).
 * Made it able to specify tile cache size in configurastion file. Renamed other Cache value to WMSCache, as we have the TileCache as well.
 * Fix for when focus node has nor renderable, when checking for if dersired data has been loaded. Should probably check all renderable/planets anyway, not just a focus object.
2019-06-18 10:15:35 +02:00
Alexander Bock 07c91df7a7 Actual fix for interactively changing the GDAL RAM cache 2019-06-12 13:53:05 +02:00
Alexander Bock 4b405fc5a7 Fix issue with uin32-limited tilecache size in bytes restricting larger caches (which caused the flickering and bad performance on the Moon surface) 2019-06-10 10:52:27 +02:00
Alexander Bock e5acc6c69a - Make current frame number available in the RenderEngine
- Add more information to the Dt-extremes case in the DashboardItem
 - Rename rawTiles to clearTiles in the asynctiledataprovider
2019-06-05 18:16:50 +02:00
Jonathas Costa 4b27cf7ac5 Fixed invalid OpenGL state. 2019-06-04 12:12:05 -04:00
Emil Axelsson 804361ce22 Replace localhost with 127.0.0.1 to solve GUI related DNS error when not connected to a network 2019-06-04 13:25:57 +02:00
Micah Acinapura 1149a61dce resurrecting consolidated documentation (#897)
* Resurrecting consolidated documentation, lots to improve still but better then before
2019-06-03 06:19:45 -06:00
Alexander Bock 0c36a999d2 Fix for globebrowsing widget in ImGUI 2019-05-27 13:46:12 +02:00
Alexander Bock 515e6e7105 More Globelabels cleanup 2019-05-24 07:29:28 +02:00
Alexander Bock 80df09df22 Beginning of Globelabelscomponent cleanup 2019-05-23 03:11:09 -06:00
Alexander Bock 9f6733ed72 Misc cleanup in session recording 2019-05-23 03:03:04 -06:00
Alexander Bock 92cb443205 Read DefaultAccess parameter from the configuration file correctly 2019-05-22 22:28:30 -06:00
GPayne 8ffb0da9e0 Pull merge before committing nullptr access guard in globebrowsing 2019-05-20 20:25:20 -06:00
GPayne 7d301114af Add check to prevent nullptr access in renderable globe update 2019-05-20 20:24:46 -06:00
Micah Acinapura 54d24605cf Feature/safe apollo (#879)
* Apollo missions with renderablemodel and spice rotation updates
* Added user control for face culling.
* Added gui property for disabling face culling.
* Changed rotation vector property to handle degrees instead of radians
* Separated apollo globebrowsing
2019-05-20 20:10:23 -06:00
Alexander Bock 62728e84d0 Remove binary property. Make volume modules part of default build (#878) 2019-05-20 18:03:36 -06:00
Alexander Bock cc69ef5cdd Small cleanup fixes 2019-05-20 18:01:24 -06:00
Micah Acinapura 16cc0402d8 Feature/insight mission (#877)
* Added insight scene/asset and new HiRISE layer
* Removed AWS layers from Mars and Mercury
2019-05-20 17:32:19 -06:00
Emil Axelsson c08805745b Feature/check latest version (#876)
* Log latest version information
2019-05-20 16:13:56 -06:00
Micah Acinapura 8ae5016556 dont add labelproperty for globes with no labels; 2019-05-19 10:38:27 -04:00
Emil Axelsson 4783f8fc0a Cleanup 2019-05-19 02:33:14 +02:00
Emil Axelsson 4ec1f9ba1f Fix compilation with unix makefiles on mac. (#875) 2019-05-19 02:16:44 +02:00
Alexander Bock 0bb6b9d0e5 Cleanup 2019-05-18 17:31:06 -06:00
Alexander Bock e03bf6fc2e Correctly reset uniform values when changing labels (closes #812) 2019-05-18 17:09:49 -06:00
Emil Axelsson d0e9170658 Feature/cef cmake (#873)
* Expose `CMAKE_BUILD_TYPE` to cmake gui (for single configuration generators)
* Use generator expressions to get debug vs release mode
* Fix mac app icon
2019-05-18 22:50:00 +02:00
Jonathas Costa 916cc1d76d Issue/871 (#874)
* Fixed wrong merging.
* Add flat qualifiers to both geometry and fragment shaders
2019-05-18 22:46:10 +02:00
Jonathas Costa 368292aba6 Fixed global fade-out. (#867) 2019-05-18 11:17:53 -06:00
Jonathas Costa ae5392dbeb Fixed depth sorting for Sun's glare. (#868)
* Fixed depth sorting for Sun's glare.
2019-05-18 11:12:05 -06:00
Micah Acinapura 0eabffe752 exposed renderable type to gui, fixed path for milkyway items (#866)
* exposed renderable type to gui, fixed path for miklyway items
* Changes to session recording topic
* Update webgui
2019-05-18 17:00:31 +02:00
Emil Axelsson d6c5c98e6d Feature/time topic changes (#863)
* Time topic updates
* Update web gui and patch jsonconverters
2019-05-17 21:55:00 +02:00
Alexander Bock 512e35bea6 Feature/globe speedup (#862)
* Updated GDAL version to 2.4.1
 * Add vtune performance commands
 * Add Nvtools performance commands
 * Add warning if GDAL dataset could not be loaded
2019-05-17 18:24:14 +02:00
Alexander Bock 514d6e6a78 Some minor cleanups in the session recording 2019-05-17 10:18:33 -06:00
Gene Payne 32ebea9e06 Latest changes to session recording with support for new webGUI record/playback controls (#840)
* Added separate directory for session recording files
* Changed recording & playback paths to use RECORDINGS dir and prevent absolute or relative paths in filename.
* Updated .gitignore so that recordings directory is ignored.
* Added session recording topic for synchronization of rec/play state with web gui.
* Added support to sessionRecording for providing a list of available playback files to web GUI.
* Fixed problem with playback filenames in list
* Fixed problem with occasional large jump in camera pos/rotation after playback finishes.
* Fixed the remaining post-playback problem that was causing a jump in position and rotation.
* Fix path issue on mac
* Fixed bug with bad scale values in recordings saved in ascii format.
2019-05-17 14:05:03 +02:00
Jonathas Costa c4781b01de Feature/new stars rendering (#784)
* Physically-based star rendering.
 * New Tully Pic Galaxies speck file w/o Milky Way
 * Removed PSC from stars rendering.
 * Avoiding extra calculations during shading.
 * Removed bug in billboard maximum size code.
 * New method to get the current viewport resolution. Used e.g. when rendering stereo side-by-side configuration.
 * Same as stereo stars.
 * Improved configuration.
 * Stars camera orientation.
 * Separated changes in billboards.
 * Adde min size control.
 * Setting minimum size.
 * Changed eye position. Changed data array nome inside shaders to a more accurate representation of the data.
 * Billboards reflecting actual stars sizes.
 * Scaling stars size based on luminosity, Abs Mag and size.
 * Rendering to a texture instead of fragment calculation for each star.
 * Added default parameters, new configurations and updated parameters.
 * Updated speck file handling to reflect a more general specification.
 * Added apparent magnitude from the speck files.
 * Set correct star values values for Apogee and Galah
 * Changed position from vec4 to vec3 to save GPU memory.
2019-05-17 01:16:17 +02:00
Alexander Bock f990aaf01c Copyright header cleanup 2019-05-16 16:56:56 -06:00
Jonathas Costa 2b183b721b Feature/new globe labels (#783)
Adding globe labels for planets

https://github.com/OpenSpace/OpenSpace/issues/213
2019-05-16 21:34:07 +02:00
Alexander Bock 4b800ac819 Various small fixes 2019-05-16 12:59:28 -06:00
Gene Payne 66379fe095 Fix for issue #800: Earth weather (temporal globebrowsing data) not caching. (#861) 2019-05-16 12:27:07 -06:00
Jonathas Costa 8bb70e328d Issue/425 (#860)
* Working on the fix for the depth sorting problem.
* Changed grids and billboards to additive blending.
2019-05-14 17:05:40 +02:00
Emil Axelsson 1536eb8f0d Disable context menu to fix #828 (#850) 2019-05-11 16:07:40 +02:00
Alexander Bock 595cbc4bcf Feature/cleanup (#837)
* Style guide fixes
* Various cleanups
* Update SGCT
2019-05-03 13:27:43 +02:00
Emil Axelsson 6a6db9aa78 Render GUI correctly on retina screens (#834) 2019-04-27 15:45:35 +02:00
Emil Axelsson 1d50a88fc0 Feature/upgrade cef (#833)
* Upgrade CEF only on Windows
* Disable sandbox on windows
2019-04-27 15:45:09 +02:00
Emil Axelsson 50ff2d96d2 Cleanup for Spheres and PSC (#827)
* Fade fixes
  * Clean up RenderableSphere. Add orientation properties.
  * Sane defaults for Digital Universe
  * Clean up New Horizons related code
  * Add basic scene
  * Add ability to initialize rotation as quaternion and mat3
  * Adapt legacy code to new Renderable interface
2019-04-24 13:34:49 +02:00
Emil Axelsson e78121febc Feature/screenspace renderables (#830)
* Add ability to position screen space renderables in 3D
  * Independent face camera setting
  * More intuitive local rotation
  * Cleanup
  * Introduce global and master rotation. Remove DisableSceneOnMaster. Revisit screenspace renderables.
2019-04-24 13:34:01 +02:00
Emil Axelsson 0dcf65ce4f Feature/cef speedup (#806)
* Improve cmake errors
  * Calling doMessageLoopWork more often to increase gui performance
  * Introduce frequent callbacks
  * Restructure browser update callbacks
  * Cleanup cef speedup
  * Add flag to toggle updating browser between renderable calls
  * CEF should not be used in single process mode
  * Update CEF version
  * Postbuild step for finding framework from web helper
  * Load libcef dynamically to fix issue with CEF update
  * Only include dynamic library loader on mac
  * Improve keyboard mapping support on MacOS
  * Add arrow keys
  * Rename manifest
  * Fix bug with missing blinking cursor in text fields
  * Bump minimum cmake version
  * CEF fixes: Runtime and correct helper path
  * Be true to actual sandbox compatibility specified by CEF
  * Cleanup
2019-04-24 10:53:46 +02:00
Emil Axelsson 53e07d90e1 Feature/documentation topic (#822)
- Implement documentation topic that can be used to query documentation using the network API.
- Implement a way to pass arguments to lua scripts using json (rather than formatting entire lua string clientside)
- Implement ability to attach callback to lua script executions
- Implement abillity to transport return values from lua scripts back to network API clients.
- Do not initialize server interface on slave nodes.
- Implement Dictionary -> json converter using nlohmann json library
2019-04-03 10:30:28 +02:00