Commit graph

532 commits

Author SHA1 Message Date
Michael Witrant
59dc1a6c16 Fixed definition tests for optional LibOVR 2013-07-06 20:40:42 +02:00
Michael Witrant
69c194f57f LibOVR is optional, and is disabled by default 2013-07-06 20:05:19 +02:00
Michael Witrant
67ebf920ec Added LibOVR finder and Linux support, ref #43 2013-07-06 19:33:07 +02:00
kaetemi
cb9e5762db Don't render to texture when in wireframe mode, re #43 2013-07-05 03:42:38 +02:00
kaetemi
c3f6f5b8ff Put stereo render loop inside ryzom client main loop, see #43 2013-07-05 02:38:56 +02:00
kaetemi
541f75920b Init/release VR interfaces in ryzom client, ref #43 2013-07-05 02:04:34 +02:00
kaetemi
6113b07673 Distort 2D gui as well, ref #43 2013-07-04 21:12:11 +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
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
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
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
9960b9dfdb Cleanup 2013-07-01 20:15:55 +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
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
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
kaetemi
7672ab2812 Cleanup and make bloom work with stereo rendering, re #43 2013-06-26 15:49:31 +02:00
kaetemi
e51d9e15d9 Render from multiple cameras, see #43 2013-06-26 08:00:19 +02:00
kaetemi
a7cf55c58e Read sensor data and set camera in snowballs, ref #43 2013-06-26 04:57:58 +02:00
kaetemi
dc813a060e Add library name to device name, re #43 2013-06-26 02:55:15 +02:00
kaetemi
b45bdb88e6 List stereo devices, see #43 2013-06-26 02:45:49 +02:00
kaetemi
1f68025931 Rename some functions to follow the same naming convention of others 2013-06-19 23:49:39 +02:00
kaetemi
1ed0d46026 Cleanup 2013-06-19 23:34:40 +02:00
kaetemi
aa3462b7bc Add support for fp40 with opengl 2013-06-19 22:41:03 +02:00
kaetemi
0d1e405d3e Activate textures for postprocessing material under direct3d 2013-06-19 21:16:13 +02:00
kaetemi
4cc4a84578 Fix linux compile 2013-06-19 16:18:09 +02:00
kaetemi
3865e6e56f Add function to check which pixel program profiles are available on a driver 2013-06-19 05:03:47 +02:00
kaetemi
0c1bfe0f63 Cleanup more unneeded code 2013-06-19 02:36:57 +02:00
kaetemi
72035e936a Removed unneeded parser related code from the opengl pixel program implementation 2013-06-19 02:33:19 +02:00
kaetemi
7dcc86c717 Add direct3d diff for old nevrax pixel program code, marked a todo in the comments 2013-06-19 02:10:38 +02:00
kaetemi
acf8ec653c Added diff to opengl driver for old nevrax pixel program code, marked todos in comments 2013-06-19 02:01:12 +02:00
kaetemi
cb966505cc Add rest of the diff from the old nevrax code for pixel programs to NL3D 2013-06-19 01:38:23 +02:00
kaetemi
b5dfdbdd55 Simplify CPixelProgram 2013-06-19 01:19:45 +02:00
kaetemi
fd42d61af9 Add some files from old nevrax shader code for exposing pixel programs in the drivers 2013-06-19 01:14:30 +02:00
kaetemi
ad6cc747b9 Backed out changeset ea4b76b7213a, bad approach 2013-06-19 01:03:20 +02:00
kaetemi
23e3393d2e Allow rendering with bloom to a user provided render target (untested) (#43) 2013-06-17 00:45:17 +02:00
kaetemi
09df2d8bef Remove silly heap allocation of a null pointer 2013-06-16 23:49:45 +02:00
kaetemi
abdeee4b81 Add info structure for multipass camera rendering effects #43 2013-06-16 20:48:17 +02:00
kervala
4f6cb3e329 Changed: Typo fixes (Thanks to DuDraig!) 2013-02-12 17:35:51 +01:00
kervala
5794497a79 Changed: French comments translated to English 2013-02-11 22:24:48 +01:00
kervala
8409d5a371 Changed: Typo fixes (thanks to Vagrant!) 2013-02-09 10:05:32 +01:00
kervala
98606fb5b5 Changed: Typo fixes (thanks to Vagrant!) 2013-02-08 13:17:44 +01:00
kervala
0a2429c05e Changed: OpenGL headers not being found by PCH 2013-01-09 09:29:15 +01:00
kervala
2b4119c428 Fixed: Compilation with VC++ 2010 and 2012 2012-12-11 12:22:41 +01:00
kervala
ccc51e18b8 Changed: Simplification of OpenGL ES driver 2012-12-06 10:48:46 +01:00
kervala
a1942b9dd4 Changed: Updated OpenGL registries 2012-12-06 09:39:53 +01:00
kervala
76b6d1de72 Changed: Display HRESULT when D3DXCreateEffect fails 2012-12-03 09:37:21 +01:00
kervala
930b80c749 Changed: Replaced size() by !empty() 2012-12-03 09:36:45 +01:00
kervala
d68e03b816 Changed: NPOT textures finally don't need that in D3D 2012-10-27 18:44:38 +02:00
kervala
40227ccec5 Fixed #1: Implement anisotropic filtering for textures 2012-10-27 17:46:13 +02:00
kervala
100923cb6c Changed: Minor changes 2012-10-27 16:39:06 +02:00
kervala
0dd9100e85 Changed: Simplify OpenGL ES driver by using some aliases 2012-10-27 16:27:13 +02:00
kervala
ddfc526d0c Changed: #573 Add anti-aliasing to the OpenGL Driver 2012-10-17 11:05:51 +02:00
kervala
2b86a180e6 Changed: Replaced string empty comparisons with empty() 2012-10-06 17:17:26 +02:00
kervala
6085e9bba4 Fixed: Compilation under Mac OS X 2012-10-05 20:36:10 +02:00
kervala
74e69d4bc2 Changed: Added zbuffer formats (commented) 2012-09-26 12:47:13 +02:00
kervala
c4f90a40d2 Changed: Drivers runtimes should go in NL_DRIVER_PREFIX 2012-09-26 12:46:43 +02:00
kervala
4dfb33fb22 Changed: Added a warning when a texture can't be created in D3D driver 2012-09-26 00:02:27 +02:00
kervala
3429d7ba42 Changed: #825 Remove all warnings when compiling Ryzom 2012-09-25 12:33:02 +02:00
kervala
38c5e6840d Fixed: #1493 MultiArch support 2012-09-22 22:57:38 +02:00
kervala
6d66d824d9 Fixed: Replaced "Reqiures" by "Requires" in pkg-config files 2012-09-22 22:42:02 +02:00
kervala
993969d1de Changed: #878 Fix typos in comments/code 2012-09-11 20:16:26 +02:00
kaetemi
4739dfef9b Fixed: A strange loading crash with bad textures 2012-07-28 12:40:36 +02:00
kaetemi
e0da8b7f56 Fixed: Valgrind warnings 2012-06-28 11:30:58 +02:00
kaetemi
0d4f6da330 Fixed: Valgrind warnings 2012-06-28 11:08:36 +02:00
kaetemi
0d05d505f3 Changed: Debug messages 2012-06-02 23:06:48 +02:00
kaetemi
ea6ede03ba Fixed: Sound CSheetId implementation (part 1) (not tested) 2012-06-02 14:54:39 +02:00
kaetemi
b7d687d0c0 Merged: From default to sound_dev 2012-06-02 11:09:14 +02:00
sfb
2f9410f22d Fixed EOL issues and added .hgeol file. 2012-05-29 08:31:11 -05:00
Fabien_HENON
ae78742ca6 Changed: #1469 Getting last version from default branch 2012-05-26 21:38:30 +02:00
kervala
c97a644050 Fixed: Compilation under Mac OS X without -DWITH_STATIC_DRIVERS=ON 2012-05-24 20:28:19 +02:00
Fabien_HENON
efc409a319 Changed: #1469 StringId conversion to SheetId for sound (DOES NOT COMPILE YET) 2012-05-23 22:27:39 +02:00
kervala
844c22c16b Fixed: #1328 Map time and weather Issue (synced with SVN, thanks!) 2012-05-18 20:53:59 +02:00
kervala
c147b63082 Changed: #1275 Compilation under Mac OS X 2012-05-15 12:58:20 +02:00
kervala
9b2b51b6a5 Changed: #825 Remove all warnings when compiling Ryzom 2012-05-15 12:55:56 +02:00
kervala
7db67187ef Changed: #1275 Use of NLDRIVERGL or NLDRIVERGLES namespaces with NL_STATIC to avoid duplicated symbols 2012-05-14 13:21:00 +02:00
kervala
e9408a8a0f Changed: #1275 Create an OpenGL ES driver 2012-05-13 17:43:46 +02:00
kervala
41e103bc7a Changed: #1275 Added OpenGL ES CMake module 2012-05-13 16:23:48 +02:00
kervala
61d7295efa Changed: #1275 Create an OpenGL ES driver 2012-05-13 15:27:20 +02:00
kervala
a7d6082d49 Changed: Include OpenGL headers in "opengl" directory 2012-05-13 15:26:45 +02:00
kervala
798aec2e4f Changed: Update glext.h 2012-05-12 20:58:23 +02:00
kervala
bfa731e39b Changed: #1275 Create an OpenGL ES driver 2012-05-12 20:56:37 +02:00
kervala
3a40ef6d12 Changed: Include stdopengl.h in Objective-C files 2012-05-12 20:55:58 +02:00
kervala
b8794f814c Fixed: Renable PCH under for OpenGL driver under Mac OS X 2012-05-12 20:54:37 +02:00
kervala
b8dde56d41 Changed: #1275 Create an OpenGL ES driver 2012-05-12 19:21:52 +02:00
kervala
41551e3026 Fixed: #1441 Remove all remaining .vcproj, Makefiles, automake scripts, etc... 2012-03-03 10:49:42 +01:00
kaetemi
c2de0eeb31 Fixed: #620 Incorrect usage of mutex in particle system loader 2012-03-02 22:43:42 +01:00
kervala
6865470c03 Changed: #878 Fix typos in comments/code 2012-02-27 10:01:45 +01:00
kervala
6994f7374e Changed: #825 Remove all warnings when compiling Ryzom 2012-01-02 15:41:22 +01:00
sfb
c8467d9b51 Fixed: #1359 Applied patch from GelluleX adding cut/paste functionality to Ryzom for OSX. 2011-12-07 07:20:05 -06:00
sfb
506e214e38 Fixed: #1367 Added ifdef for OSX 10.7 GL API changes. Thanks GelluleX. 2011-12-07 07:16:37 -06:00
kervala
b591056364 Fixed: #1376 Wrong NeL window position with Compiz 2011-10-15 16:42:03 +02:00
kervala
87f2f5bdd6 Changed: #1366 No Ryzom client icon under Ubuntu with Unity + Compiz 2011-10-08 12:16:47 +02:00
kervala
312fc3eb74 Fixed: #1366 No Ryzom client icon under Ubuntu with Unity + Compiz 2011-10-08 11:01:10 +02:00
kervala
44e3c936e4 Changed: New option WITH_INSTALL_LIBRARIES which allows user to install only final binaries and no development files (header, static libraries, etc...) 2011-09-11 14:44:37 +02:00
kervala
dbf417cb22 Changed: #1275 Create an OpenGL ES driver 2011-06-08 10:16:44 +02:00
kervala
f06916b4fa Changed: #878 Fix typos in comments/code 2011-06-08 10:14:14 +02:00
kervala
7d0a22db81 Changed: #878 Fix typos in comments/code 2011-06-04 13:51:03 +02:00
kervala
2d8d895e5b Changed: Display unknown status in FBO errors messages 2011-06-04 13:50:33 +02:00
kervala
57bf9881e8 Fixed: X extensions list is truncated 2011-06-04 13:49:41 +02:00
kervala
5b5a050616 Changed: Exceptions catched by reference 2011-06-03 10:35:25 +02:00
kervala
540bc1f62f Changed: Exceptions catched by reference 2011-06-02 18:31:40 +02:00
vl
5f98c48e13 Fixed: #1273 problem with shift enter on shop window 2011-04-21 16:39:23 +02:00
rti
c913b2700e merge 2011-05-31 18:12:25 +02:00
rti
b55e9e210e Fixed: #1006 On Mac OS X, do glFinish() after vertex program upload to ensure program is ready to use. 2011-05-31 18:10:32 +02:00
kervala
fbec2565e9 Changed: Compilation with VC++ 2010 without STLport 2011-05-28 15:52:48 +02:00
rti
3fdd571b49 merge 2011-05-26 21:55:10 +02:00
rti
ef98e683a3 Fixed: Build error and assert when disabling NL_FORCE_INDEX_BUFFER_16 2011-05-26 20:57:23 +02:00
kervala
30819b35a7 Changed: #1177 VS 2010 does not work under CMake 2011-05-26 16:18:38 +02:00
kervala
ae70be18fa Changed: #1275 Create an OpenGL ES driver 2011-05-15 17:11:16 +02:00
kervala
41f8011498 Changed: #1275 Create an OpenGL ES driver 2011-05-01 19:11:10 +02:00
kervala
8946b580cb Changed: #1275 Create an OpenGL ES driver 2011-05-01 18:27:05 +02:00
kervala
ab1ddf3e3e Changed: Replaced display of pointers using %d or %X by %p 2011-03-28 17:32:49 +02:00
kervala
a221b39585 Changed: #825 Remove all warnings when compiling Ryzom 2011-03-10 23:22:27 +01:00
kervala
dec67309f3 Changed: #878 Fix typos in comments/code 2011-03-09 14:30:51 +01:00
kervala
b26e6ced32 Fixed: Use of LOD meshes when it shouldn't (patch provided by Sywindt, thanks a lot) 2011-02-24 19:00:36 +01:00
kervala
93c382f02c Changed: #1251 Code simplification and default values if not using config.h 2011-02-24 18:55:14 +01:00
kervala
43decbd157 Fixed: #1251 NeL can't find selected drivers in CMake 2011-02-24 18:42:09 +01:00
kervala
0a235b7353 Changed: #878 Fix typos in comments/code 2011-02-21 16:08:32 +01:00
kervala
703ba174a2 Changed: #825 Remove all warnings when compiling Ryzom 2011-02-21 13:32:56 +01:00
kervala
0b8820ca0c Fixed: Compilation under Linux with STLport 2011-02-11 18:05:19 +01:00
kervala
300c48e191 Changed: #878 Fix typos in comments/code 2011-02-09 16:03:44 +01:00
kervala
a617da4566 Changed: #878 Fix typos in comments/code 2011-02-09 15:45:56 +01:00
kervala
1af7212735 Changed: Add missing files in SOURCE_GROUP 2011-02-09 15:44:19 +01:00
kervala
bf829069ea Fixed: Wrong paths for .cpp files in CMakeLists.txt 2011-02-09 15:31:34 +01:00
kervala
026657b28c Changed: #825 Remove all warnings when compiling Ryzom 2011-02-09 14:34:05 +01:00
kervala
14a449ab27 Fixed: Crash when using bloom in object_viewer_qt with OpenGL driver 2011-01-22 16:01:00 +01:00
kervala
356816cba7 Changed: #1231 Remove VC++ projects and solutions which are not needed by Nevrax Linux makefiles 2011-01-10 13:50:07 +01:00
kervala
aa8b8851f0 Fixed: Bad check for scissor 2011-01-07 10:05:08 +01:00
kervala
97c4880afa Changed: Don't modify NeL window if managed by a 3rd party library 2010-12-30 22:18:23 +01:00
kervala
7586b64494 Changed: #573 Get the maximum anisotropic value 2010-12-22 14:21:40 +01:00
kervala
5f2184ef6c Changed: #825 Remove all warnings when compiling Ryzom 2010-12-20 23:47:11 +01:00
kervala
8c01cfc3ae Fixed: Compilation under Linux 2010-12-20 23:46:27 +01:00
kervala
3d693f4ec6 Fixed: Bad function to set texture coordinates for EXTVertexShader 2010-12-20 17:05:11 +01:00
kervala
2f7d57d608 Fixed: Crash and bug if not supporting GL_ARB_texture_cube_map 2010-12-20 17:00:58 +01:00