Commit graph

1055 commits

Author SHA1 Message Date
kervala
dd116afff3 Fixed: Crash when trying to display a missing texture 2013-08-26 12:33:26 +02:00
Botanic
6deea176a8 Make it so that bad text always throws a nlwarning 2013-08-04 01:43:54 -07:00
kaetemi
d0a4f5ed75 Fix warning 2013-08-03 21:29:47 +02:00
kaetemi
9dc9acd68f Merge with default 2013-08-01 23:02:49 +02:00
kaetemi
bbe4ea4ba8 Add some basic prediction to CCDBNodeBranch::find 2013-08-01 22:47:46 +02:00
kaetemi
1ed7e4fcff Force link 2013-08-01 10:11:11 +02:00
Quitta
63db620ca6 Merge with default 2013-07-31 16:26:22 +02:00
Quitta
e3625bc4e4 Merge with default 2013-07-31 16:17:29 +02:00
Quitta
0bf8c4d526 fix for getting client working + possibly auto login for ingame part 2013-07-30 01:46:56 +02:00
kaetemi
7bbf40ea19 Improve performance of UsedTexture debugging info in OpenGL driver 2013-07-29 03:41:10 +02:00
kaetemi
7046b6f364 NLGUI files dbgroup_combo_box.cpp and dbgroup_select_number.cpp were not linked 2013-07-28 21:39:54 +02:00
kaetemi
b09e28e9e0 Avoid having to use 'set' action handler, which parses the value expression on every use, in interface links by implementing use of cdb nodes as targets 2013-07-28 05:10:07 +02:00
kaetemi
70f83e1fb9 Parse action handler condition for interface link in advance 2013-07-28 03:02:07 +02:00
kaetemi
36c969252b Avoid redundant per-frame calls to getDbProp in NLGUI::CWidgetManager 2013-07-28 00:48:34 +02:00
kaetemi
fd285cc703 Merge with default 2013-07-25 00:37:00 +02:00
kaetemi
f83fdf5a2f Fix bug #45 crash in zone lighter with large number of CPU cores 2013-07-24 20:51:43 +02:00
kervala
dfbf2998b0 Fixed: lua_open() doesn't exist with Lua 5.2 2013-07-24 18:47:50 +02:00
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
kaetemi
7bb6775261 Compile NLGUI with lua 5.2 2013-06-16 02:33:04 +02:00
dfighter1985
a88a4ad992 FIXED: GUI not showing up because of the interface user functions not getting registered, because of a file linking issue. 2013-06-05 03:29:34 +02:00
kaetemi
a50ffb5de5 This should fix #41. It was creating the unknown for the new type and then returning a new sheet for the requested unknown 2013-05-02 21:37:15 +02:00
kervala
8a68c5e54f Changed: Moved Ryzom detailed version in client 2013-04-29 14:46:53 +02:00
kervala
79cd42d7c6 Changed: Added a new event EventCloseWindowId when system reports window should be closed 2013-04-29 11:15:14 +02:00
kervala
31335cc491 Fixed: PCH compilation 2013-03-31 23:36:56 +02:00
kervala
02d6565234 fixes #32 build failure/error using clang 2013-03-26 13:56:16 +01:00
kervala
c8334e7131 fixes a warning 2013-03-24 20:16:53 +01:00
kervala
7de717f9e2 fixes #31 Luabind can't be found
Added PCH support to NeL GUI
2013-03-24 20:16:23 +01:00
dfighter1985
f55ab4e21e GUI Editor no longer depends on RTTI typename, instead it uses GetClassName() string provided by DECLARE_UI_CLASS(). 2013-02-20 22:05:09 +01:00
mattraykowski
9048c3bb21 changed #20 - moved the libwww package discovery and fixed include paths in library project. 2013-02-19 10:04:40 -06:00
dfighter1985
b25d4b628f MODIFIED: Resolved some GCC build errors. 2013-02-17 14:30:05 +01:00
mattraykowski
aa261f28a4 merging gui editor repo. 2013-02-14 09:53:06 -06:00
dfighter1985
33d84c99d7 CHANGED: Somehow lost this code part during development. 2013-02-14 12:13:32 +01:00
dfighter1985
543488b490 Merged mainline default branch changes. 2013-02-14 10:47:10 +01: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
dc28573170 Changed: Preliminary memory leaks detection under Windows 2013-02-08 13:29:17 +01:00
kervala
39668984c1 Changed: Typo fixes (thanks to Vagrant!) 2013-02-08 13:26:07 +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
kaetemi
75dd245195 Changed: Better log text 2012-12-10 13:32:17 +01:00
kaetemi
7707463fe2 Fixed: typo 2012-12-10 13:30:14 +01:00
kaetemi
971ffdb8e3 Changed: Alternative code for play function for streaming source 2012-12-10 13:28:39 +01:00
kaetemi
e32d4cbf1d Changed: Additional checks for streaming buffers in OpenAL 2012-12-10 13:09:41 +01:00
kervala
88f50cb6a0 Changed: Preliminary memory leaks detection under Windows 2012-12-08 11:40:34 +01:00
kervala
4d6ab65a36 Changed: Code simplification 2012-12-08 11:24:43 +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
c0383774c6 Changed: Preliminary memory leaks detection under Windows 2012-12-05 10:26:01 +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
6ab274422a Changed: Disabled some useless temporary files 2012-12-01 12:43:35 +01:00
dfighter1985
421582d386 MODIFIED: #1471 Merged mainline default to this branch. 2012-11-25 05:22:40 +01:00
dfighter1985
295ab058a5 MODIFIED: #1471 Incompatible / unincrementable iterators assert will no longer be hit in debug mode with M$ STL when updating the interface anims. 2012-11-22 22:57:37 +01:00
kervala
05ae6371c1 Changed: Minor changes 2012-10-28 13:47:09 +01:00
kervala
b9fd49ebc3 Move all PACS headers in nel/include/pacs directory (fixes #2) 2012-10-28 11:55:21 +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
dfighter1985
0d27998506 CHANGED: #1471 GUI library will now build with the new externals and Visual Studio 2010. 2012-10-24 18:16:01 +02:00
kervala
ddfc526d0c Changed: #573 Add anti-aliasing to the OpenGL Driver 2012-10-17 11:05:51 +02:00
kervala
0698f1abc2 Changed: Replaced string empty comparisons with empty() 2012-10-06 18:17:57 +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
cdf8fd5c6e Fixed: #1496 Fall back to OpenAL default device (patch provided by simco, thanks!) 2012-09-29 12:51:15 +02:00
kervala
95d4d5972e Changed: #825 Remove all warnings when compiling Ryzom 2012-09-27 22:25:00 +02:00
kervala
2d5142844a Changed: Use *_PREFIX instead of fixed values with INSTALL 2012-09-27 22:11:26 +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
dfighter1985
efb7bb5d14 CHANGED: #1471 CGroupContainer action handlers will now be retrievable, even if the action handler couldn't be found at the time of parsing. 2012-08-20 02:14:06 +02:00
dfighter1985
63a9b8503d CHANGED: #1471 CGroupWheel action handlers will now be retrievable, even if the action handler couldn't be found at the time of parsing. 2012-08-20 01:55:16 +02:00
dfighter1985
d6b99c3026 CHANGED: #1471 CGroupEditBox action handlers will now be retrievable, even if the action handler couldn't be found at the time of parsing. 2012-08-20 01:50:13 +02:00
dfighter1985
5042c99d95 CHANGED: #1471 CInterfaceGroup action handlers will now be retrievable, even if the action handler couldn't be found at the time of parsing. 2012-08-20 01:39:20 +02:00
dfighter1985
dc93bf28a9 CHANGED: #1471 CCtrlBaseButton action handlers will now be retrievable, even if the action handler couldn't be found at the time of parsing. 2012-08-20 01:29:49 +02:00
dfighter1985
c53fccf7c2 CHANGED: #1471 I probably shouldn't sacrifice the game's key config parsing on the altar of the GUI editor :P 2012-08-19 02:38:24 +02:00
dfighter1985
f9f765430e CHANGED: #1471 got rid of a crash. 2012-08-19 02:20:57 +02:00
dfighter1985
c5a8cecf7e CHANGED: #1471 Keys are now parsed from the config files, and then serialized on save. 2012-08-18 20:28:56 +02:00
dfighter1985
530a141bee CHANGED: #1471 Pointer settings are now parsed even when the particular pointer cannot be instantiated. They are also serialized when serializing the GUI. 2012-08-18 18:39:45 +02:00
dfighter1985
3a6ae1b74a CHANGED: #1471 Should be able to change text options for CCtrlTextButton. 2012-08-18 03:37:52 +02:00
dfighter1985
79e4832373 CHANGED: #1471 Serialize text options for Buttons with text too. 2012-08-18 02:46:19 +02:00
dfighter1985
8fa283ca14 CHANGED: #1471 Squashed a bug that prevented text to be displayed when hardtextformat was specified as an empty string. A.K.A hidden mines in the code. There are some more :( 2012-08-18 01:30:52 +02:00
dfighter1985
27a6716db6 CHANGED: #1471 Apparently when parsing variables, the parser changes the parsed entry, so better to re-read it from the XML-tree when caching. 2012-08-18 00:27:52 +02:00
dfighter1985
094bbd6e9a CHANGED: #1471 GUI Procedures are now serialized. 2012-08-17 21:49:54 +02:00
dfighter1985
8402f2657f CHANGED: #1471 Links are now serialized. 2012-08-17 20:36:35 +02:00
dfighter1985
ef43b498bc CHANGED: #1471 Variables are now serialized. 2012-08-17 06:10:18 +02:00
dfighter1985
ff02875d45 CHANGED: #1471 Squashed a bug that prevented many widgets from being serialized right. Therefore preventing correct display when loading the saved XML. 2012-08-17 05:11:13 +02:00
dfighter1985
8a6d621881 CHANGED: #1471 Tree/node data is now serialized. 2012-08-17 04:37:07 +02:00
dfighter1985
b8cb3c43cd CHANGED: #1471 interface options are now serialized. 2012-08-16 00:45:19 +02:00
dfighter1985
66f6979be7 CHANGED: #1471 CGroupMenu's previously unnamed children will now be named properly. 2012-08-15 18:20:54 +02:00
dfighter1985
8f2932fb90 CHANGED: #1471 CCtrlTextButton created CViewText shouldn't be serialized. 2012-08-15 18:12:33 +02:00
dfighter1985
1a774d7fa8 CHANGED: #1471 CGroupMenu and CGroupList created widgets shouldn't be serialized by CInterfaceGroup. 2012-08-15 18:02:05 +02:00