Commit graph

2894 commits

Author SHA1 Message Date
kaetemi
5bae110c2c Properly scale seconds per frame graph in snowballs
--HG--
branch : multipass-stereo
2013-07-02 18:43:28 +02:00
kaetemi
d13da7a398 Prefer NPOT texture over RECT texture
--HG--
branch : multipass-stereo
2013-07-02 18:43:15 +02:00
kaetemi
43f8adff79 Render left and right deformed view, re #43
--HG--
branch : multipass-stereo
2013-07-02 03:34:49 +02:00
kaetemi
ce92c13289 Test the barrel shader, see #43
--HG--
branch : multipass-stereo
2013-07-02 02:40:27 +02:00
kaetemi
d45813adfc Workaround in snowballs for fullscreen bug with opengl driver
--HG--
branch : multipass-stereo
2013-07-02 01:08:49 +02:00
kaetemi
c5c6f7c871 Render the scene to a target texture for the stereo rendering filter, ref #43
--HG--
branch : multipass-stereo
2013-07-02 00:55:13 +02:00
kaetemi
7766116494 Fix a render target issue, see #43
--HG--
branch : multipass-stereo
2013-07-02 00:53:45 +02:00
kaetemi
c5e1235cbb Create stereo render target, see #43
--HG--
branch : multipass-stereo
2013-07-01 23:23:54 +02:00
kaetemi
85109102b2 Add interface for stereo display render targets, ref #43
--HG--
branch : multipass-stereo
2013-07-01 21:23:47 +02:00
kaetemi
85977755de Allow turning off bloom in snowballs
--HG--
branch : multipass-stereo
2013-07-01 20:38:18 +02:00
kaetemi
fe91e2a751 Cleanup
--HG--
branch : multipass-stereo
2013-07-01 20:15:55 +02:00
kaetemi
fba17e4553 Allow linking debug and release with same mysql lib if no specific debug lib.
--HG--
branch : multipass-stereo
2013-07-01 18:45:43 +02:00
kaetemi
5f229667bc Create interface classes for stereo displays and head mounted displays, see #43
--HG--
branch : multipass-stereo
2013-06-28 23:19:32 +02:00
kaetemi
bf16ccd320 Separate some camera related functions, ref #43
--HG--
branch : multipass-stereo
2013-06-27 04:11:09 +02:00
kaetemi
86eb05a6d0 Move some config stuff out of main_loop.cpp, see #43
--HG--
branch : multipass-stereo
2013-06-27 03:49:30 +02:00
kaetemi
24af75fc23 Remove some unused includes, re #43
--HG--
branch : multipass-stereo
2013-06-27 03:16:53 +02:00
kaetemi
3912bee50e Some more debug functions moved, see #43
--HG--
branch : multipass-stereo
2013-06-27 03:04:40 +02:00
kaetemi
7fa2a05195 Moved some temp code out of main_loop.cpp, ref #43
--HG--
branch : multipass-stereo
2013-06-27 02:43:51 +02:00
kaetemi
bcc048145c Take some debug render code out of main_loop.cpp, see #43
--HG--
branch : multipass-stereo
2013-06-27 02:13:48 +02:00
kaetemi
4d96c23c95 Separate some profiling code from main_loop.cpp, see #43
--HG--
branch : multipass-stereo
2013-06-27 01:43:04 +02:00
kaetemi
cb60e64355 Pull CPing out of main_loop.cpp, refs #43
--HG--
branch : multipass-stereo
2013-06-27 01:23:53 +02:00
kaetemi
6d28f88601 Return view as CQuat, see #43
--HG--
branch : multipass-stereo
2013-06-26 21:36:21 +02:00
kaetemi
1cc5848220 Create a clipping frustum, ref #43
--HG--
branch : multipass-stereo
2013-06-26 21:35:36 +02:00
kaetemi
e7842982a0 Allow multiple user cameras to be calculated separately, useful for sky etc, re #43
--HG--
branch : multipass-stereo
2013-06-26 20:57:37 +02:00
kaetemi
38be9b5997 Fix warning
--HG--
branch : multipass-stereo
2013-06-26 20:10:30 +02:00
kaetemi
202413ab52 Adjust 2D interface shift, re #43
--HG--
branch : multipass-stereo
2013-06-26 19:58:27 +02:00
kaetemi
9255bd73de Move snowballs compass, see #43
--HG--
branch : multipass-stereo
2013-06-26 17:38:20 +02:00
kaetemi
4864ce7a5a Add eye distance in 2D interface shift, re #43
--HG--
branch : multipass-stereo
2013-06-26 17:24:23 +02:00
kaetemi
5423d4d025 Add 2D interface shifting calculations, see #43
--HG--
branch : multipass-stereo
2013-06-26 16:59:08 +02:00
kaetemi
39197681fa Correctly adjust text to viewport, re #43
--HG--
branch : multipass-stereo
2013-06-26 16:08:48 +02:00
kaetemi
d1bf069708 Add some comments, see #43
--HG--
branch : multipass-stereo
2013-06-26 15:55:39 +02:00
kaetemi
91be2d64bd Cleanup and make bloom work with stereo rendering, re #43
--HG--
branch : multipass-stereo
2013-06-26 15:49:31 +02:00
kaetemi
32a187a199 Render from multiple cameras, see #43
--HG--
branch : multipass-stereo
2013-06-26 08:00:19 +02:00
kaetemi
a5c9592165 Read sensor data and set camera in snowballs, ref #43
--HG--
branch : multipass-stereo
2013-06-26 04:57:58 +02:00
kaetemi
a79b9f7e65 Add library name to device name, re #43
--HG--
branch : multipass-stereo
2013-06-26 02:55:15 +02:00
kaetemi
64821ab4de List stereo devices, see #43
--HG--
branch : multipass-stereo
2013-06-26 02:45:49 +02:00
kaetemi
c188dd3e17 Merge with default
--HG--
branch : multipass-stereo
2013-06-26 00:00:35 +02:00
kaetemi
f331757718 Fix Ryzom Client scripts for lua 5.2 2013-06-25 23:57:23 +02:00
kaetemi
8ded099fbb Added some notes
--HG--
branch : multipass-stereo
2013-06-20 00:25:52 +02:00
kaetemi
78179ed809 Rename some functions to follow the same naming convention of others
--HG--
branch : multipass-stereo
2013-06-19 23:49:39 +02:00
kaetemi
ad5b60963f Cleanup
--HG--
branch : multipass-stereo
2013-06-19 23:34:40 +02:00
kaetemi
be33bbc70f Add support for fp40 with opengl
--HG--
branch : multipass-stereo
2013-06-19 22:41:03 +02:00
kaetemi
bc25be05ba Additional test, textures does not seem to work in ps_3_0
--HG--
branch : multipass-stereo
2013-06-19 21:31:29 +02:00
kaetemi
f278ac7638 Activate textures for postprocessing material under direct3d
--HG--
branch : multipass-stereo
2013-06-19 21:16:13 +02:00
kaetemi
3e91b1a5cf Test texture with postprocessing material, seems to work with opengl
--HG--
branch : multipass-stereo
2013-06-19 20:47:23 +02:00
kaetemi
ea97602c5f Updated snowballs default config
--HG--
branch : multipass-stereo
2013-06-19 16:22:48 +02:00
kaetemi
9b0b1008ff Fix linux compile
--HG--
branch : multipass-stereo
2013-06-19 16:18:09 +02:00
kaetemi
dfb110b387 Add function to check which pixel program profiles are available on a driver
--HG--
branch : multipass-stereo
2013-06-19 05:03:47 +02:00
kaetemi
9f1ddc9202 Add test for ps.1.1 pixel program in snowballs (it works too now)
--HG--
branch : multipass-stereo
2013-06-19 04:03:32 +02:00
kaetemi
c3af389ea6 Add test for ARBfp1.0 fragment program in snowballs (it works)
--HG--
branch : multipass-stereo
2013-06-19 02:59:32 +02:00