Joakim Kilby
f43cc08dfb
added presync function for engine
2015-02-10 11:34:33 +01:00
Joakim Kilby
a8abfa74bd
Added proper synchronization for mouse controller and camera.
...
Camera class now contains three instances of synched variables. a local copy changed on master. a shared copy only used for sharing in serialize/deserialize. and finally a synched copy never written to except in post sync
2015-02-10 11:34:12 +01:00
Joakim Kilby
47ed14b8d6
Added serialize / deserialize functions for camera.
...
Added proper mutex protected shared versions of synced variables for camera class.
Added a post sync function for camera class (and a call to it in render engine post sync function)
2015-02-09 14:50:56 +01:00
Joakim Kilby
32a56085d9
Added a delta time member variable to openspace engine and changed how dt is calculated.
...
it is now averaged over two frames instead of being just dt between two frames. This gives more stability
2015-02-09 13:52:00 +01:00
Joakim Kilby
fe0cd2c130
Added call to update of MouseController in update function.
...
Added distance and orbit functions.
modified setRotation function to actually set rotation of camera (was empty)
2015-02-06 11:22:34 +01:00
Joakim Kilby
f7171e1936
Added update function for all mouse controller objects.
...
Added OrbitalMouseController class
2015-02-06 11:21:02 +01:00
Alexander Bock
8ebd2e4d71
More code cleanup of RenderableFieldlines
2015-01-21 15:13:16 +01:00
Alexander Bock
f752221772
Added Vec4Property to imgui
2015-01-21 15:12:54 +01:00
Alexander Bock
d6a02140ea
More RenderableFieldlines code cleanup
2015-01-21 01:44:56 +01:00
Alexander Bock
f72d151c6c
Initial changes to RenderableFieldlines
2015-01-21 00:42:33 +01:00
jonasstrandstedt
6b164f0b36
Added camera offset support
2015-01-06 12:43:16 +01:00
Alexander Bock
55a3c43db4
Move imgui file to its own folder
2014-12-18 17:21:20 +01:00
Alexander Bock
e45813dd91
Add stepping value into Property description
2014-12-18 13:46:18 +01:00
Alexander Bock
7cd1374cdb
Added description for OptionProperty
2014-12-17 18:52:01 +01:00
Alexander Bock
6336ee998a
Added description for SelectionProperty
2014-12-17 18:47:30 +01:00
Alexander Bock
618f3ab930
Add description for numerical properties
2014-12-17 18:18:34 +01:00
Alexander Bock
5a7a518bad
Remove cppcheck warnings
2014-12-16 21:54:53 +01:00
Alexander Bock
734ce03d72
Changed the deinitialization of renderable from the destructorto the scenegraphnode
2014-12-15 20:51:00 +01:00
Jonas Strandstedt
bf0a8291d6
Updated to the most recent Ghoul
...
- Using new VertexBufferObject in PowerScaledSphere as a test case.
2014-12-15 17:10:43 +01:00
Alexander Bock
6360a5f66a
Add methods for generating Property descriptions
2014-12-12 14:47:08 +01:00
Jonas Strandstedt
93a34fa985
Merge branch 'develop' of openspace.itn.liu.se:/openspace into develop
2014-12-12 11:00:26 +01:00
Jonas Strandstedt
37a59f3f09
Removed assertions from renderable constructors
...
- Removed assertions from RenderableFieldlines constructor
- Removed assertions from RenderableFov constructor, the variables wasn't
even used.
- Removed assertions from RenderablePath constructor
- Fixed missing delete[] is RenderableSphericalGrid
- Removed assertions from RenderableTrail constructor, added glDelete*
functions
- Removed assertions from RenderablevolumeGL constructor
2014-12-12 10:59:28 +01:00
Alexander Bock
119b1eb335
Started work to produce descriptive output for Properties in preparation for GUI generation
2014-12-11 23:41:31 +01:00
Alexander Bock
e70b663dc3
Add log.html to the list of ignored files
...
Enable capability to disable on-screen info text
2014-12-11 18:09:19 +01:00
Jonas Strandstedt
9e61d3ac94
Fixes for RenderableFov
2014-12-11 17:16:41 +01:00
Jonas Strandstedt
da4fa44c03
Continued work on memory leaks and proper isReady usage
2014-12-11 16:48:49 +01:00
Jonas Strandstedt
dc21196f70
Removed RenderableEphemeris
2014-12-11 16:45:02 +01:00
Jonas Strandstedt
122aec83b1
Windows fix after memory leak fixes
2014-12-11 14:12:01 +01:00
jonasstrandstedt
7b2b81ed54
Fix memory leaks and proper deinitialization
2014-12-11 10:13:10 +01:00
jonasstrandstedt
01361307f6
Update ghoul reference
...
- Added destructor to OpenSpaceEngine to deallocate SyncBuffer
- Changed texture reading to avoid memory leak
2014-12-10 20:57:41 +01:00
jonasstrandstedt
81caf96d72
Started working on Renderables
...
- Making sure isReady is properly set
- Making sure initialization is done correctly
- Making sure deinitialization is done correctly
2014-12-10 19:43:38 +01:00
jonasstrandstedt
179f6edd9d
Added warning for SceneGraphNodes that were not loaded
2014-12-10 15:38:22 +01:00
jonasstrandstedt
302e642c1c
Dependency system for OpenSpace Modules
...
When loading the SceneGraph for the first time all modules are loaded
into a map and the parent dependency to another map. After all modules
and ScenegraphNodes have been loaded into the map, each module is loaded
in dependency order starting from the root node.
2014-12-10 14:35:08 +01:00
Alexander Bock
2883eaf254
Enable Gui integration of SelectionPropertys
2014-12-10 00:55:51 +01:00
Alexander Bock
fe73550b55
Add a TriggerProperty that fires a single event when a value is passed
2014-12-09 23:31:05 +01:00
Michal Marcinkowski
759756ccb4
Merge branch 'develop' of openspace.itn.liu.se:/openspace into develop
...
Conflicts:
src/properties/optionproperty.cpp
2014-12-09 14:12:13 -05:00
Alexander Bock
7226b23cc0
Fixing doxygen warnings
2014-12-09 19:11:49 +01:00
Alexander Bock
82c42cb97a
General code cleanup
2014-12-09 18:36:23 +01:00
Alexander Bock
2c36b35ab1
Store less performance records, do not leak memory in GUI
2014-12-09 16:10:03 +01:00
Alexander Bock
01e71f2fc0
More work on performance measuring in imgui
2014-12-09 15:49:54 +01:00
Michal Marcinkowski
b40ec16f1c
intermediate commit
2014-12-08 20:44:58 -05:00
Alexander Bock
90eac194dc
Initial work on performance measuring
2014-12-09 01:41:42 +01:00
Alexander Bock
d8f7bb746a
Started cleaning OpenSpaceEngine
2014-12-08 18:30:18 +01:00
Alexander Bock
56e1187ee7
Always create the GUI element but make it switchable via scripting
2014-12-08 12:41:31 +01:00
Alexander Bock
9cd435f3e3
Fix imgui configuration definition
2014-12-07 00:39:16 +01:00
Alexander Bock
2c85d53164
Made GUI optional
2014-12-06 18:33:11 +01:00
Alexander Bock
afa2d4d6a9
More work on GUI elements
...
Create GUI for some Properties
2014-12-06 17:20:59 +01:00
Alexander Bock
4e65aaafe2
Add method to get fully qualified id to Propertys
2014-12-06 17:19:25 +01:00
Alexander Bock
9a9c0c0237
Give PropertyOwner a field to remember its owner
2014-12-06 17:18:49 +01:00
Alexander Bock
8719f98a23
Allow access to minimum/maximum values of NumericalPropertys
2014-12-06 17:18:05 +01:00