Malin E
ac79e4dc07
Start addressing PR comments
2022-09-22 12:01:01 +02:00
Malin E
9667db22c9
Small fixes
2022-09-09 10:27:17 +02:00
Malin E
0d6f4ecac0
Change name from SpeckLabels to LabelsComponent
2022-09-08 10:08:39 +02:00
Malin E
6478f0a92c
Adjust asset files to use the new labels
2022-09-05 10:43:55 +02:00
Malin E
c04bc24db9
Use new labels for billboards clounds
2022-09-02 14:54:01 +02:00
Malin E
8c01d536b6
Restore RenderableDUMeshes class
2022-08-05 17:01:12 +02:00
Malin E
e98e9fe4a3
WIP initiali version of new constellation classes
2022-08-05 11:05:57 +02:00
Malin E
9c39874efc
Load spaeck file in initialize instead of initialiseGL
2022-08-02 14:05:39 +02:00
Malin E
39b8914917
Fix bug when constellations have several words in its name
2022-08-02 13:34:31 +02:00
Malin E
9470faddbb
Change GUI name for the selection property
2022-08-02 11:44:48 +02:00
Malin E
4df7693480
Make DUMeshes selection property visible even if list is empty
2022-08-02 10:59:26 +02:00
Malin E
3ab97231bb
Add selection property to RenderableDUMeshes
2022-08-02 09:38:30 +02:00
Alexander Bock
163ac4dcef
Cleanup of mostly asset files
...
- Fixes for all files
- constexpr cleanup
- Cosmetic changes
- Remove punctuation from the end of messages
2022-07-28 17:21:59 +02:00
Alexander Bock
c1252902c7
More Code Cleanup ( #2192 )
...
* Harmonizing ( and ) in function calls
* static const -> constexpr
* Fix compile issue
* Unify shader tab size
* Add _fs and _vs to shaders
* Harmonize spacing
2022-07-26 11:22:41 +02:00
Alexander Bock
9cc4c595a8
Code Cleanup ( #2191 )
...
* constexpr const -> constexpr
* const char* -> std::string_view
2022-07-25 15:57:45 +02:00
Alexander Bock
9b1143f02f
Ubuntu 22.04 and GCC11 fixes ( #2163 )
...
* Update CEF version
* Update Ghoul
* Update SGCT
* Update codegen
* Remove warnings happening on Ubuntu 22.04 with GCC 11
* AppleClang warning fixes
* Compile fix for Ubuntu and MacOS
* Add Qt 6.2.3 to the CMAKE_PREFIX_PATH
2022-06-28 00:46:01 +02:00
Emma Broman
06ea668225
Prevent crash from using colormap without entries
...
Can happen if all colormap variables were set, but the file didn't exist or couldn't be loaded
2022-05-02 09:51:26 +02:00
Alexander Bock
cf582054dc
Update to the RenderableBIllboardCloud
...
- Add the color mapping to the DU Quasar dataset (closes #1584 )
- Add the ability to turn off a colormap
- Add the ability to change the static color even when a colormap is present
2022-04-30 15:33:43 +02:00
Alexander Bock
5751fe26d3
Cleanup handling of warnings ( #2030 )
2022-04-16 20:57:29 +02:00
Alexander Bock
02adcf570e
Add a hidden "Fade" property that modifies the effective opacity to enable other functionality ( closes #1970 )
2022-04-05 23:53:33 +02:00
Emma Broman
f7d3d3bad1
Fix problems with precision of new bounding spheres
...
glm::length => squared computation => we need the double precision in the computation. Got bounding sphere values of "inf" for a few large renderables (the DU grids)...
2022-03-28 19:53:14 +02:00
Emma Broman
3c4f13c650
Add bounding spheres to a bunch of renderable types ( #1957 )
...
* RenderabeDUMeshes (And reimplement reading of vertex info from speck, to make it easier to compute sphere. The plan is to phase out this renderable anyways)
* RenderablePoints
* Grids: RenderableGrid, RenderableBoxGrid, RenderableRadialGrid & RenderableSphericalGrid
* RenderableGalaxy
2022-03-28 16:10:56 +02:00
Emma Broman
2919ad77ed
Typo fix
2022-02-28 15:31:47 +01:00
Alexander Bock
e8072495ec
Feature/warnings ( #1885 )
...
Remove many warnings from MSVC, Clang, and GCC
2022-02-16 18:33:12 +01:00
Alexander Bock
51937d9461
Merge branch 'master' of github.com:OpenSpace/OpenSpace
2022-02-10 16:00:40 +01:00
Alexander Bock
30212b6768
Adapt to new auto coding style
2022-02-10 15:20:21 +01:00
Emma Broman
72110be88c
Fixes to remove some warnings
2022-02-10 14:28:15 +01:00
Alexander Bock
cf664cd749
Hotfix to make the Sloan Digital Sky Survey work again
2022-01-02 15:02:37 +01:00
Alexander Bock
21df9066e1
Make use of the new map feature in codegen ( #1801 )
2022-01-02 13:36:41 +01:00
Alexander Bock
d7d279ea16
Happy new year
2022-01-01 12:32:55 +01:00
Alexander Bock
76b9c7587b
Adapt to explicit specifcation of texture size ( #1794 )
...
* Adapt to explicit specifcation of texture size
2021-12-26 19:19:04 +01:00
Alexander Bock
c96764aa1c
Remove Clang warnings
2021-07-30 14:56:55 +02:00
Alexander Bock
87da9a27ab
Feature/path normalization ( #1674 )
...
* Path normalization (making sure there are fewer cases of '"..."'
* Using more std::filesystem::path instead of std::string
* Update Ghoul
2021-07-01 23:46:22 +02:00
Micah
4f22b39a1f
RenderableBillboardsCloud: adding protection for data without colors
2021-06-09 14:43:35 -04:00
Emma Broman
1695937749
Feature/numeric slider updates ( #1609 )
...
* Remove Logarithmic ViewOption and instead always use exponent of NumericalProperty + set exponent of some renderables' properties
* Add MinMaxRange ViewOption for Vec2 properties
* Add MinMaxRange viewoption to some existing vec2 properties and combine some other related properties to be able to utilize it. For example Min and Max label sizes, fade in/out distances, inner and outer radius. OBS! Includes renaming several properties (**breaking change**)
* Refactor and document labels code. OBS! Includes renaming several properties (**breaking change**)
* Add comments for some assets that have labels that are not working correctly
Renderables with rename properties: RenderableLabels , GlobeLabelsComponent, RenderableBillboardsCloud, RenderableDUMeshes, RenderableRadialGrid )
2021-05-28 17:00:55 +02:00
Alexander Bock
63cbf270ee
Adapt to changes in codegen that require specifying the identifier in the codegen::doc function
2021-05-25 23:10:12 +02:00
Alexander Bock
6cf6e450fb
Address MacOS compile issues, make ISS model scene graph node visible
2021-05-25 17:50:31 +02:00
Alexander Bock
c3ba532bdb
Feature/cleanup ( #1608 )
...
* Revert screenlog back to showing Info and above messages
* Various code cleanup
2021-05-25 14:08:33 +02:00
Alexander Bock
205d4c9db1
Feature/speck loader ( #1585 )
...
* Implement a shared speckfile loader
* Apply new speck loader to RenderableBillboardsCloud, RenderablePlanesCloud, RenderablePoints
2021-05-17 13:59:54 +02:00
Alexander Bock
92432caed2
Adapt to changes in Ghoul that made absPath return a std::filesystem::path instead of a std::string
2021-05-17 00:23:15 +02:00
Alexander Bock
ccdc5a5dc3
Feature/filesystem cleanup ( #1587 )
...
* Adapting to the changes in Ghoul
* First step of moving filesystem functions to std
* Remove persistence flag from cachemanager
2021-05-16 20:26:49 +02:00
Emma Broman
8a30dc570e
Add Logarithmic sliders and Color picker ( #1564 )
...
* Pass ViewOptions meta data to WebUi
* Add Color ViewOption
* Add Logarithmic ViewOption
* Update gui hash to get slider and color picker UI features
2021-04-27 09:24:36 +02:00
Alexander Bock
2aa540a112
Feature/interactionsphere ( #1561 )
...
* Add ability to render the bounding sphere as a debug option
* Separate boundingsphere and interactionspheres
* Correctly compute BoundingSpheres for more renderables (RenderablePlanesCloud, RenderableOrbitalKepler)
2021-04-26 13:13:36 +02:00
Emma Broman
fdee3d4faf
Prevent setting zero line width from UI
2021-04-16 16:14:02 +02:00
Emma Broman
923ad3f8ce
Fix misspelled 'codegen'
2021-04-09 13:58:43 +02:00
Emma Broman
0ea0e781da
Prevent crash when reloading renderable that only has labels and no data
...
Occurred when unchecking and rechecking the "Draw elements" property for example the "Eclipltic Sphere Labels"
2021-03-23 11:40:34 +01:00
Emma Broman
29e77534c7
Make use of new verifiers (Color and File) ( #1510 )
...
* Use codegen for renderable discs
* Utilize color and file verifier
* Add missing property assignment in exoplanets module
2021-03-02 08:11:49 +01:00
Alexander Bock
6d821d4f91
Feature/codegen ( #1480 )
...
* Add the ability to automatically generate code to extract values out of a Dictionary (see https://github.com/openspace/codegen for more information on how to use this)
* Applied this technique to a large number of cases in the codebase
* Don't add _codegen files to the repository
Co-authored-by: Emma Broman <emma.broman@liu.se >
2021-02-09 09:12:43 +01:00
Jonathas Costa
65803e134d
Issue/1447 ( #1451 )
...
* Fixed missing calls to OpenGL cache system.
2021-01-12 10:28:49 +01:00
Jonathas Costa
50bae273fb
Fixed Deep Sky Objects basic unit and increased maximum scale range. ( #1452 )
...
* Fixed Deep Sky Objects basic unit and increased maximum scale range.
2021-01-12 10:28:11 +01:00