Commit Graph

465 Commits

Author SHA1 Message Date
Alexander Bock a65e48b0e3 More work on SceneGraph 2015-04-10 01:38:59 +02:00
Alexander Bock 79f3052887 More work on SceneGraphLoader
Renamed SceneGraph to Scene
Added new class SceneGraph to handle scenegraph related tasks
2015-04-09 21:43:13 +02:00
Alexander Bock 9b24f407a6 Moving test files into base directory
Adding empty class of SceneGraphLoader
2015-04-07 19:01:04 +02:00
Anton Arbring b79e6df763 Planets shape creation & fixed texture longitude
Instead of spheres, the planets are now created as triaxial ellipsoids
according to the corresponding radii values in the SPICE kernels (if such
values are available). Apart from being more scientifically accurate, the
planets are shaped as the intersection functions in SPICE expects.

The textures will now also be aligned in longitude as in reality (w.r.t.
UTC) when using a texture map ranging from -180 in the left end to +180 on the
right, with 0 longitude in the middle (such as Greenwich in Earth texture)
2015-03-20 19:59:26 -04:00
antar420 221db02af6 Refactoring modelgeometry and wavefrontgeometry
To make modelgeometry more ready for extension in reading other file
formats in subclasses. Some minor fixes including an out of bounds error
for texture mapping with several shapes in the same file.
2015-03-12 17:57:10 -04:00
antar420 8997fc0428 Merge branch '67p' into develop 2015-03-10 13:33:46 -04:00
antar420 4653d3d7c6 Minor fixes in renderablemodel
Added _performShading as a property and modified a spicemanager call to be able
to work with models with different names for the rotation source frame and
ephemeris body (such as 67p).
2015-03-10 12:22:52 -04:00
Alexander Bock e6abdd97d2 Ability to request an OpenGL version from SGCT using commandline arguments 2015-03-03 14:53:35 +01:00
Alexander Bock 7da514b7cd Enable operator<< overloading for TemplateProperties 2015-03-03 14:28:08 +01:00
Alexander Bock c546b1e1be Updated the OpenSpace version 2015-02-27 15:46:24 +01:00
Alexander Bock 87db591b41 Fixing on-screen gui for multiple nodes 2015-02-27 09:44:14 +01:00
Alexander Bock 1a29ad6208 Merge branch 'develop' into plutoViz 2015-02-27 09:01:55 +01:00
Michal Marcinkowski 39e5f2aa28 Improvements to the ImageSequencer class.
- Now _properly_ switches instruments at the moment set instrument is activated
2015-02-26 15:50:37 -05:00
Alexander Bock e6c1f34d48 Fixed a crash with RenderablePlane
Fixed a crash with changing coordinate systems
2015-02-26 13:25:13 +01:00
Alexander Bock 836f7a825b Making texture in RenderablePlane modular
Disable rendering of the Sun by default in favor of the glare texture
2015-02-26 13:10:43 +01:00
Alexander Bock a4e4df3d28 More cleanup of WaveFrontGeometry and RenderableModel 2015-02-25 23:58:30 +01:00
Alexander Bock bd382f9e8e Cleanup of WaveFrontGeometry 2015-02-25 23:39:20 +01:00
Alexander Bock d249e9422e Fixed bug where ScriptEngine would complain about double-added libraries
Correct application of default keybinding
2015-02-25 17:57:25 +01:00
Alexander Bock e155e7ec9f Adding functionality to pause the simulation time
Removed retreatTime function and replaced by a call to -advanceTime
2015-02-25 17:50:34 +01:00
Alexander Bock b3c4cc7a34 Make the line width of renderablefov changeable 2015-02-25 11:53:20 +01:00
Alexander Bock 5c72966346 Implemented caching for OBJ model files 2015-02-25 11:48:17 +01:00
Alexander Bock 862c8ffd96 Renamed globalOpacity to globalblackout
Start application in blackout and fade in after scenegraph has been loaded
2015-02-25 09:37:55 +01:00
Alexander Bock 3155073f05 More changes to allow JupiterProjection and PlutoProjection in the same scene
Add a switch that allows Renderables to react to big changes in time (via openspace.time.setTime)
Allow the setting of the minimum pixel size of stars
2015-02-24 19:16:15 +01:00
Alexander Bock bac0a9ad31 Disable the swap barrier before the scene load (and reactivating it afterwards) 2015-02-24 19:13:50 +01:00
Alexander Bock 43a3716afd Intermediate result to change viewpoint from Jupiter projection to Plutoprojection 2015-02-24 17:52:40 +01:00
Alexander Bock 7ba7622023 Updated module loading to use a common lua state that has openspace lua functions (closing #100) 2015-02-24 13:55:43 +01:00
Alexander Bock 84f8ce961b Added configuration switch "DisableRenderingOnMaster" to disable rendering on the master node 2015-02-24 13:42:47 +01:00
Alexander Bock d1a215e5c3 Use correct versioning scheme 2015-02-24 11:09:40 +01:00
Alexander Bock 35d664365e Adding Lua function to toggle the SGCT render information overlay 2015-02-24 10:45:50 +01:00
Alexander Bock 45e4dad29d Implement reference counting for SPICE kernels to shield SPICE from loading kernels multiple times
Passing result of surface intercept method by parameter and returning success status
2015-02-24 10:29:29 +01:00
Michal Marcinkowski 85e13f7738 Added:
New obj mod file with separate obj-loads
Imagesequencer - active instrument slightly improved
Printout of active instrument
Ortho-square dissapears when not needed
2015-02-24 00:03:00 -05:00
Alexander Bock 14144bbad3 Add Gui component for manipulating time 2015-02-23 23:01:57 +01:00
Alexander Bock 45c148b2c8 Added error checking codes to SpiceManager
Changed method to return instrument visibility by reference and used return value for errors
2015-02-23 21:36:37 +01:00
Alexander Bock 7f6d894866 Fixed more gcc and Cppcheck warnings 2015-02-23 20:07:57 +01:00
Alexander Bock f59c9819c4 Fixing gcc warnings 2015-02-23 19:35:47 +01:00
Alexander Bock fb2c99b5ed Removed cppcheck warnings
Removed unused Interface file
2015-02-23 19:08:15 +01:00
Alexander Bock 78ab23602f Moved tinyobjloader from util into submodule of Ghoul 2015-02-23 18:08:28 +01:00
Alexander Bock 3086cedcd2 Added missing version file 2015-02-23 17:20:36 +01:00
Alexander Bock a79f65a288 Added new GuiComponent to change origin 2015-02-23 16:43:13 +01:00
Alexander Bock 957495d46f Merge remote-tracking branch 'origin/plutoViz' into develop 2015-02-23 16:13:00 +01:00
Alexander Bock b6e0bd1043 Added interaction speed modifiers/inverters
Disable cotire
Enable Xcursor and Xinerama libraries on Linux builds
2015-02-23 15:58:05 +01:00
Michal Marcinkowski 175874adc7 Merge branch 'plutoViz' of openspace.itn.liu.se:/openspace into plutoViz
Conflicts:
	src/rendering/model/wavefrontgeometry.cpp
2015-02-23 09:57:26 -05:00
Michal Marcinkowski 770ee9212f adding changes for rudimental target switching, needs work. 2015-02-23 09:56:29 -05:00
Alexander Bock 3ba9cbdb96 Linux compile fix 2015-02-23 14:18:21 +01:00
Alexander Bock cc331a7496 Linux compile fix 2015-02-23 13:08:14 +01:00
Alexander Bock 34ff3c6018 More changes to RenderableStars using the AMNH test target
Removed superfluous properties of RenderableStars
Removed specialized settings file
2015-02-22 23:51:26 +01:00
Alexander Bock a7bd6319db Adding 'property' prefix to subowner methods in PropertyOwner
Added function for writing documentation of properties
2015-02-22 22:05:25 +01:00
Michal Marcinkowski 73baceadaa Merge branch 'plutoViz' of openspace.itn.liu.se:/openspace into plutoViz 2015-02-22 13:11:03 -05:00
Michal Marcinkowski cc65ce1167 changing obj loader to tinyobj 2015-02-22 13:10:47 -05:00
Alexander Bock 1fda1d38db Merge branch 'plutoViz' into feature/stars 2015-02-20 16:56:15 +01:00