Commit graph

755 commits

Author SHA1 Message Date
tosh
20e7837717 adds #define to disable starfield multithreading support based on C++11
turns it off by default, for now
2013-03-29 23:19:16 +01:00
tosh
51afe69864 fixes overload issue with 'std::hypot' with older gcc (Xcode 3.2) 2013-03-29 23:17:53 +01:00
tosh
3a55234436 also bumps standard library version for clang (untested) 2013-03-29 22:32:44 +01:00
tosh
02d5f6bc62 removes dead, misplaced and commented-out code 2013-03-29 21:28:23 +01:00
tosh
e03bbec6fc adds optional shaders to vary the point size based on the brightness 2013-03-29 19:04:47 +01:00
tosh
002d607e9f adds component to ease use of OpenGL programs (that is pipelines of shaders) 2013-03-29 19:03:28 +01:00
tosh
cf00802e64 consistently adjusts comment on include guard 2013-03-29 16:03:31 +01:00
tosh
8f458b0bea changes case/naming to agreed conventions 2013-03-29 13:41:33 +01:00
tosh
bdf358b0fb removes some leftover debug code 2013-03-29 13:39:46 +01:00
tosh
1eb904ca59 also changes case/naming to agreed conventions in the utility components 2013-03-29 11:54:09 +01:00
tosh
2d997a9a8d inserts synchronization primitives 2013-03-29 11:43:04 +01:00
tosh
2b3263e019 splits up Stars.cpp into a module of multiple files 2013-03-29 10:53:30 +01:00
tosh
8300646b33 allows new C++ standard features 2013-03-29 10:42:36 +01:00
tosh
b4f2b04241 allows qualified inclusion in subdirectories 2013-03-29 10:24:14 +01:00
tosh
df7f3942e1 straightens data pipeline and several bugs after exhaustive testing 2013-03-29 01:08:24 +01:00
tosh
0b183cf7a0 adds function to convert between angle units 2013-03-29 00:30:57 +01:00
tosh
06fc3ce00c adjusts the north-south meridian 2013-03-27 17:12:33 +01:00
tosh
56d802cd57 updates to a whole sphere of stars with meridians and equator 2013-03-27 17:06:36 +01:00
tosh
891194ed2e adds meridians with color gradient and an equator 2013-03-27 17:05:23 +01:00
tosh
dde8b7dee5 fixes horizontal angle normalization 2013-03-27 17:00:21 +01:00
tosh
0a6cdf9da5 bumps the default limit to 200K stars 2013-03-27 15:53:30 +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
704ae4acb2 removes default limit loading stars 2013-03-27 15:50:25 +01:00
tosh
f98cd10485 straightens potential range issues for wide integers 2013-03-27 15:47:39 +01:00
tosh
eac8c99ee1 changes default to generate a full sphere 2013-03-27 15:46:54 +01:00
tosh
24d0f3a0a0 adds stars file in the right location so everything runs out of the box 2013-03-27 13:49:52 +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
5bb55f7fc4 improves naming consistency (mostly member variable prefixes) 2013-03-27 11:53:01 +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
0a2cd9537b fixes broken error handling 2013-03-27 06:39:27 +01:00
tosh
a0ef60efe7 removes duplicate local declarations 2013-03-27 04:49:40 +01:00
tosh
bec1529cac removes duplicate default argument 2013-03-27 04:43:12 +01:00
tosh
ed8a14ee09 adds flood fill algorithm 2013-03-27 03:33:51 +01:00
tosh
403c9d9ce5 naming and such... 2013-03-27 03:32:53 +01:00
tosh
68a62cf8c6 implements FOV culling, most properly 2013-03-27 03:30:51 +01:00
tosh
1327b8852b adds getAspectRatio function 2013-03-27 03:30:25 +01:00
tosh
8a1fd43437 implements a more uniform distribution of star positions and a progress bar 2013-03-27 03:28:48 +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
7d32eeb20a adjusts to function renaming in FieldOfView 2013-03-25 10:50:45 +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
6a9134d4a5 exposes function to fetch glFrustum arguments 2013-03-25 02:47:24 +01:00
tosh
e965b88c88 implements live LOD and input limit 2013-03-24 14:06:43 +01:00
tosh
2c40673e04 fixes #includes 2013-03-24 14:04:08 +01:00
tosh
5de3ec035b leftover changes / minor corrections 2013-03-24 06:30:33 +01:00
tosh
4444bcf26e starfield and numerous utility components, initial checkin 2013-03-24 05:50:07 +01:00
Stephen Birarda
f8f098cf2c Merge branch 'master' of github.com:worklist/hifi 2013-03-19 15:58:19 -07:00
Stephen Birarda
76f7f68526 fix voxel system to send new bistream format, add helpers to VoxelNode class 2013-03-19 15:52:51 -07:00