Commit Graph

119 Commits (47a792e83c4e2a94508211722e3be391293e1579)

Author SHA1 Message Date
Chris Laurel 07f2c2bf30 Fixed resource name generation for sensor geometry to ensure that the
name is always unique for a body.
2012-02-25 01:52:46 +00:00
Chris Laurel 7512d65311 Updated SensorGeometry so that frustum base color may be set separately in
in an SSC file.
2010-12-21 23:54:45 +00:00
Chris Laurel bff08a31dc Added Shape parameter for Sensor geometry--options are elliptical and
rectangular. Switched to exponential arrangement of slices in sensor
frustum.
2010-12-02 08:24:07 +00:00
Chris Laurel 9d8a301551 Fixed rendering of sensor geometry:
- Account for geometry orientation in intersection calculation
- Draw sensor out to its range when it doesn't intersect the target body
2010-11-30 20:54:22 +00:00
Chris Laurel 9840a67473 Enabled grid and appearance attributes for sensor frusta. 2010-11-30 00:04:02 +00:00
Chris Laurel 3616bdf92d Implemented horizontal and vertical FOV properties for sensor frustum geometry. 2010-11-26 19:04:53 +00:00
Chris Laurel 56d3466bc1 Skeleton implementation of sensor geometry. Parsing of Sensor geometry in
ssc files, but code currently currently just draws a line.
2010-11-24 04:27:28 +00:00
Chris Laurel dcf48155a8 Fixed bug that made a solar system object invalid when Modify was used to
override properties of an object with a multiphase Timeline.
2010-05-17 16:56:04 +00:00
Andrew Tribick a2191a3650 Added units support to parser and tokenizer. Units are specified inside angle brackets after the property name. 2009-12-16 19:23:51 +00:00
Chris Laurel 9cf68b5169 Eigenized parser and app core code. 2009-07-25 22:18:51 +00:00
Chris Laurel abeb350f5b Eigen conversion:
- Eigenized locations and some cube map code in texture.cpp
- Removed eigenport.h include from completely converted modules
2009-07-24 23:02:23 +00:00
Chris Laurel 80d0e02d3b Eigenized all rotation model code. 2009-07-23 21:09:12 +00:00
Chris Laurel db1ce7d79a Eigenized atmosphere code. 2009-07-23 03:11:40 +00:00
Chris Laurel c4aa846945 Eigenized 3ds and cmod mesh code. 2009-07-23 02:58:10 +00:00
Chris Laurel 86d1808519 Eigenized Body and Selection classes; adapted dependent code. Removed some
miscellaneous compile warnings in other modules.
2009-07-16 23:37:48 +00:00
Chris Laurel 78202393aa Eigenized star code. 2009-07-16 03:27:11 +00:00
Pat Suwalski 97447e6cf3 Removing CRLF line endings which somehow existed on some but not all
lines.
2008-10-30 07:02:31 +00:00
Chris Laurel b9f98db57f Added property for atmosphere to control cloud shadow depth; currently any value greater than 0 is treated as 1 (full cloud shadows.) 2008-09-29 21:07:30 +00:00
Chris Laurel 58a634722c Implemented NormalizeMesh property for solar system bodies. This property makes it easier to build assemblies from several bodies with mesh geometry. 2008-09-22 21:03:43 +00:00
Chris Laurel 251aae9233 SSC parser changes to make it easier to place objects on planet surfaces:
- Extended FixedPosition to support planetocentric and planetographic
  coordinates.
- Added FixedAttitude rotation model, with more intuitive parameters for
  orientation.
- Added Topocentric frame
- Added new SurfaceObject type for ssc files; like an ordinary body except
  that the OrbitFrame defaults to BodyFixed of parent, and BodyFrame defaults
  to Topocentric.
2008-08-29 23:33:15 +00:00
Chris Laurel 0f3574c2da Added LabelColor property for locations. 2008-07-25 23:08:52 +00:00
Chris Laurel 41efec9e08 - Added abstract class Geometry; this will permit geometry other than
static models to be used for objects.
- Replace body, star, and DSO instances of Model with Geometry
- Renamed ModelManager to GeometryManager
- Fixed a GeometryManager bug that was triggered by multiple uses of a mesh
  file with different MeshCenters.
2008-07-23 21:54:53 +00:00
Chris Laurel e7645a774f Introduced support for multiple names for solar system objects. As with
stars and DSOs, names are separated by colons.
2008-07-19 21:41:30 +00:00
Chris Laurel 38075ecc01 Simplified frame specification in ssc files with default centers; this
eliminates the need to provide centers for body frames, and can also simply
some orbit frame definitions.
2008-06-17 02:18:38 +00:00
Chris Laurel 7e117ee0fd Added diffuse and minormoon classes. 2008-04-14 18:48:13 +00:00
Chris Laurel f677586303 Fixed ssc parser bug that caused crash when Replace disposition was used on an object with a bad timeline. Also improved log messages by including object name along with timeline errors. 2008-04-08 01:27:21 +00:00
Chris Laurel d216a98755 Implemented secondary illumination (e.g. planetshine.) Rewrote much of the code that contructs render lists to make it possible to do compute secondary illumination efficiently. This patch fixes two other bugs. The orbit of barycenters is shown when they have children that are planets, moons, or asteroids. And, an incorrect frame release was fixed in solarsys.cpp. 2008-04-03 17:46:45 +00:00
Da Woon Jung e59f4b4b54 HDR bloom, adaptive exposure, calibrated nightlights - disabled by default, enable with USE_HDR and HDR_COMPRESS. 4 new vertex programs added. 2008-03-25 00:23:16 +00:00
Chris Laurel e4a28ef68a Implemented more flexible system for reference marks. Reference mark objects lists are maintained instead of simple bitfields, allowing customization of reference mark parameters (e.g. arrow size, planet grid style, etc.) There are three new reference mark types: planetographic grid, spin vector, and body-to-body vector. The Qt4 and Win32 front ends have been updated; Gtk, KDE, and Mac interfaces need to be updated to use the new code for toggling reference marks.
This change also includes a fix for two problems with Replace:
- objects were being reordered so that selection with the 1-9 keys no longer worked as expected.
- children of Replaced bodies were being deleted
2008-03-20 21:36:17 +00:00
Chris Laurel 884dbf7c9a Fixed crashing bug in solar system parser that occurred when the Modify disposition was used with an object that didn't already exist. Such objects are now treated as if the disposition were 'Add' instead. 2008-03-13 17:26:14 +00:00
Chris Laurel 864e2adaaa Fixed crash when beginning >= ending in an ssc file. An ssc error is reported instead. 2008-03-07 20:22:08 +00:00
Chris Laurel ed2b1319d8 Improved ssc file parser to allow a reference frame to reference the body that owns it. This eliminates the need to use Modify for body frames that depend on the position of the body itself (such as LVLH frames.) 2008-02-28 09:34:29 +00:00
Chris Laurel 95510cf348 Fixed bug 1900883 (SSC Ending ignore). Parser was skipping Ending whenever Beginning was specified due to a bug introduced when Timeline support was added. Also fixed a bad error message in the SSC parser. 2008-02-24 18:46:04 +00:00
Chris Laurel eba1b9940c - Implemented framework for Orbit and RotationModel subclasses to implement their own velocity and angular velocity methods to use instead of numerical differentation. Actual implementation of velocity methods will wait until further discussion on the developers list.
- Implemented Timelines for solar system bodies. A timeline allows a body to have different reference frames, orbits, and rotation models over time.
2008-02-21 02:25:48 +00:00
Chris Laurel 0cda718f63 Added new ssc object flags for visibility, orbit color, and orbit visibility. Added ssc properties for visibility and orbit color, celx methods for all new flags. 2008-02-04 00:17:35 +00:00
Chris Laurel b1982a520d Updated Body class to allow all three ellipsoid axes to be specified independently via SemiAxes property. 2008-02-01 01:37:49 +00:00
Chris Laurel 4a5b66a62c Added a Clickable property for ssc objects, similar to request in feature
tracker item 1704255.
2008-01-31 20:04:01 +00:00
Da Woon Jung 6916a937aa Mac Qt patch 2008-01-18 06:08:18 +00:00
Toti ecec6f1c73 Removed unused parameters that caused GCC warnings 2007-12-22 20:05:27 +00:00
Chris Laurel 164122b645 Removed OrbitBarycenter field for ssc objects (superceded by reference frames.) 2007-11-12 18:14:02 +00:00
Da Woon Jung aa23254863 Enabled relative paths for InfoURLs. 2007-11-01 00:20:05 +00:00
Chris Laurel 4c8281e197 Fixed circular reference check for frames. 2007-10-23 12:34:22 +00:00
Chris Laurel eeb754f3a8 SSC parser was ignoring the OrbitFrame for ReferencePoints. Added code to set the orbit frame. Fixes bug 1733395. 2007-10-23 02:47:25 +00:00
Chris Laurel fe576db4b0 Added code to catch and report circular reference frames in ssc definitions. 2007-10-23 01:40:32 +00:00
Chris Laurel 2d8fac9b8c Use double precision for rotation and precession periods. Orbital periods are doubles already, so switching rotation periods to doubles means that synchronous rotation will never drift due to precision differences. 2007-01-24 10:26:52 +00:00
Chris Laurel 37b1cc1226 Improved precision of LongLat positions. 2006-12-07 06:44:31 +00:00
Chris Laurel b398befbf2 Changed CreateBarycenter() to CreateReferencePoint() 2006-12-03 09:08:35 +00:00
Toti 1c759f71b4 Fixed memory leak 2006-11-25 22:52:04 +00:00
Chris Laurel e335ffb8bf Changed 'Point' to 'ReferencePoint' 2006-11-23 18:49:24 +00:00
Chris Laurel 420150a3cb Added Point objects for ssc files (name is likely to change.) 2006-11-22 07:56:55 +00:00