Commit graph

45 commits

Author SHA1 Message Date
kaetemi
72eb001b0a Test arbfp1, see #43 2013-07-02 18:48:29 +02:00
kaetemi
3cb613b0d2 Prefer NPOT texture over RECT texture 2013-07-02 18:43:15 +02:00
kaetemi
13724ee1d4 Render left and right deformed view, re #43 2013-07-02 03:34:49 +02:00
kaetemi
5354a2851c Test the barrel shader, see #43 2013-07-02 02:40:27 +02:00
kaetemi
9a5853a077 Render the scene to a target texture for the stereo rendering filter, ref #43 2013-07-02 00:55:13 +02:00
kaetemi
8990b521fd Fix a render target issue, see #43 2013-07-02 00:53:45 +02:00
kaetemi
6b33f0c5b8 Create stereo render target, see #43 2013-07-01 23:23:54 +02:00
kaetemi
fcd9344ad5 Add interface for stereo display render targets, ref #43 2013-07-01 21:23:47 +02:00
kaetemi
8818e886af Cleanup 2013-07-01 20:15:55 +02:00
kaetemi
e1397a0dc3 Create interface classes for stereo displays and head mounted displays, see #43 2013-06-28 23:19:32 +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
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
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
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
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
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
fa109b3575 Remove silly heap allocation of a null pointer 2013-06-16 23:49:45 +02:00
kaetemi
dfb302dafb Add info structure for multipass camera rendering effects #43 2013-06-16 20:48:17 +02:00