Commit Graph

1024 Commits

Author SHA1 Message Date
Anton Arbring 9226dd2d6b Setting show errors to false by default in Spicemanager
Removed debugging printouts
2015-04-22 21:43:54 -04:00
Anton Arbring 7913c74760 Changed shader for RenderablePlaneProjection 2015-04-22 18:36:09 -04:00
Anton Arbring bc591b2bdb Made night texture only be loaded if one exists, added new shader for planets with a night texture.
Also added plane & image plane shader programs to the general shader declaration in scene.cpp
2015-04-22 15:41:55 -04:00
Anton Arbring fd99115b6b Proof of concept for changing target on with only body name present. Also removed some calculations in fov replaced by a imageplane instance 2015-04-21 20:53:31 -04:00
Anton Arbring 5cf614f03d Modified changeViewPoint in order to work with new parenting system 2015-04-21 20:37:24 -04:00
Anton Arbring 97cbf977c5 Added body string to renderable to be able to search for target in scenegraph 2015-04-21 20:31:33 -04:00
Anton Arbring 641107a106 Commented currently unused functions in new parenting system 2015-04-21 20:22:58 -04:00
Anton Arbring 813cc4acdb Added possible error message for estimated positions 2015-04-21 20:17:31 -04:00
Anton Arbring 163796cfdf Simplified error suppressing in Spicemanager 2015-04-21 15:50:40 -04:00
Anton Arbring f95b746ee1 Made position depend on parent 2015-04-20 11:34:19 -04:00
Anton Arbring 2b8b8c0416 Solving merge conflicts with develop 2015-04-18 16:10:05 -04:00
Anton Arbring dd67c005a4 bugfix 2015-04-18 15:57:35 -04:00
Anton Arbring 6cc21b3be7 Added image plane projection + shaders and dynamic ephemeris.
The plane projection is now hard coded to target until it can be
returned from imagesequencer. The dynamic ephemeris is not used for
this at the moment but will come in handy later on.
2015-04-17 22:09:35 -04:00
Anton Arbring 57800d12c7 added the possibility to load a city light/night texture for planets 2015-04-17 21:57:36 -04:00
Anton Arbring 9893a6ee20 Added temp method to get latest image in old imagesequencer 2015-04-17 21:25:33 -04:00
Anton Arbring 8483c9b321 added early return in frameConversion to avoid error 2015-04-17 21:23:16 -04:00
Alexander Bock a974fd62e1 Trigger a post-receive hook 2015-04-17 14:25:39 +02:00
Alexander Bock 8f603f3d09 More linux fixes 2015-04-17 14:22:15 +02:00
Alexander Bock 10d00729a6 More linux fixes 2015-04-17 13:59:57 +02:00
Alexander Bock f5f1b03bc8 More Linux fixes 2015-04-17 13:45:20 +02:00
Alexander Bock b254f56a5e Linux compile fix 2015-04-17 13:38:30 +02:00
Alexander Bock 5198b7f3df Merge branch 'feature/scenegraphloader' into develop 2015-04-17 13:31:54 +02:00
Alexander Bock c01bb7834b Merge branch 'develop' into feature/scenegraphloader
Conflicts:
	src/abuffer/abuffer.cpp
	src/rendering/renderengine.cpp
	src/scene/scene.cpp
2015-04-17 13:31:39 +02:00
Alexander Bock 607988f35e Renamed functions to something more reasonable 2015-04-17 11:35:26 +02:00
Anton Arbring a0fa4eb192 Added function to remove child in SceneGraphNode 2015-04-16 12:09:46 -04:00
Alexander Bock 434bf9ab2a Remove debug output code 2015-04-16 13:51:56 +02:00
Alexander Bock 0180130464 Fix multiple dependencies in SceneGraphNodes 2015-04-13 21:52:23 +02:00
Alexander Bock e7767bff11 More work on SceneGraph
First working and sorted version
2015-04-13 16:07:27 +02:00
Alexander Bock ccd58b7224 More restructuring work on SceneGraph 2015-04-12 14:50:43 +02:00
Anton Arbring b95b7d9bb8 Fixing Jenkins error in spicemanager.h, double namespace qualification 2015-04-10 18:52:20 -04:00
Alexander Bock a65e48b0e3 More work on SceneGraph 2015-04-10 01:38:59 +02:00
Anton Arbring 7c7919a575 Merge branch 'testing' into develop 2015-04-09 17:56:28 -04:00
Anton Arbring 914b3896ad SPICE error handling, position/rotation estimation etc...
- When loading SPICE kernels, coverage for each body is stored.
- If the body does not have spk coverage a position is estimated.
- Added "pulsating" transparency levels for renderableModels with
  estimated position.
- Spice manager clean up, left a few unused methods but removed a lot of
  dead code.
- To support multiple missins being loaded, some errors are simply
  ignored in spicemanager, for better or worse.
- Added start time and stop time as dictionary keys for renderables.
- Made RenderableTrails only show the time between gaps.
- Added but out commented vesta coordinate system swich in renderengine.

NOTE: Renderables using spiceEphemeris will give errors if body keyword
is omitted in modfile (When checking SPK coverage in position update).
2015-04-09 17:35:30 -04: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 5a2c1b8c73 More work on SceneGraphLoader 2015-04-08 14:47:09 +02:00
Alexander Bock 75e21ecefe Added test using absolute paths 2015-04-07 21:47:20 +02:00
Alexander Bock 9b24f407a6 Moving test files into base directory
Adding empty class of SceneGraphLoader
2015-04-07 19:01:04 +02:00
Alexander Bock 6a6114ab84 Fix single side-by-side stereo configuration file
Add __CONTEXT__ lines to last shader files
2015-04-07 00:08:53 +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 bcfe0c6862 Remove unused line in config file 2015-03-04 20:01:55 +01:00
Alexander Bock b846271053 Updated Ghoul version 2015-03-04 19:22:46 +01: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 07a26fa1e9 Setting the current working directory to the actual module directory for each module 2015-03-03 14:28:30 +01:00
Alexander Bock 7da514b7cd Enable operator<< overloading for TemplateProperties 2015-03-03 14:28:08 +01:00
Alexander Bock 94b758765a Added the current time to the on-screen display releases/v0.0.1 2015-02-28 10:10:33 +01:00
Alexander Bock 8f63f39786 Updated openspace-data 2015-02-27 15:50:30 +01:00
Alexander Bock c546b1e1be Updated the OpenSpace version 2015-02-27 15:46:24 +01:00