Commit Graph

2846 Commits

Author SHA1 Message Date
Sovanny Huy e2dbbe6ccd swapped sun to renderablesphere 2019-05-23 15:34:10 -04:00
Sovanny Huy c9ea4c25f2 Merge remote-tracking branch 'origin/master' into thesis/2019/spaceweather-stream 2019-05-20 12:02:56 -04:00
Sovanny Huy 71f8d84149 download with thread 2019-05-20 11:51:27 -04: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
Sovanny Huy 7d00788241 Merge branch 'master' into thesis/2019/spaceweather-stream 2019-05-16 15:20:42 -04:00
Sovanny Huy ce14ffce2b change texture based on time 2019-05-16 15:10:24 -04: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
Sovanny Huy a165f9ea77 some renderloop testing 2019-05-15 14:55:11 -04:00
Sovanny Huy 5f2d9e9d00 tried using 3d textures
to store different timesteps. but couldn't figure out how to sample the 3rd dimension
2019-05-14 22:01:46 -04: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
Sovanny Huy 41582d06b1 don't need fieldlines right now 2019-05-13 16:58:32 -04:00
Sovanny Huy bf7575856b some fbo testing 2019-05-13 16:54:10 -04: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
Jonathas Costa 9325e7fac3 Fixed unforms problems when eclipses are activated. (#797)
* Fixed unforms problems when eclipses are activated.
2019-03-24 13:21:07 +01:00
Emil Axelsson 55979fa2c8 Feature/statistics (#810)
* Add statistics options for dashboarditemframerate
2019-03-24 13:09:31 +01:00
Alexander Bock bb3db7ada7 Feature/jenkins fix (#816)
* Cleanup
* CMake cleanups
* Update current year
* Update copyright header
* Use script to return list of all modules
* Update credits, license and ghoul
2019-03-24 11:19:39 +01:00
Gene Payne 63c1ac89fb Changes to touch module to allow it to build with or without webbrowser module enabled (#808) 2019-03-07 11:15:45 +01:00
Emil Axelsson b5eb41e27f Guard against potential nullpointer dereferencing 2019-02-22 17:58:08 +01:00
Gene Payne c44290fe1f Feature/touch web gui support (#798)
* Added touch support for web GUI

* Code cleanup after master merge, no functionality changes

* Fixed alignment of function arguments
2019-02-21 07:35:47 -07:00
Emil Axelsson 738a5900d4 Patch imgui to work with new anchor and aim structure 2019-02-20 10:26:09 +01:00
Emil Axelsson 2e71eaa4cb Feature/anchor and aim (#799)
Introduce the ability to navigate using an anchor and aim.
Example use: Set spacecraft as anchor and planet as aim to always look down at a planet, while followin the spacecraft in its orbit.
2019-02-19 18:46:58 +01:00
Emil Axelsson 075625c223 Prevent file handles to leak into nodejs server application 2019-02-13 17:08:29 +01:00
Emil Axelsson f60371bdbc Pass on modifier keys to CEF for mouse events (#790)
* Update sgct
* Pass on modifier keys to CEF for mouse events
2019-02-04 15:14:51 +01:00
Emil Axelsson 59b1f2b741 GaiaStars: Fix bug with setting shader option from dictionary 2019-01-31 13:33:19 +01:00
Alexander Bock 99a43747e1 Update cfitsio to fix Jenkins 2019-01-24 16:02:58 +01:00
Alexander Bock 7fefaca345 Feature/jenkins (#788)
* Update Jenkinsfile
* Fix compilation for OSX
* Update SGCT to fix Jenkins compile issue on Ubuntu
* Make OSX Jenkins build not quiet
* Only build OpenSpace target on Mac
2019-01-23 10:17:15 -05:00