Commit Graph

74 Commits (173350def1db59818be8a1c6f2c984fcd42746dd)

Author SHA1 Message Date
Chris Laurel 76081d6603 Implemented two pass approach for rendering: opaque objects are rendered first, transparent ones second. Subpixel sized objects are also rendered with transparent objects and after orbit paths. This fixes the problem where orbit paths were occluding point sized objects. 2006-09-11 00:37:20 +00:00
Chris Laurel 8c5a08f26a Depth sorting and orbit fixes:
- Show and highlight orbit of selected object
- Show star orbits
- Remove depth sorting debug spew
- Correctly orient orbit paths when the orbit is referred to the ecliptic rather than the parent body's equator
2006-09-08 05:59:38 +00:00
Chris Laurel aa9c6a3c64 - Replaced the old depth sorting algorithm with a new, cleaner, faster, and more robust scheme.
- Overhauled orbit path rendering so that orbit paths get correctly depth sorted
2006-09-07 08:08:32 +00:00
Chris Laurel 9389ea3b78 - Fixed bug in the eclipse shadow test; objects close to the surface of the lit side of a planet were incorrectly rendered with shadows
- Added a render flag for cloud shadows
- Made the OpenGL 2.0 path respect the ring shadow render flag setting
2006-07-26 17:21:23 +00:00
Chris Laurel 4fa5c3475f Enabled new star rendering path as an option--uses point sprite extension, new glare textures (gaussian), and dynamic star labeling. 2006-03-08 18:29:10 +00:00
Fridger Schrempp 0493b69176 add comet tail vanishing code, distance sorted label display 2005-12-11 15:34:35 +00:00
Chris Laurel ffca320843 Use OpenGL point sprite extension for rendering stars (work in progress) 2005-11-25 22:57:20 +00:00
Chris Laurel 974213f905 Integrated changes from Fridger and Toti's Celestia FT 1.2 2005-11-18 09:00:39 +00:00
Chris Laurel f5f14ee5ab Render orbits paths in multiple passes so that they are drawn correctly when they appear in front of a planet or other body (another Joseph Wang fix) 2005-07-25 16:38:09 +00:00
Christophe Teyssier ae7095edd7 Added i18nName to the Asterism class and a renderer label flag to display
localized names of constellations.
Removed some redundant calls to gettext when rendering labels
Added KDE menu entry and preference to toggle I18nConstellationLabels
2005-07-21 22:35:18 +00:00
Chris Laurel 57ff878447 Added separate render and label flags for the various types of deep sky objects. This will break some scripts and cel:// URLs that relied on the 'show galaxies' flag to also show nebulae, but this is the inescapable cost of moving to a more flexible set of render settings. 2005-02-11 06:09:37 +00:00
Chris Laurel 384e3ca8b7 Fixed lighting bug that occurred when multiple solar systems were rendered. Solar system centric light source positions from the wrong solar system were being used, resulting in completely incorrect illumination. 2004-11-11 09:41:51 +00:00
Chris Laurel d76044133a Implemented shadows on rings for GLSL render path. 2004-10-23 09:30:14 +00:00
Chris Laurel 496fd54645 - Added separate specular texture support to GLSL path
- Implemented eclipse shadows for GLSL path
2004-10-19 17:52:43 +00:00
Chris Laurel dcb8910d67 - Improved precision of axial rotation calculation
- Replaced oblateness with semiAxes, allowing general ellispoids to be used for stars
2004-10-07 17:52:22 +00:00
Chris Laurel 0cae2cc3e2 - Made orbit path rendering work for multistar systems
- Added foundations of multiple light source rendering
2004-10-04 06:35:33 +00:00
Chris Laurel 304c984e62 Implemented complex star systems:
- Barycenters may be defined in .stc files; star orbits may be defined with respect to a fixed or moving barycenter
- Eliminated BarycenterIsOrigin flag; barycenters are a more general solution
- Previously, just the closest solar system was rendered; changed renderer to show planets for all solar systems visible
- Added automatic star catalog number generation, so stars can be defined with just a name.  Some futher work required to make these stars work correctly in cel:// URLS.
2004-10-02 10:44:49 +00:00
Chris Laurel 12d827d29e Implemented StarDetails class which contains information that was formerly in StellarClass. Stars may have custom details with orbits, textures, meshes and other extended information. 2004-09-20 03:27:50 +00:00
Chris Laurel 35c0798aac Fixed longstanding bug where two objects having overlapping bounding spheres would get incorrectly rendered, with one completely in front of the other. 2004-06-26 08:22:20 +00:00
Chris Laurel 8fd1d6ff26 Implemented an option to display just the portion of object's trajectory that it has travelled as of the current time. Currently, there is no keystroke bound to toggle this option on and off; it can only be enabled from scripts (.cel and .celx) 2004-06-01 07:27:17 +00:00
Chris Laurel e2fdfd26e3 Depth sort labels for solar system objects so that they're correctly occluded. 2004-05-18 17:31:26 +00:00
Harald Schmidt b3598e91d2 Added getMinimumOrbitSize as counterpart for setMinimumOrbitSize. 2004-03-21 19:26:54 +00:00
Chris Laurel 99c60e1d3c Added to the config file rendering detail options for orbits, shadows, and rings. 2004-03-15 18:51:16 +00:00
Chris Laurel 329aa57aa9 Display Bayer designations with Greek letters 2004-02-28 09:30:17 +00:00
Chris Laurel df98cc39cd Improved mesh support:
- Use more efficient and flexible internal representation
- Added code to convert 3DS meshes to new structure
- Support new Celestia mesh format (ASCII-only right now)
2004-02-17 09:58:52 +00:00
Chris Laurel e3a3e5c0be Fixed two bugs in location visibility calculation: locations behind the camera were sometimes rendered anyway, and labels were being shown for locations still below the horizon. 2003-08-01 06:32:43 +00:00
Chris Laurel dcfc3e56db Added star styles: normal fuzzy points, points, and scaled discs. Added orbit mask separate from the show all orbits bit of renderFlags. Vary color of orbits based on object class. 2003-07-08 15:31:34 +00:00
Chris Laurel 022ee7fc44 Improved orbit rendering. Orbits may be turned on and off separately for each object class. Sampled trajectories are now rendered completely and with the extra 'loop' segment omitted, 2003-07-05 00:22:01 +00:00
Chris Laurel 28d7af9428 Correctly compute the positions of locations on the surface of irregular (i.e. mesh) bodies. 2003-06-24 06:31:19 +00:00
Chris Laurel 8547cf5623 Use the location feature type filter to determine which locations to display. 2003-06-23 14:04:28 +00:00
Chris Laurel 93568a5890 Implemented size and importance properties for locations.
Added minimum feature size control to renderer.
Made renderer respect LocationLabels setting.
2003-06-18 18:35:59 +00:00
Chris Laurel ca2f35af81 Implemented surface locations 2003-06-17 17:40:49 +00:00
Chris Laurel 6e4d02e324 Added support for alternate surface textures for planets/moons/etc. 2003-06-09 03:57:43 +00:00
Chris Laurel 090acc75c7 New and improved atmosphere rendering code 2003-05-26 02:27:27 +00:00
Chris Laurel 1cc1c5a5a1 Made time a property of the observer instead of the simulation. Added get/setSyncTime method to Simulation. By default, it's on, so time changes are broadcast to all observers. Currently, there's no UI support for disabling sync time. 2003-02-22 06:49:37 +00:00
Christophe Teyssier aa22a3ecd9 Added getGLContext public method 2003-02-19 23:25:26 +00:00
Chris Laurel e7d8fb331e Infrastructure for different rendering paths, includings ones which use ARB_vertex_program instead of NV_vertex_program 2003-02-19 17:48:25 +00:00
Chris Laurel 478aafec68 Changed FOV to be a property of the observer. 2003-02-14 18:07:47 +00:00
Chris Laurel bdf0268fc7 Moved pickRay method to Observer 2003-02-12 10:27:09 +00:00
Chris Laurel 7882c880d2 Implemented markers 2003-02-01 04:42:21 +00:00
Chris Laurel 6218428245 Added new DeepSkyObject base class for Galaxy and Nebula 2003-01-29 05:47:50 +00:00
Fridger Schrempp 2792e844d0 making calcPixelSize public 2003-01-01 23:48:15 +00:00
Fridger Schrempp d05b3e52ad Incorporate setting of faintest mag at 45 deg FoV if Automag=ON 2002-12-11 20:27:35 +00:00
Chris Laurel eb8993c44d Fixed night light rendering when specular and bump textures are enabled. 2002-11-21 18:18:21 +00:00
Chris Laurel 142ce492aa Improved distance sorting for objects; fixes the case when a small satellite orbiting close to a planet was incorrectly occluded. 2002-11-04 04:14:07 +00:00
Chris Laurel eb4cca6f2c Added shadows cast from rings onto planets. 2002-09-23 01:59:15 +00:00
Fridger Schrempp 5b030588ec Added tuning of AutoMag 2002-09-22 14:51:35 +00:00
Chris Laurel 757dc67ddc Added distance filtering for stars and rendering flag for comet tails and ring shadows. 2002-09-09 03:50:37 +00:00
Fridger Schrempp cc5d6534e3 AutoMag declarations 2002-06-22 15:16:27 +00:00
Chris Laurel 4b0c4d8704 Fixed broken OpenGL extension crud. Again. 2002-06-17 02:41:11 +00:00