Commit Graph

85 Commits

Author SHA1 Message Date
Emma Broman 8c0182c69f Remove explicit blend equation 2021-02-17 15:49:32 +01:00
Emma Broman 53fc94c721 Warn if renderable to be changed did not exist
Can happen quite often if something goes wrong in Glue, so use a warning rather than an error
2021-02-17 15:37:45 +01:00
Emma Broman cb287b0d31 Avoid problems if renderable referenced in message does not exist 2021-02-11 16:22:42 +01:00
Emma Broman ad7455152f Very large datasets can now be loaded
Use a centralized storage in the module if a dataset is too large to be feasible to pass in the dictionary
2021-02-11 16:09:11 +01:00
Emma Broman dafa7157eb Update renderable to codegen change 2021-02-10 11:15:48 +01:00
Emma Broman 2175863c69 Restructure code to avoid huge module class
split into: module, server and message handlers
2021-02-09 13:34:30 +01:00
Emma Broman e18f106084 Fix for handling nan values in data 2021-02-08 16:30:24 +01:00
Emma Broman 65d70c5965 Add some consts and more cleanup 2021-02-08 08:52:30 +01:00
Emma Broman fef2a3aae7 Combine read data and load scene graph node messages 2021-02-05 16:18:46 +01:00
Emma Broman 6abe40763d Remove unimplemented massage types 2021-02-05 12:58:03 +01:00
Emma Broman c0fea13875 Some more cleanup 2021-02-02 14:24:58 +01:00
Emma Broman 3122dc0452 Add some TODO comments 2021-02-02 10:40:09 +01:00
Emma Broman c4c24bc6a3 Clean up renderable points cloud a bit
* Remove unused luminosity and velocity
* Add documentation of data
2021-02-02 08:38:52 +01:00
Emma Broman 1e582f11af More cleanup 2021-02-01 17:10:52 +01:00
Emma Broman ec2224f63f Create Scene Graph Nodes through the scriptEngine 2021-02-01 17:10:37 +01:00
Emma Broman 8fb955ab85 Opacity fix and some cleanup 2021-02-01 17:10:16 +01:00
Emma Broman 09768054e9 Update to new dictionary 2021-01-29 14:15:37 +01:00
aniisaaden 3dea76ac73 removed solution for opacity issue - caused subsets to render behind original data 2020-10-26 10:33:23 +01:00
aniisaaden d2f5076977 Updated format of global::renderengine to pointers 2020-10-22 18:04:31 +02:00
aniisaaden 7b1ae50918 Fixed opacity issue 2020-10-22 17:38:34 +02:00
aniisaaden d632ea48a5 Updated protocol version to "1.0" 2020-10-21 11:57:15 +02:00
aniisaaden 1460d30a21 Cleaned and structured code 2020-10-20 09:48:35 +02:00
aniisaaden 7f7b0bca9b Removed Info-message of data received - too long 2020-10-19 17:27:25 +02:00
aniisaaden e4b48f6149 Added extra LINFO for messages received 2020-10-19 16:01:18 +02:00
aniisaaden e109c64081 Fixed issue with pointscloud asset. Changed pointData to be a dictionary in pointsCloudRenderable. Changed name of message type "DATA" to "PDAT" 2020-10-19 13:52:47 +02:00
aniisaaden 12ad26d51e Changed LERROR-messages to LINFO-messages 2020-10-16 14:42:45 +02:00
aniisaaden b6b16df51c Remove scenegraphnode works again 2020-10-15 15:14:25 +02:00
aniisaaden cf8888485b Changes focus-node to the sun in case the focus-node is a sgn being removed 2020-10-15 14:59:10 +02:00
aniisaaden 273b3bca0c Camera retargets and focuses on pointdatas sgn - resets the camera state when removing sgn 2020-10-14 18:04:39 +02:00
Johanna Granström 58261ece73 Merge branch 'thesis/2020/software-integration' of https://github.com/OpenSpace/OpenSpace into thesis/2020/software-integration
# Conflicts:
#	modules/softwareintegration/softwareintegrationmodule.cpp
2020-10-14 13:36:43 +02:00
Johanna Granström ba683f980e Fixed: Exception error 2020-10-14 11:48:20 +02:00
aniisaaden b2e837dc5f Camera retargets and focuses on pointdatas sgn - does not reset the camera state when removing sgn 2020-10-13 15:33:43 +02:00
Johanna Granström 42889906cc wip 2020-10-13 13:50:55 +02:00
aniisaaden 07ad1ddb00 Expanded the module to include luminosity and velocity data 2020-10-13 11:41:13 +02:00
aniisaaden c428f097ea Started expanding the module and renderable to include luminosity and velocity 2020-10-13 10:15:09 +02:00
aniisaaden 3321be2a81 Added boolean that makes sure that a message is not sent when onChange reacts to new property values from Glue 2020-10-12 15:26:24 +02:00
aniisaaden 1e15aba4ce Debugging code to see what messages are sent and recieved 2020-10-09 16:17:30 +02:00
aniisaaden 064a01281b Point data has correct postion in OpenSpace. Speckfile code removed from module and renderable. 2020-10-08 15:02:32 +02:00
aniisaaden c71465f507 Added if-statements for onChange-messaging. Renderable updated to receive point data, position is wrong. 2020-10-08 14:20:05 +02:00
aniisaaden 2eb943110c Refractor code in pointscloud 2020-10-08 08:56:03 +02:00
aniisaaden 779dfb88a9 OpenSpace can receive data from Glue as a long string, then read the data and separate x,y,z-coordinates into vectors 2020-09-28 16:53:51 +02:00
Johann Granström 5413ca7ddf Merge branch 'thesis/2020/software-integration' of https://github.com/OpenSpace/OpenSpace into thesis/2020/software-integration
# Conflicts:
#	modules/softwareintegration/softwareintegrationmodule.cpp
2020-09-24 11:47:21 +02:00
Johann Granström 2401ee5b26 Refractor and clean code 2020-09-24 11:41:00 +02:00
aniisaaden 1a46847c82 Code clean up 2020-09-23 15:56:21 +02:00
aniisaaden 9eb33f6775 Toggling visibility of SGN works from Glue and from OpenSpace 2020-09-22 15:33:44 +02:00
aniisaaden 6cd82e8e8a Opacity & Size message types added 2020-09-22 14:51:27 +02:00
aniisaaden 424e99ebed OpenSpace and Glue can both send and receive messages, and update their properties. 2020-09-18 13:39:41 +02:00
aniisaaden 3282dc80b2 Softwareintegrationmodule and Softwareconnection are two separte files. 2020-09-18 11:53:17 +02:00
aniisaaden 3d2a14b830 Splitting classes to two separate files 2020-09-18 11:19:27 +02:00
johannagranstroem 17f41e0405 Space added 2020-09-17 17:35:02 +02:00