Commit Graph

20 Commits (668fd219cc7d18ca3887ea0125a694edaea02747)

Author SHA1 Message Date
Levin Li 668fd219cc Render lines with triangles 2021-01-03 17:21:55 +08:00
Levin Li 1f150db611 separate modelview and projection 2020-10-06 13:39:09 +08:00
Hleb Valoshka 6e8dbde814 Remove unneeded glUseProgram(0) 2020-08-05 09:58:26 +03:00
Hleb Valoshka c588f80824 OpenGL ES 2.0 initial support 2020-06-15 19:27:46 +03:00
Hleb Valoshka 1fb1f2de91 Replace fixed function GL code with GL ES compatible one 2020-05-12 15:59:56 +03:00
Hleb Valoshka daf34b5656 Port to "unlit" lighting model 2020-04-30 10:23:19 +03:00
Hleb Valoshka 5d4b23f241 Use shaders in sky grid drawing 2019-11-25 15:11:37 +03:00
Hleb Valoshka f3a73dae71 Move math code into celmath namespace 2019-05-20 10:48:04 +03:00
Hleb Valoshka 1e80930a6d Use Eigen::Vector*::Unit*() and Eigen::Vector*::Zero() here and there 2018-11-08 11:06:17 +03:00
Hleb Valoshka b082d5f47f Automatically convert to c++11 using clan-tidy
+ manual cleanups
2018-09-22 23:42:02 +03:00
Hleb Valoshka 882e4ecf28 fix whitespaces and indents
trailing spaces are removed
tabs are replaced with 4 spaces

# Conflicts:
#	src/celengine/cmdparser.cpp
#	src/celengine/command.cpp
#	src/celestia/celestiacore.cpp
#	src/celestia/celestiacore.h
#	src/celestia/qt/qtappwin.cpp
#	src/celestia/qt/qtglwidget.cpp
#	src/celestia/win32/winmain.cpp
2018-09-22 23:41:57 +03:00
Chris Laurel 89d0ef130a Eigenized all orbit and trajectory calculations. 2009-07-23 01:40:17 +00:00
Chris Laurel 9cca6b8c27 Eigenized Observer and Simulation classes. Fixed star picking bug. 2009-07-22 04:53:15 +00:00
Chris Laurel 479ef22e15 Eigenized reference mark, label, and marker code. 2009-07-21 04:04:26 +00:00
Chris Laurel 7272945657 First round of Eigen-izing the core Celestia code. 2009-07-15 03:06:30 +00:00
Andrew Tribick 149959f8b2 Fixed some compiler warnings when building under gcc 4.3. 2009-01-26 20:49:35 +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 7b37139d19 Sky grid fixes:
- Changed name of LatitudeUnits to LongitudeUnits
- Added check to verify that argument of asin is inside (-1,1); slightly
  out of range values can result from rounding errors.
- Added setLongitudeDirection method; necessary because longitude increases
  eastward (clockwise) in the horizontal coordinate system, ccw in every
  other system.
2008-05-30 01:38:12 +00:00
Chris Laurel c1f1054b2f Fixed bugs and enhancements in new sky grid code:
- Parallel spacing was off by a factor of two
- Fixed rotation bug that caused problems with grid orientations other than equatorial and ecliptic
- Allow labeling of longitude in degrees instead of hours
2008-05-29 19:24:39 +00:00
Chris Laurel 42fd60366c Committed new sky grid code in new files skygrid.cpp/h. Not enabled yet. 2008-05-28 20:58:26 +00:00