Alexander Bock
3f1e8d67ca
Added more faster interaction
2014-09-17 20:11:59 +02:00
michal
c1c637efa7
minor fixes, please ref to previous commit
2014-09-10 14:35:44 -04:00
michal
686c7b0b9b
final calibration + scaling fix. Looks good now.
2014-09-10 11:32:23 -04:00
michal
f0f3b08ab6
some cleanup
2014-09-07 16:19:13 -04:00
Alexander Bock
1ed86079e3
Added the RenderableStars fies to the CMakeLists file
2014-09-07 16:16:40 +02:00
michal
da9938584e
Changes to the shaders, code cleanup and simplification. Eliminated lots of minor trivial bugs, should run smoothly.
...
- added shader-side B-V (blue-visible band) index conversion to standard RGB 0-255
- distance-modulus is computed correctly (to the 9th decimal) from one of the interleaved parameters of the vbo
- the apparent magnitudes are in relation to the cameras position in space. (needs a proper overlook / calibration)
- sprite quads are scaled with the apparent magnitude in heuristic fashion (ogl coordinates have really no real relation to empirical data)
TODO:
- Look over the quad scaling which right now is scaled using the z-distance and apparent magnitude, wont work properly if we move outside of the solar system
- Determine if scale of universe is proper
- When zooming out the camera stops at #INF and gets stuck ( had no time to look into this )
- Very red stars need dimming, probably a threshold operation
2014-09-05 16:16:55 -04:00
michal
7bd44efc8e
code optimization, cleanup.
2014-08-30 21:33:30 -04:00
michal
d15ae9d578
some code cleanup. loading of test-target speckfile.
2014-08-30 20:29:14 -04:00
michal
7e078352d0
Fixes to shader pipeline.
...
- Added second shader for points only
- VBO interleaved array passed to both shaders
- passthrough in geom. shader works
- reading of additional scalar data from speck files.
TODO: calibrate scale and apparent brightnesses
2014-08-30 16:40:44 -04:00
michal
b1851e5313
Added geometry shader for halos and separate shader for points. Parsecs->m conversion works and added test-data to datafolder.
2014-08-28 23:04:27 -04:00
michal
30d47896c8
detached head should be fixed
2014-08-27 10:34:47 -04:00
michal
8f3bcdeb54
WIP3: problems with texture coordinates, needs fix.
2014-08-26 19:26:09 -04:00
michal
013d4c5bb6
WIP: intermediary commit, will attempt to run HC's code on this machine.
2014-08-25 17:37:23 -04:00
michal
90ad8b52fd
fixing openspacedata push
2014-08-20 18:42:11 -04:00
michal
40b0b76d80
Read mechanism now creates/reads cached binary.
2014-08-20 16:05:55 -04:00
michal
d75171c69b
Added new class renderablestars.cpp for rendering starfields.
...
As for now only reads and stores *.speck file data.
TODO:
1. write cache mechaninsm (load avg ~15 sec)
2. fix render function.
3. add textures.
2014-08-20 11:29:31 -04:00
Michal Marcinkowski
aba319cbba
Added SPICE C++ wrapper library with google tests and kernels
...
At this moment only the (by NAIF considered) most cruicial
c_spice API's have been covered, such as getting state vectors
from one reference frame to another, simple time conversions,
load/unload of single and multiple kernels etc. All of which as
described in:
http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/info/mostused.html
Also added linker flag to except the LIBCMTD.lib as it caused conflicts
on Windows.
2014-08-04 20:43:23 +02:00
Michal Marcinkowski
69fc0e19e2
Added SpiceManager and enabled $(BASE_PATH) setting from calibration file
2014-07-28 14:36:25 +02:00
Jonas Strandstedt
c5c42f2d72
Fixed crash for secondary node
...
- Added SGCT config two_nodes.xml
2014-05-22 13:50:35 -04:00
Jonas Strandstedt
472869e1db
Fix for Flare
...
- Fixed timestep error in Flare
- Added option to compile openspace with Flare only
2014-05-22 12:57:54 -04:00
Alexander Bock
2bfbdbb905
Added copy constructor to PowercaledCoordinate class
2014-05-13 22:05:34 +02:00
Alexander Bock
3520bd121e
Renamed pss to PowerScaledScalar
2014-05-11 18:34:57 +02:00
Alexander Bock
37e5e63b70
Updated ghoul version; some code cleanup
2014-05-11 18:22:20 +02:00
Alexander Bock
9bc084bf81
More PowerscaledCoordinate cleanup
2014-05-11 15:59:48 +02:00
Alexander Bock
89142340d0
PowerscaledCoordinate cleanup
2014-05-11 15:01:55 +02:00
Alexander Bock
40a2cb1068
Renamed psc to powerscaledcoordinate and pss to powerscaledscalar
2014-05-11 14:32:42 +02:00
Alexander Bock
f14daa0999
Update ghoul version; Enable triggering of APCs
2014-05-09 20:06:46 +02:00
Jonas Strandstedt
1851f55c35
Merge branch 'develop' of openspace.itn.liu.se:/openspace into develop
2014-05-06 12:46:05 -04:00
Jonas Strandstedt
541f080bfe
Fixes to remove warnings and camera distance fix
2014-05-06 12:45:18 -04:00
Alexander Bock
6cfdd130bc
Code cleanup of PowerScaledSphere
2014-05-06 18:19:53 +02:00
Alexander Bock
d09a1e0b54
Misc work
...
More cleanup of RenderablePlanet
Added const modifier to pss method
Added faster travel method for interactionhandler
2014-05-05 18:04:53 +02:00
Alexander Bock
44a8f6dfda
Cleanup of RenderablePlanet
2014-05-05 17:39:45 +02:00
Alexander Bock
a86d544812
Created classes for PlanetGeometry
...
Added SimpleSphereGeometry
Created infrastructure for added other geometries
2014-05-05 17:28:46 +02:00
Jonas Strandstedt
d7eb868dde
Static assert fix and minor changes
2014-05-05 11:12:11 -04:00
Alexander Bock
5e758b16d1
Misc work
...
Added ext/kameleon to .gitignore
moved renderableplanet to a subfolder
2014-05-05 12:41:41 +02:00
Alexander Bock
5769919ea6
Work on FactoryManager
...
Renamed factoryByType to factory
Store generic factories inside of FactoryManager
2014-05-05 12:37:18 +02:00
Alexander Bock
636f5327aa
Code cleanup regarding scenegraphnodes
2014-05-05 12:15:20 +02:00
Joakim Kilby
ae88c0dd6d
Deleting constantephemeris.cpp
2014-05-05 10:47:44 +02:00
Alexander Bock
a7fba6363f
Added missing ephemerides files
2014-05-05 08:15:27 +02:00
Alexander Bock
283a55f4de
Included commented out version of new camera class
...
adapted RenderableVolume to use ModulePath
2014-05-05 00:04:00 +02:00
Alexander Bock
56f22d79c3
Some work towards multi-pipe
2014-05-04 18:35:23 +02:00
Alexander Bock
8a7bcc0036
Cleanup of Camera class
2014-05-04 17:06:35 +02:00
Alexander Bock
7f7e25fd8b
More work on ephemerides
2014-05-04 16:50:20 +02:00
Alexander Bock
794a88060f
Rename "PositionInformation" to "Ephemeris"
2014-05-04 16:31:36 +02:00
Alexander Bock
e84c26aeb7
Renamed constants for dictionary keys
...
Created static creation method for Renderables
2014-05-04 16:18:35 +02:00
Alexander Bock
ba0580feae
Move dictionary/configuration key constants into their own file
2014-05-04 15:41:40 +02:00
Alexander Bock
982ec8b87c
Restructured SceneGraphNode code
2014-05-04 15:28:07 +02:00
Alexander Bock
2bf71ad9b6
More cleanup
2014-05-04 14:16:53 +02:00
Alexander Bock
cb6298b615
Cleanup of OpenSpaceEngine code
...
Renamed openspace.cfg variables to conform with format in scene description
2014-05-03 20:46:53 +02:00
Alexander Bock
ac38f73faa
More property work
...
Add StringProperty
Add possibility for callbacks
Switch RenderablePlanet to use Properties
2014-05-03 19:53:12 +02:00