Commit Graph

3479 Commits

Author SHA1 Message Date
Erik Broberg dd304fee31 Make ScriptEngine implement Syncable interface 2016-09-16 15:40:29 -04:00
Erik Broberg 0cd40512dd Generalize Syncable interface and use mutex locks for SyncData 2016-09-16 12:21:19 -04:00
Erik Broberg 9e59cd3b8d Use SyncEngine for synchronizing all synced state in RenderEngine 2016-09-15 17:52:22 -04:00
Erik Broberg ee0cc6d165 Remove explicit syncing in Time and Camera and let SyncEngine do the work 2016-09-15 17:03:46 -04:00
Erik Broberg 6024070745 Add new classes SyncEngine and SyncData to encapsulate SGCT synchronization 2016-09-15 17:02:00 -04:00
Erik Broberg 8fd9478226 Initialize show frame number to false 2016-09-13 12:03:34 -04:00
Erik Broberg d287b08c51 Enable toggling use of doublebuffering for camera and time 2016-09-13 11:52:54 -04:00
Erik Broberg 5cb6d2cb05 Move camera and time serialization and deserialization to cpp-files 2016-09-12 14:05:26 -04:00
Erik Broberg 9c5deaba82 Use double buffering for time and camera syncing 2016-09-07 21:39:29 -04:00
Erik Broberg 0856be9d99 Remove InteractionHandler serialize and deserialize calls from openspace engine 2016-09-07 13:14:39 -04:00
Erik Broberg 6372831036 Avoid send full SyncBuffer over the network 2016-09-06 22:55:23 -04:00
Erik Broberg 047e754369 Remove serialize() and deserialize() from InteractionHandler and InteractionMode 2016-09-06 13:53:31 -04:00
Erik Broberg aada13a656 Add debug functionalities: Busy wait for decode() and Log SGCT out-of-order errors 2016-09-06 12:44:03 -04:00
Erik Broberg 3cac5858be Proof of concept: Compensate async decode() with busy wait in postSync() 2016-09-04 05:52:00 -04:00
Erik Broberg c837edae5b Testing new syncing scheme 2016-09-04 03:44:50 -04:00
Erik Broberg ac38c02001 Detect incorrect main callback function order!! 2016-09-04 03:40:41 -04:00
Erik Broberg 3554392934 Add optional params -size and -cols for run_multiple_nodes script 2016-09-03 23:33:00 -04:00
Erik Broberg ea532b10c6 Add firmSync as an option to run_multiple_nodes.js 2016-09-03 23:16:11 -04:00
Erik Broberg 649d8d2f67 Remove shared and synced versions of data members in MouseStates 2016-09-03 22:54:02 -04:00
Erik Broberg 2116f5c987 Rename preSync and postSync in InteractionHandler to more descriptive names 2016-09-03 22:14:10 -04:00
Erik Broberg 5e3c4cb0db Replace preSync and postSync in RenderEngine with a set of more descriptive methods 2016-09-03 21:46:58 -04:00
Erik Broberg 60441c4fa1 Remove non-descriptive methods preSync and postSync from class Time 2016-09-03 21:06:09 -04:00
Erik Broberg 3a887fef02 Remove non-descriptive preSync and postSync methods from Camera class 2016-09-03 21:02:30 -04:00
Erik Broberg 796f80e511 Remove local, shared, synced Camera members, and keep one source of truth 2016-09-03 20:54:21 -04:00
Erik Broberg 9196ec2f50 Remove local, shared, synced versions of Time. Keep one source of true 2016-09-03 19:45:58 -04:00
Erik Broberg 16b79759b9 Don't flush log immediately 2016-09-03 18:09:55 -04:00
Erik Broberg 697afc4959 Generate OpenSpace windows located in a grid 2016-09-03 17:39:33 -04:00
Erik Broberg d59156e81b Enable render global frame number and add as global property 2016-09-02 18:23:44 -04:00
Erik Broberg 46107cc23f run_multiple_nodes generates and reads xml in same directory as itself 2016-09-01 15:54:21 -04:00
Erik Broberg 5cf1a4fbe1 Enable per frame toggling of RenderableGlobes for multi node sync debugging 2016-09-01 15:31:38 -04:00
Erik Broberg 2bb3379d66 Log isUsingSwapGroups and isSwapGroupMaster after initialization and before deinitialization 2016-09-01 15:30:07 -04:00
Erik Broberg b9c76034ba Move and improve node script for starting multiple instances of OpenSpace 2016-09-01 15:28:47 -04:00
Erik Broberg 9bdbf95961 --amend 2016-09-01 15:25:56 -04:00
Erik Broberg cc2c26a3e7 Enable OpenSpace checking isUsingSwapGroups and isSwapGroupMaster 2016-09-01 15:19:25 -04:00
Erik Broberg af5c0c71e8 More explicit scheduled script helpers and set osiris rex trails enabled values at launch 2016-08-30 15:37:33 -04:00
Erik Broberg a50cb8d06a Merge branch 'feature/osirisrex' of github.com:OpenSpace/OpenSpace into feature/osirisrex 2016-08-30 15:06:35 -04:00
Kalle Bladin 64be557abf Use alpha from projection texture in RenderableModelProjection. 2016-08-30 14:17:00 -04:00
Erik Broberg 73c4cb795b Merge branch 'feature/osirisrex' of github.com:OpenSpace/OpenSpace into feature/osirisrex 2016-08-30 14:04:39 -04:00
Erik Broberg 69681ea36e Move helper lua functions for script scheduling to scripts/common.lua 2016-08-30 14:03:19 -04:00
Erik Broberg 5e31638b92 Enable the global Lua state when loading scheduled scripts from file 2016-08-30 14:01:42 -04:00
Erik Broberg 8c137a78b2 Add scheduled scripts for enabling different Bennu trails 2016-08-30 13:34:56 -04:00
Kalle Bladin e7d8308537 Add objects to the osiris rex scene 2016-08-30 13:23:21 -04:00
Erik Broberg 6b1369f58c Log at info level when scheduled scripts are executed 2016-08-30 13:16:10 -04:00
Kalle Bladin 53a626a0ea Solve merge conflict 2016-08-30 13:12:45 -04:00
Kalle Bladin 357462adac Update osirisrex.mod and spice kernel loading order 2016-08-30 13:01:55 -04:00
Erik Broberg 06b7c0776e Press F4 to reload scheduled scripts from file during run time 2016-08-30 12:28:35 -04:00
Erik Broberg 0ee638f447 Enable clearing scheduled scripts 2016-08-30 12:26:10 -04:00
Erik Broberg 99309b3cb3 Use more explicit names for different osiris rex trails 2016-08-29 16:52:18 -04:00
Erik Broberg 6206b47ef9 Merge branch 'feature/osirisrex' of github.com:OpenSpace/OpenSpace into feature/osirisrex 2016-08-29 16:16:21 -04:00
Erik Broberg b74b01d294 Add new class ScriptScheduler together with example input file: data/scene/osirisrex/scheduled_scripts.lua 2016-08-29 16:16:11 -04:00