Commit Graph

4683 Commits

Author SHA1 Message Date
Jacob Molin 0bc6036beb Adds feature to choose via SIMP how colormap attribute NaN values should be rendered 2022-06-08 13:56:24 -06:00
Victor Lindquist 77421f1b31 Fixed problem with point disappearing when too far away 2022-06-01 02:49:58 -06:00
Jacob Molin 5970aaba28 Fixes ColormapAttrData not always syncing + ColormapEnabled-script being executed 2022-05-27 22:28:35 -06:00
Victor Lindquist 033800ff58 Quick fix of issue with enabling colormap. Changed data structure in syncabledatastorage. 2022-05-25 03:01:16 -06:00
Jacob Molin 83379d481c ColormapEnable needs to be turned on/off in GUI for renderable after transfer from Glue. Not rendering points w/ nan attr val. 2022-05-24 22:50:18 -06:00
Jacob Molin df79184faf [WIP] ColormapEnable not working
Co-authored-by: Victor Lindquist <VLLindqvist@users.noreply.github.com>
2022-05-24 17:07:57 -06:00
Victor Lindquist 193c7cdf3e Simp 1.9. Added linear size. 2022-05-21 13:34:03 -06:00
Victor Lindquist 47a5c8e299 Full support of colormaps. Revamp of entire softwareintegration module. Update to SIMP version 1.8.
Co-authored-by: Jacob Molin <jacobmolin@users.noreply.github.com>
2022-05-20 01:29:03 -06:00
JACOB MOLIN d62b9a49e5 Enabled ability to receive a colormap via SIMP and syncing to nodes 2022-05-10 14:14:47 -06:00
Victor Lindquist 69f83cc8fa SIMP version 1.6: revamp of entire message structure with separator between values and sending hexadecimal representation of numbers instead of 'length_of_value+stringified_value'. Also fixed a reasource lock error when calling thread.join on peer threads. 2022-05-06 09:40:21 -06:00
Victor Lindquist f1b14356e0 Added geometry shader to renderablepointscloud. An added bonus is that you can now scale the points non-uniformly using the SizeOption property in the GUI, i.e so the points aren't the same size on screen regardless of distance from camera (default is still uniform size) 2022-05-05 09:56:20 -06:00
Victor Lindquist b5e819c3fe Changed to SIMP version 1.5 which includes connection handshake. Reverted so that SGNs does not get removed when disconnecting. Other refactoring. 2022-05-02 21:29:13 -06:00
JACOB MOLIN 3e5dd25da6 SI GUI appears by updating WebGUI after new SGN is added 2022-04-21 13:41:17 -04:00
JACOB MOLIN 188481245b Fixes viability toggling from Glue 2022-04-20 17:46:12 -04:00
JACOB MOLIN 8f54e62775 Update for glue-openspace plugin
Co-authored-by: Victor Lindquist <VLLindqvist@users.noreply.github.com>
2022-04-20 16:02:55 -04:00
Victor Lindquist 8361d53505 Added support for script engine to sync renderablepointscloud properties to client nodes
Co-authored-by: Jacob Molin <jacobmolin@users.noreply.github.com>
2022-04-13 16:14:26 -06:00
Victor Lindquist f033cf16dc Datasets now syncs over to clients in a cluster, regardless of dataset size
Co-authored-by: Jacob Molin <jacobmolin@users.noreply.github.com>
2022-04-07 18:37:15 -06:00
Victor Lindquist 752408a9f9 SyncableMessageQueue in progress
Co-authored-by: Jacob Molin <jacobmolin@users.noreply.github.com>
2022-04-07 18:28:41 -06:00
GPayne 9b157d3a6c Merge branch 'master' into thesis/2022/software-integration 2022-03-29 15:28:16 -06:00
Micah Acinapura 8dd7bd9314 update cef and a few calls for it (#1916)
* update cef and a few calls for it

* fixing ref ptf for cef

* fixes for macos cef update; fixes #1114

* roll back cef version to 91

* remove print from cmake
2022-03-29 13:09:13 -04:00
Alexander Bock acfb5d76ef Fix error introduced in the Lua function codegen update that accidentally changed some function names 2022-03-29 17:31:48 +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
Jacob Molin 3ecb436508 Merge branch 'master' into thesis/2020/software-integration 2022-03-22 10:51:11 -06:00
Alexander Bock 3844df20c9 Feature/codegen lua (#1906)
Adapting Lua functions to new codegen functionality
Improve the documentation itself
Add some styling to generated documentation
Have parameter names for Lua-defined Lua function documentation

Co-authored-by: Emma Broman <emma.broman@liu.se>
2022-03-21 09:05:37 +01:00
Alexander Bock 86dcff62c4 Provide error message when loading a speckfile that does not contain only numbers (closes #1903) 2022-03-18 15:50:01 +01:00
Alexander Bock 1833894264 Only print the error for missing shadow caster once (closes #1594) 2022-03-18 14:24:36 +01:00
Alexander Bock 6a708b1f18 Implement new Spout input methods to Tileproviders and new Renderables (#1901)
* Implement new Spout input methods to Tileproviders and new Renderables

Co-authored-by: Marco Silva <marco@elumenati.com>
2022-03-03 23:47:09 +01:00
Emma Broman 2919ad77ed Typo fix 2022-02-28 15:31:47 +01:00
Alexander Bock 37f2e017ec Remove Fallback layers (closes #1819) 2022-02-25 14:16:44 +01:00
Emma Broman d0fcec569c Address stability problems for camera paths and make them more useful in general
* Change spline curve parameter interval from [0,1] to [0,nSegments], for slightly increased precision
* Use linear paths whenever precision isn't enough/paths are too long (and traverse linear paths differently, to make them less depending on the distance)
* Remove OrbitalNavigator.LinearFlight and instead add "Zoom to" helper functions (closes #1837 )
* Add check to prevent triggering awkward short paths, for example when flying to the current target or to the same geo position twice
* Refactor speed code and handle speed when path is shorter than start+closeup distance
* Add easing to speed dampening
* Add topic for engine mode (to be used for UI later)
* Cleaner log when creating paths (some previous info messages are now debug messages)

Related PR: OpenSpace/OpenSpace-WebGuiFrontend#70
2022-02-25 08:49:19 +01:00
Alexander Bock 7cb38b6c9c Update codegen and make use of the new parenting method 2022-02-23 13:20:36 +01:00
Alexander Bock 78fd5b78da Wait for initialization when adding assets at runtime. Correctly destroy the RenderableGalaxy shader when deinitializing (closes #1601) 2022-02-22 23:24:37 +01:00
Alexander Bock a6f048e342 Add explicit checks whenever we are accessing another scene graph node (closes #1831) 2022-02-20 19:17:06 +01:00
Micah Acinapura 9e69300642 unified renderbin to renderable; adapted orbitalkepler to codegen; fi… (#1843)
* unified renderbin to renderable; adapted orbitalkepler to codegen; fixes 1842

* update for pr comments

* update for pr comments2
2022-02-17 10:58:32 -05:00
Alexander Bock e8072495ec Feature/warnings (#1885)
Remove many warnings from MSVC, Clang, and GCC
2022-02-16 18:33:12 +01:00
Emma Broman 1c87372eb1 Merge branch 'master' into thesis/2020/software-integration
# Conflicts:
#	data/assets/base.asset
2022-02-16 09:59:28 +01:00
Alexander Bock 40ed640bc8 Simplify the function signature of the FactoryManager function 2022-02-12 00:55:15 +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
Emma Broman 893c523517 More cleanup of virtual property remnants 2022-02-10 14:28:15 +01:00
Emma Broman f45b782234 Remove all remaining virtual property related code 2022-02-10 14:28:15 +01:00
Alexander Bock 0e49606706 Feature/Science on the Sphere (#1863)
Add all available Science-on-a-Sphere datasets from their public FTP as assets.  Many of the datasets include large files that are downloaded the first time the asset is loaded
2022-02-10 13:53:30 +01:00
Emma Broman 7714acf32b Add parent documentation for all dashboard text items
Also removed undefined function and do tiny refactor
2022-02-03 12:08:19 +01:00
Emma Broman 5760d9c937 Fix problem with undefined documentation name/id (closes #1875) 2022-02-03 12:06:29 +01:00
Alexander Bock 8b74493d96 Removing the asset_helper file (#1868)
- Remove the asset_helper file and call the onInitialize and onDeinitialize functions directly
 - Small compile fix on Windows
 - Removes the need for the registerIdentifierWithMeta function by automatically doing that for all asset.export statements
 - Allow the passing of either identifiers (as before) or entire tables to the removeSceneGraphNode, removeScreenSpaceRenderable, deleteLayer, removeAction, and export methods. In that case, the Identifier key from the table is extracted and used instead
2022-02-01 23:44:36 +01:00
Emma Broman a7ff4f4640 Add missing includes and fix forgotten renamed enums for Apple 2022-02-01 11:33:52 +01:00
Alexander Bock 94d9a5a643 Check if the exoplanets data path is configured before trying to access it (closes #1861) 2022-01-31 14:28:45 +01:00
Alexander Bock bbfaf93a41 Add documentation to the RenderableGalaxy (closes #1848) 2022-01-26 23:53:33 +01:00