Commit Graph

90 Commits

Author SHA1 Message Date
Emma Broman
8d5a56e6ef Use vec3 color representation for fixed color in RenderableStars 2020-07-16 09:57:37 +02:00
Emma Broman
66719c0881 Rename 'transparency' to 'colorFilter' in the ring classes
to avoid confusion with opacity name change. Also, the 'transparency'
used in the rings had a diffrent meaning than for the rest of the
rendered objects. It affects the filtering of the color values.
2020-07-10 11:25:18 +02:00
Alexander Bock
5e29145395 Coding style cleanup 2020-02-14 19:37:06 +01:00
Alexander Bock
43851899c7 Cleanup of more copyright headers
Add debug groups and object names to the OpenGL objects in the framebuffer renderer
2020-02-13 14:59:13 +01:00
Alexander Bock
3355e85385 All stars to be rendered with a fixed color (closes #910) 2020-02-12 22:02:10 +01:00
Alexander Bock
d8e9db76a3 Update the copyright header to 2020 2020-02-10 21:51:01 +01:00
Lovisa Hassler
b2d2039dc2 Trail fading for satellites and debris 2019-12-13 19:04:06 +01:00
Jonathas Costa
2694810e27 Clean up. 2019-09-23 13:12:07 -04:00
Jonathas Costa
ee800cee89 Fixed star rendering cuts on cubemap borders. 2019-09-23 13:08:23 -04:00
Alexander Bock
c6c2eb85fb Feature/du updates (#972)
* Updating DU for new data.
* Changed how OS handles partiview colormaps.
* Multiple changes to adapt OS' behavior for cmaps.
* Small tweaks. MW sphere is now fading in the correct spacetime.
* Added all the Star Orbits.
* Fixing bug in speck reading procedure.
* Changed code to allow comments into data region of a speck file.
* Added deep sky objects.
* Added Home label
* Fixed bug in drawelements.
* Added Sun as a separated star for better control.
* Update version numbers on DU assets
* Move starorbits into their own asset file
* Making some of the digital universe renderables fully opaque for performance gains
2019-09-09 13:46:57 +02:00
Jonathas Costa
54a5746815 Changes in DU for have back old Stars colors and align Constellations and stars. 2019-08-22 13:02:02 -04:00
GPayne
b99389ae30 Fixed problem with satellite trails rendered at a time prior to TLE epoch. Also debris added shader files to CMake file for space module. 2019-08-14 16:07:14 -06:00
GPayne
39f4dc33cb Initial pass of merging satellite debris into master and switching satellites to use grouped scenegraphnodes. 2019-08-13 15:39:06 -06:00
GPayne
ba07837865 Merge branch 'thesis/2019/spaceDebris' into feature/satellitesgroupednodes 2019-08-13 09:56:51 -06:00
Elon
46c22488d7 wrapping up thesis project 2019 space debris 2019-07-22 16:16:21 -06:00
Elon
6f8095f15c merge 2019-06-17 17:22:57 -06:00
Elon
907c0a3909 merging spherical grid 2019-06-17 17:16:14 -06:00
Jonathan Fransson
fa8100ee0b Spherical representation working and general clean up 2019-06-17 17:11:39 -06:00
Elon
3ae183b997 volume sequences can be made, and they will use a global min and max value 2019-06-04 16:44:14 -06:00
Elon
a043ae0c44 failed try small value before casting to float 2019-06-03 10:27:51 -06:00
Elon
793c25200c a try to correct position error in orbits 2019-05-31 10:40:00 -06:00
Elon
9a4d41871b smooth movement, but position offset due to precision errors. Clean up in shaders 2019-05-29 16:17:35 -06:00
Elon
bba24a70f9 corrected datatype of timeOffset to make smooth movement in orbits 2019-05-24 15:41:10 -06:00
Elon
80ed465607 positions now work, but pause at vertex 2019-05-23 16:55:44 -06:00
Jonathan Fransson
8e107beeec orbit render modifications, unfinished 2019-05-23 11:39:40 -06: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
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
Elon
abf686ddf6 line fade now works useing float for orbit and period 2019-05-02 14:52:34 -06:00
Elon
8a0a589e0f merging 2019-04-30 14:57:45 -06:00
Elon
847d222f28 merging 2019-04-30 14:51:11 -06:00
Jonathan Fransson
1e07fe4b5a moved fade calculations to frag shader 2019-04-30 14:49:35 -06:00
Jonathan Fransson
c967ddb544 merge 2019-04-30 14:33:17 -06:00
Emil Axelsson
3be6b92bad Double to float in shaders. Fixes in asset handling of satellites. 2019-04-30 17:44:37 +02:00
Elon
19a2bbfc7a orbits are not rotating 2019-04-29 16:17:50 -06:00
Elon
f1792ee41c merge 2019-04-29 09:29:24 -06:00
Elon
2b92413b15 - 2019-04-29 09:26:54 -06:00
Jonathan Fransson
f621c06963 Fade almost done, issue with reading some data to the shader 2019-04-26 11:57:47 -06:00
Elon
f21edec80d trying to figure out how to fade lines 2019-04-24 17:12:07 -06: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
Jonathan Fransson
6083d52b52 merge 2019-04-17 14:26:10 -06:00
Jonathan Fransson
81b8113cf4 New debris data 2019-04-17 14:22:53 -06:00
Elon
20fdc00527 orbits rendered proporly 2019-04-16 17:48:50 -06:00
Jonathan Fransson
44a2bd7bc5 Merge 2019-04-15 12:13:41 -06:00
Jonathan Fransson
9df2a8ae22 merge 2019-04-15 12:07:02 -06:00
Elon
f064b540a9 merge 2019-04-12 18:03:56 -06:00
Elon
8b694e7464 All debris rendered as one scene graph node 2019-04-12 17:59:55 -06:00
Jonathan Fransson
76959c4a35 Rendering issues 2019-04-12 12:01:29 -06:00
Jonathan Fransson
66ab6527fa glDrawElement issues 2019-04-11 15:19:48 -06:00
Jonathan Fransson
71881c59e1 merge 2019-04-10 14:18:28 -06:00
Jonathan Fransson
2ec20e546b merge 2019-04-10 14:16:19 -06:00