Commit Graph

4181 Commits (889046a12d9aa5f1f06ae6459c3746ad1dd7ac20)

Author SHA1 Message Date
Chris Laurel 889046a12d Removed some redundant calculation in renderer to speed up creation of render lists. 2008-04-05 23:22:39 +00:00
Chris Laurel c3a6bf8ce0 Fixed display of apparent magnitude and distance in Qt4 star browser. The
current time was not being used to compute star positions, so calculations
for stars in multiple systems were incorrect at dates other than J2000.0
2008-04-04 18:11:37 +00:00
Chris Laurel ee2209c1d9 Fixed incorrect bounding radius calculation for position+velocity trajectories. 2008-04-04 01:40:43 +00:00
Chris Laurel dcb255db2a Removed renderer debugging code accidentally left in from planetshine patch. 2008-04-03 21:14:42 +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
Chris Laurel 9017964c44 Implemented xyz+velocity sampled trajectories (xyzv files) for better accuracy. 2008-04-03 01:26:36 +00:00
Chris Laurel f86ba2b6dd Added types for Celestia trajectories to DetermineFileType function. 2008-04-02 20:16:09 +00:00
Chris Laurel f7bba01892 Added typename to iterator initialization in samporbit.cpp to make
g++ happy.
2008-04-02 02:48:45 +00:00
Chris Laurel 9747bf9ce7 Sampled trajectory improvements:
- implemented computeVelocity method for sampled trajectories
- use better approximation for velocity at sample points (three-point finite difference)
2008-04-02 01:05:52 +00:00
Da Woon Jung b6f3c30a51 Added HDR compile targets (experimental) 2008-03-30 01:08:24 +00:00
Grant Hutchison bb6281f60d Added HD 187123 c 2008-03-29 18:40:37 +00:00
Da Woon Jung a26e7a5fbc Fixed white rect covering window on some win, linux nvidia configs when hdr bloom is enabled. 2008-03-27 15:59:54 +00:00
Grant Hutchison e24fee5613 Added CoRoT-Exo-1 b and CoRoT-Exo-2 b 2008-03-26 23:41:40 +00:00
Grant Hutchison 055988e5c7 Added CoRoT-Exo-1 and CoRoT-Exo-2 2008-03-26 23:39:42 +00:00
Pat Suwalski b2e321f664 Fixing executable property on new shaders. 2008-03-26 05:03:26 +00:00
Chris Laurel b1057d803e Fixed a picking bug that occurred when an object's frame parent was defined with respect to a different star system than it's namespace parent. This was a problem when planets were defined in a frame centered on the solar system barycenter. The picking code had never been updated to use the frame hierarchy; this change corrects the oversight. 2008-03-26 00:49:04 +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
Fridger Schrempp b950e37ddc Updated Celestia Resources to include Celestial Matters Website and Forums. 2008-03-24 22:39:33 +00:00
Chris Laurel 96792c24f0 Implemented a simple memory pool class, useful for allocating lots of
small objects that will be freed simultaneously.
2008-03-24 21:46:07 +00:00
Chris Laurel bef4677954 Fixed bug 1924243 (Planetographic grid bug.) Celestia was crashing because the grid geometry was being deleted whenever a grid was disabled. Removing the incorrect delete fixed the problem. Also repositioned the long/lat labels so that they don't appear to float in the sky when the viewer is close to a planet. 2008-03-24 17:45:04 +00:00
Da Woon Jung fda62da1d8 Slight Mac project cleanup. 2008-03-24 00:15:38 +00:00
Chris Laurel 1033c3a7e4 Fixed bug 1923254 "invisible planet crashes Celestia". The code to pick the preferred distance from a reference point wasn't checking for the case when the point had no child objects. A simple check for NULL fixed the problem. 2008-03-23 19:57:26 +00:00
Chris Laurel 9303aa6028 Fixed broken rendering of background markers. Markers behind the viewer were
being rendered. Added code to cull markers outside the field of view, fixing
the bug and improving performance when lots of markers are enabled.
2008-03-21 23:38:05 +00:00
Grant Hutchison de309f541b Added WASP-5 2008-03-21 18:32:38 +00:00
Grant Hutchison 667f1d6ff8 Added WASP-5 b 2008-03-21 18:32:06 +00:00
Chris Laurel e0355024da Added planetgrid.cpp, planetgrid.h, and referencemark.h to MS Visual C++ project file. 2008-03-21 02:14:42 +00:00
Chris Laurel d43d48fb95 Added clipboard commands to Qt4 front-end: copy/paste URLs to clipboard, grab screenshot to clipboard. 2008-03-21 02:11:22 +00:00
Chris Laurel f3a16a18a6 Modified Mac OS X front-end to use new reference marks; added planetographic
grid option to popup menu.
2008-03-21 00:29:17 +00:00
Chris Laurel 7e3f6b31c8 Added files renferencemark.h, planetgrid.h, and planetgrid.cpp to Xcode
project.
2008-03-20 23:34:41 +00:00
Chris Laurel 370785de22 Added support for star InfoURLs to Mac OS X front end. 2008-03-20 23:33:41 +00:00
Chris Laurel dec4ef6f53 Added workaround for missing GL_SHADING_LANGUAGE_VERSION_ARB define in
Mac OS X headers (use GL_SHADING_LANGUAGE_VERSION instead.)
2008-03-20 22:07:21 +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 bdeab29074 Added code for profiling octree. The profiling code calculates and displays the number of nodes and objects at each level of the octree. 2008-03-20 19:21:56 +00:00
Chris Laurel 585fb39859 Feature tracker item 1885951:
Added LogSize option to celestia.cfg. The value of LogSize controls the number of rows in Celestia's console log. Added comment and usage example to celestia.cfg.
2008-03-19 22:34:05 +00:00
Chris Laurel dcc1d75b99 Improved goto distance for reference points. When the user goes to the reference point, the default view distance will be large enough so that all objects with orbits centered on the point will fit in the view. 2008-03-19 05:08:33 +00:00
Chris Laurel 1f571f5749 Added OpenGL extensions ARB_half_float_pixel, ARB_depth_texture, and EXT_frame_buffer_object to glext.cpp. 2008-03-19 02:53:29 +00:00
Chris Laurel 83c0521f68 Implemented OpenGL Info dialog for Qt4 front-end. 2008-03-17 04:11:33 +00:00
Chris Laurel c7dae56a84 Eliminated the 16k light year distance limit for stars. The limit is increased
to 10 million light years, large enough to contain local group of galaxies. It
should be possible to increase this further by simply changing the setting
of STAR_OCTREE_ROOT_SIZE in stardb.cpp, but the performance implications need
to be investigated.
2008-03-15 00:19:27 +00:00
Chris Laurel 587949028f Added splash image for InnoSetup install script. 2008-03-14 19:17:54 +00:00
Chris Laurel ef3a921bc1 Windows makefile fixes:
- Remove SPICE and LUA files when performing a 'make clean'
- Added define to make Visual C++ omit warnings about using 'unsafe' STL functions
2008-03-13 19:44:50 +00:00
Chris Laurel 1116959eb3 Optimized and cleaned up EllipticalOrbit class.
- Added velocityAtTime() method
- Precalculate the frame to orbital plane rotation matrix
- Switched to more standard coordinate conventions in code to calculate position
2008-03-13 19:16:55 +00:00
Chris Laurel 0354f32d1f Fixed bugs in rotation classes. Added missing isPeriodic method for IAURotations, fixed reversed angular velocity calculation for custom rotations. 2008-03-13 19:11:22 +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 9c9f0eec6b Added new files to MS Visual C++ project file. 2008-03-12 19:08:58 +00:00
Chris Laurel 2a469e015a Fixed Qt4 interface so that Ctrl+A and Ctrl+Z don't accelerate/decelerate the
observer.
2008-03-12 00:36:08 +00:00
Chris Laurel ef94967c18 Added ephemeris for Helene, Calypso, and Telesto based on theory by P. Oberti, et al 2008-03-11 21:50:55 +00:00
Chris Laurel dc1093c352 Added IAU rotation elements for Martian and Jovian satellites. 2008-03-11 02:26:52 +00:00
Chris Laurel 8895e95a88 Corrected reversed conditional logic in BodyMeanEquatorFrame. This caused the equatorial frames for bodies with changing equatorial planes to not work properly. 2008-03-10 02:44:12 +00:00
Da Woon Jung 9efa55df47 Fixed broken Mac compiles. 2008-03-10 00:13:49 +00:00
Chris Laurel 8c2f87b214 Implemented InfoURLs for stars (stc files only.) 2008-03-09 22:38:54 +00:00