Commit graph

97 commits

Author SHA1 Message Date
kaetemi
c89810bcd8 Moved some temp code out of main_loop.cpp, ref #43 2013-06-27 02:43:51 +02:00
kaetemi
1ee82909c3 Take some debug render code out of main_loop.cpp, see #43 2013-06-27 02:13:48 +02:00
kaetemi
5bd6b5ee7a Separate some profiling code from main_loop.cpp, see #43 2013-06-27 01:43:04 +02:00
kaetemi
0a2a08ce07 Pull CPing out of main_loop.cpp, refs #43 2013-06-27 01:23:53 +02:00
kaetemi
5665253af7 Return view as CQuat, see #43 2013-06-26 21:36:21 +02:00
kaetemi
a68f54b4e8 Create a clipping frustum, ref #43 2013-06-26 21:35:36 +02:00
kaetemi
922b0e67ad Allow multiple user cameras to be calculated separately, useful for sky etc, re #43 2013-06-26 20:57:37 +02:00
kaetemi
641c651533 Fix warning 2013-06-26 20:10:30 +02:00
kaetemi
f4d337b413 Adjust 2D interface shift, re #43 2013-06-26 19:58:27 +02:00
kaetemi
9c84d9b56c Move snowballs compass, see #43 2013-06-26 17:38:20 +02:00
kaetemi
b7685170a2 Add eye distance in 2D interface shift, re #43 2013-06-26 17:24:23 +02:00
kaetemi
e5d2958321 Add 2D interface shifting calculations, see #43 2013-06-26 16:59:08 +02:00
kaetemi
f7f611e6a6 Correctly adjust text to viewport, re #43 2013-06-26 16:08:48 +02:00
kaetemi
7afbbb3188 Add some comments, see #43 2013-06-26 15:55:39 +02:00
kaetemi
4c4640c954 Cleanup and make bloom work with stereo rendering, re #43 2013-06-26 15:49:31 +02:00
kaetemi
826da99473 Render from multiple cameras, see #43 2013-06-26 08:00:19 +02:00
kaetemi
4289248d56 Read sensor data and set camera in snowballs, ref #43 2013-06-26 04:57:58 +02:00
kaetemi
8fad0e92b7 Add library name to device name, re #43 2013-06-26 02:55:15 +02:00
kaetemi
31e96ad6c5 List stereo devices, see #43 2013-06-26 02:45:49 +02:00
kaetemi
1f972da834 Merge with default 2013-06-26 00:00:35 +02:00
kaetemi
26567a3ce8 Added some notes 2013-06-20 00:25:52 +02:00
kaetemi
95eb1499ee Rename some functions to follow the same naming convention of others 2013-06-19 23:49:39 +02:00
kaetemi
b7294b9246 Cleanup 2013-06-19 23:34:40 +02:00
kaetemi
143ab99b89 Add support for fp40 with opengl 2013-06-19 22:41:03 +02:00
kaetemi
3ff6a3c640 Additional test, textures does not seem to work in ps_3_0 2013-06-19 21:31:29 +02:00
kaetemi
66d4a90892 Activate textures for postprocessing material under direct3d 2013-06-19 21:16:13 +02:00
kaetemi
7625336f1b Test texture with postprocessing material, seems to work with opengl 2013-06-19 20:47:23 +02:00
kaetemi
7e78f66c20 Updated snowballs default config 2013-06-19 16:22:48 +02:00
kaetemi
3be1be1111 Fix linux compile 2013-06-19 16:18:09 +02:00
kaetemi
e1176c3198 Add function to check which pixel program profiles are available on a driver 2013-06-19 05:03:47 +02:00
kaetemi
52b9637167 Add test for ps.1.1 pixel program in snowballs (it works too now) 2013-06-19 04:03:32 +02:00
kaetemi
7e35bea71f Add test for ARBfp1.0 fragment program in snowballs (it works) 2013-06-19 02:59:32 +02:00
kaetemi
c5ccdf0787 Cleanup more unneeded code 2013-06-19 02:36:57 +02:00
kaetemi
e905a85436 Removed unneeded parser related code from the opengl pixel program implementation 2013-06-19 02:33:19 +02:00
kaetemi
daccf30f15 Add direct3d diff for old nevrax pixel program code, marked a todo in the comments 2013-06-19 02:10:38 +02:00
kaetemi
301ea3f32e Added diff to opengl driver for old nevrax pixel program code, marked todos in comments 2013-06-19 02:01:12 +02:00
kaetemi
a9af39fff7 Add rest of the diff from the old nevrax code for pixel programs to NL3D 2013-06-19 01:38:23 +02:00
kaetemi
c21a77fce0 Removed some CEffect related bit that slipped in 2013-06-19 01:22:26 +02:00
kaetemi
4d79a06c79 Add diff from old nevrax pixel program code to IDriver, CEffect related code not included 2013-06-19 01:20:51 +02:00
kaetemi
6675a7ca93 Simplify CPixelProgram 2013-06-19 01:19:45 +02:00
kaetemi
5f4380e33b Add some files from old nevrax shader code for exposing pixel programs in the drivers 2013-06-19 01:14:30 +02:00
kaetemi
1ef3a17207 Backed out changeset ea4b76b7213a, bad approach 2013-06-19 01:03:20 +02:00
kaetemi
923782eda7 Allow rendering with bloom to a user provided render target (untested) (#43) 2013-06-17 00:45:17 +02:00
kaetemi
e082737da9 Allow stepping through the time delta in multiple passes in snowballs 2013-06-16 23:51:33 +02:00
kaetemi
fa109b3575 Remove silly heap allocation of a null pointer 2013-06-16 23:49:45 +02:00
kaetemi
5cd89b050e Allow configuration of bloom settings from config files in snowballs 2013-06-16 23:48:40 +02:00
kaetemi
dfb302dafb Add info structure for multipass camera rendering effects #43 2013-06-16 20:48:17 +02:00