Commit graph

2692 commits

Author SHA1 Message Date
kaetemi
59edf6ea13 Move some more updates out of the render code, see #43 2013-07-05 00:47:17 +02:00
kaetemi
5e5cfba035 Some necessary changes to camera setting, re #43 2013-07-05 00:17:09 +02:00
kaetemi
32e3da752f Some more cleanup 2013-07-04 23:41:46 +02:00
kaetemi
78276ab782 Make oversize screenshots be perfectly seamless 2013-07-04 23:11:15 +02:00
kaetemi
86870d66fb Pull weather updates out of scene render 2013-07-04 22:39:05 +02:00
kaetemi
bfae91eb88 Correctly apply bloom on oversize screenshots 2013-07-04 22:26:31 +02:00
kaetemi
ee227aaf9c Refactor fulldetail override 2013-07-04 22:18:19 +02:00
kaetemi
362024aff3 Merge with default 2013-07-04 21:12:34 +02:00
kaetemi
6113b07673 Distort 2D gui as well, ref #43 2013-07-04 21:12:11 +02:00
Jan Boon
f10ee56560 Merged in botanic/rc-botanic-webdev (pull request #13)
warning and path fix's
2013-07-04 21:07:21 +02:00
kaetemi
4402fbe1c2 Correctly synchronize some more animation in snowballs, re #43 2013-07-04 20:43:49 +02:00
kaetemi
4b2ea661cc Fix particles being animated twice in stereo render, see #43 2013-07-04 00:42:06 +02:00
kaetemi
fd1d606154 Add stereo debugger for visually comparing rendered frames, ref #43 2013-07-04 00:09:10 +02:00
kaetemi
d57b7b39fe Use width instead of height of screen for hmd fov, re #43 2013-07-03 06:04:37 +02:00
kaetemi
a531535dfa Add minimal head model and world scale, ref #43 2013-07-03 05:21:32 +02:00
kaetemi
299b3ec401 Make bloom work together with render target used for the rift shader, ref #43 2013-07-03 03:53:32 +02:00
kaetemi
9516851bee Remove unnecessary user render target code from bloom, see #43 2013-07-03 03:21:57 +02:00
kaetemi
81c23af33b Merge with default 2013-07-03 03:17:29 +02:00
kaetemi
e3784571cd Add arbfp1 and fp40 barrel fragment programs, see #43 2013-07-02 19:39:05 +02:00
kaetemi
118340d821 Test arbfp1, see #43 2013-07-02 18:48:29 +02:00
kaetemi
c6a7432d86 Properly scale seconds per frame graph in snowballs 2013-07-02 18:43:28 +02:00
kaetemi
2315ae9c5a Prefer NPOT texture over RECT texture 2013-07-02 18:43:15 +02:00
kaetemi
a924479a5c Render left and right deformed view, re #43 2013-07-02 03:34:49 +02:00
kaetemi
6b8d43181d Test the barrel shader, see #43 2013-07-02 02:40:27 +02:00
kaetemi
76d7146a42 Workaround in snowballs for fullscreen bug with opengl driver 2013-07-02 01:08:49 +02:00
kaetemi
3a12aa5894 Render the scene to a target texture for the stereo rendering filter, ref #43 2013-07-02 00:55:13 +02:00
kaetemi
3b630492aa Fix a render target issue, see #43 2013-07-02 00:53:45 +02:00
kaetemi
ffc91631e7 Create stereo render target, see #43 2013-07-01 23:23:54 +02:00
kaetemi
f25a9da718 Add interface for stereo display render targets, ref #43 2013-07-01 21:23:47 +02:00
kaetemi
2b653d2904 Allow turning off bloom in snowballs 2013-07-01 20:38:18 +02:00
kaetemi
9960b9dfdb Cleanup 2013-07-01 20:15:55 +02:00
kaetemi
ebba0c1917 Allow linking debug and release with same mysql lib if no specific debug lib. 2013-07-01 18:45:43 +02:00
kaetemi
b04d278a27 Create interface classes for stereo displays and head mounted displays, see #43 2013-06-28 23:19:32 +02:00
kaetemi
3a4204e091 Separate some camera related functions, ref #43 2013-06-27 04:11:09 +02:00
kaetemi
f84f5807c1 Move some config stuff out of main_loop.cpp, see #43 2013-06-27 03:49:30 +02:00
kaetemi
1928c9c679 Remove some unused includes, re #43 2013-06-27 03:16:53 +02:00
kaetemi
1e461ec4f3 Some more debug functions moved, see #43 2013-06-27 03:04:40 +02:00
kaetemi
d919591093 Moved some temp code out of main_loop.cpp, ref #43 2013-06-27 02:43:51 +02:00
kaetemi
a046b1c494 Take some debug render code out of main_loop.cpp, see #43 2013-06-27 02:13:48 +02:00
kaetemi
825ebb3335 Separate some profiling code from main_loop.cpp, see #43 2013-06-27 01:43:04 +02:00
kaetemi
b9334e3722 Pull CPing out of main_loop.cpp, refs #43 2013-06-27 01:23:53 +02:00
kaetemi
9526910d4b Return view as CQuat, see #43 2013-06-26 21:36:21 +02:00
kaetemi
d404c1228c Create a clipping frustum, ref #43 2013-06-26 21:35:36 +02:00
kaetemi
2f4867ab78 Allow multiple user cameras to be calculated separately, useful for sky etc, re #43 2013-06-26 20:57:37 +02:00
kaetemi
4a579d0af2 Fix warning 2013-06-26 20:10:30 +02:00
kaetemi
eb196fd99a Adjust 2D interface shift, re #43 2013-06-26 19:58:27 +02:00
kaetemi
06e96929af Move snowballs compass, see #43 2013-06-26 17:38:20 +02:00
kaetemi
8230238b5f Add eye distance in 2D interface shift, re #43 2013-06-26 17:24:23 +02:00
kaetemi
1b8ddaa87b Add 2D interface shifting calculations, see #43 2013-06-26 16:59:08 +02:00
kaetemi
78ae99731d Correctly adjust text to viewport, re #43 2013-06-26 16:08:48 +02:00