Commit graph

38 commits

Author SHA1 Message Date
Brad Davis
76f236adf6 New stereo rendering implementation 2015-08-21 00:29:24 -07:00
Sam Gateau
5baf993c24 fixing the stars again 2015-07-29 16:27:45 -07:00
Sam Gateau
269db0ff6f fixing the stars rendering that was vilently broken durign the hunt for GPUCOnfig.h includes 2015-07-29 16:08:16 -07:00
Andrew Meadows
77a12eb50e compile on linux with GLEW 2015-07-28 17:53:01 -07:00
Bradley Austin Davis
68cf3776f0 Make stars a little smaller 2015-07-22 13:44:37 -04:00
Bradley Austin Davis
d6994c6dfd Restoring star size and color variation 2015-07-21 19:22:10 -04:00
ZappoMan
648d0f6d43 fix a bunch of warnings 2015-07-20 15:12:27 -07:00
Brad Davis
23b058e4eb Removing starfield tilt and reducing grid alpha 2015-07-20 11:40:12 -07:00
Brad Davis
5159452335 Fixing invalid vector usage and strange picking crash 2015-07-19 23:03:46 -07:00
Brad Davis
4c3cfe1e82 Starfield jazz hands 2015-07-19 20:53:50 -07:00
Brad Davis
c446bb307d Adding convenience return *this to many transform methods 2015-07-18 16:56:32 -07:00
Brad Davis
e4f6586c3c Working on star rendering, removal of naked GL 2015-07-18 16:40:54 -07:00
Brad Davis
d68618e206 Removing GL headers from most files, and some naked GL from application.cpp 2015-07-18 00:46:09 -07:00
Seth Alves
508ae276c6 enable -Wdouble-promotion 2015-06-16 18:23:10 -07:00
Stephen Birarda
94739cf8d3 move number constants out of SharedUtil to NumericalConstants 2015-05-01 10:26:53 -07:00
Sam Gateau
738369e21f Replacing glutSolidSphere by a cached Geometry
Instead of calling glutSolidSphere, just call Application::getInstance()->getGeometryCache()->renderSphere(...)

- replaced all the instances of "glutSolidSphere"
- Changed the atmosphere shaders so instead of drawing a sphere of the size of the atmosphere, we draw a unit sphere, the vertices get scaled at the right radius in th vertex shader using  fOuterRadius
2014-10-03 16:55:58 -07:00
Stephen Birarda
684c6b5372 run regex header replacement on all cpp files 2014-04-09 09:35:42 -07:00
Andrew Meadows
aa8c2fc8cb use radians instead of degrees (almost) everywhere 2014-03-11 17:26:58 -07:00
Stephen Birarda
1ddc52252a fix missing link to starfield implementation files 2013-10-18 09:01:44 -07:00
Lord Waymaster
25d5b38f5f Starfield modification to randomly generate stars
Starfield now generates stars at startup rather than load them from the
server - approx. 50msec to load 50,000 stars.

STAR_COLORIZATION const in Generator.cpp is used to defined how
colorful the stars should be.

STARFIELD_NUM_STARS and STARFIELD_SEED sets the number of stars and the
random number seed used to generate the starfield.
2013-10-17 23:24:03 -07:00
ZappoMan
d8f368a50c lazy load stars file only if stars render enabled 2013-07-10 16:06:23 -07:00
tosh
de665c2d48 adjusts names 2013-05-19 13:01:57 +02:00
Andrzej Kapolka
caeccf59ec When the stars and the atmosphere are both on, adjust the stars' alpha value
based on the distance from the atmosphere.
2013-05-08 13:13:56 -07:00
tosh
715534154e numerous starfield fixes 2013-04-19 02:46:34 +02:00
tosh
38d229ab67 reiterates starfield:
o allows UrlReader to cache the downloaded content in a local (updating it
    automatically when the server indicates a newer time stamp)

  o retires the FieldOfView class

  o makes the stars move again

  o fixes bad deletion in UrlReader (delete instead of delete[])

  o allows UrlReader to advertise supported compression algorithms to the server
2013-04-18 00:13:41 +02:00
tosh
2b3263e019 splits up Stars.cpp into a module of multiple files 2013-03-29 10:53:30 +01:00
tosh
df7f3942e1 straightens data pipeline and several bugs after exhaustive testing 2013-03-29 01:08:24 +01:00
tosh
8e0fe23ad6 straightens range issues (crucial for higher numbers of stars),
moves compile time options to top of file,
enables setLOD (test pending), and
adds some debug logging (commented-out)
2013-03-27 15:51:22 +01:00
tosh
5350de1c76 makes things run and build on OSX and fixes missing initialization in loader 2013-03-27 13:38:06 +01:00
tosh
ecd64d3244 improves naming consistency (mostly member variable prefixes) 2013-03-27 11:49:43 +01:00
tosh
fcec7bf62f fixes broken debug code 2013-03-27 07:10:43 +01:00
tosh
ecddf9aa76 fault tolerance when 'render' is called prior to loading 2013-03-27 06:55:41 +01:00
tosh
68a62cf8c6 implements FOV culling, most properly 2013-03-27 03:30:51 +01:00
tosh
a8df635c09 adds hack to consider "forgotten" tiles.
a proper solution (that will also consider screen dimensions / roll) is still pending
2013-03-25 12:14:12 +01:00
tosh
5475c64ff3 reworks tile selection, 1st step (2nd pending) 2013-03-25 10:51:31 +01:00
tosh
721f4fd3b4 tidies viewing - looks much better already. tile selection is still too naive (or not naive enough) 2013-03-25 02:49:31 +01:00
tosh
e965b88c88 implements live LOD and input limit 2013-03-24 14:06:43 +01:00
tosh
4444bcf26e starfield and numerous utility components, initial checkin 2013-03-24 05:50:07 +01:00