Commit Graph

735 Commits (d0a199d22dd1415c88c6e46af66abb70107f567e)

Author SHA1 Message Date
kaetemi 339c8b8dfa 3D: Render target matrix context fix
--HG--
branch : multipass-stereo
10 years ago
kaetemi 33235bdf6c OVR: Testing
--HG--
branch : multipass-stereo
10 years ago
kaetemi 2e6893fd48 OVR: Translate camera
--HG--
branch : multipass-stereo
10 years ago
kaetemi 9b79a44f8a OVR: Get orientation
--HG--
branch : multipass-stereo
10 years ago
kaetemi 262c1f84a9 OVR: Generate distortion mesh
--HG--
branch : multipass-stereo
10 years ago
kaetemi 99ea2c685c OVR: Read device descriptions
--HG--
branch : multipass-stereo
10 years ago
kaetemi f2274d2378 OVR: Iterate devices
--HG--
branch : multipass-stereo
10 years ago
kaetemi b9e10fca72 Cleanup
--HG--
branch : multipass-stereo
10 years ago
kaetemi 0488b706b2 Add placeholders for LibOVR 0.4.0 support
--HG--
branch : multipass-stereo
10 years ago
kaetemi 96bd17ae63 3D: Fix texture coords for FXAA on D3D
--HG--
branch : multipass-stereo
10 years ago
kaetemi d56047bde6 Remove debug
--HG--
branch : multipass-stereo
10 years ago
kaetemi 8a283ea518 3D: User higher quality FXAA version
--HG--
branch : multipass-stereo
10 years ago
kaetemi ec4762f669 3D: Add FXAA
--HG--
branch : multipass-stereo
10 years ago
kaetemi f59de199cf Fix crash on AMD with legacy clouds
--HG--
branch : multipass-stereo
10 years ago
kaetemi d98f1ede47 Move default render target handling to CDriverUser
--HG--
branch : multipass-stereo
10 years ago
kaetemi e88dedf00c Adjust render target handling for effects
--HG--
branch : multipass-stereo
10 years ago
kaetemi 6c3bcc2439 Merge with default
--HG--
branch : multipass-stereo
10 years ago
kaetemi 1c67d6ec0f GL: Occlusion query bugfix 10 years ago
kaetemi 6a21d0503c 3D: Cleanup bloom effect
--HG--
branch : multipass-stereo
10 years ago
kaetemi 8af686f7ef 3D: Cleanup bloom effect
--HG--
branch : multipass-stereo
10 years ago
kaetemi 78ce8f4f25 GL: Share depth and stencil to get similar behaviour to D3D driver
--HG--
branch : multipass-stereo
10 years ago
kaetemi 503292065c Simplify GUI projection settings
--HG--
branch : multipass-stereo
10 years ago
kaetemi 1965d46dce Off-center GUI cylinder
--HG--
branch : multipass-stereo
10 years ago
kaetemi f2dd6083fa Cylindrical GUI
--HG--
branch : multipass-stereo
10 years ago
kaetemi c11706feb8 Project GUI into space
--HG--
branch : multipass-stereo
10 years ago
kaetemi f32c3bf6b0 Temporary crashfix, ref #68
--HG--
branch : multipass-stereo
10 years ago
kaetemi caefb04928 Restore camera and scene viewport after disabling VR
--HG--
branch : multipass-stereo
10 years ago
kaetemi c70d8597b2 Merge with default
--HG--
branch : multipass-stereo
10 years ago
kaetemi 79c6f50054 Render target format (for alpha)
--HG--
branch : multipass-stereo
10 years ago
kaetemi 61f97fae40 Fix issue with render target in OpenGL when size not specified
--HG--
branch : multipass-stereo
10 years ago
kaetemi 22d03c5f79 Mode2D selection
--HG--
branch : multipass-stereo
10 years ago
kaetemi dac5b2d274 Merge with game-device
--HG--
branch : multipass-stereo
10 years ago
kaetemi b1e2b60381 Add render target manager, issue #47
--HG--
branch : multipass-stereo
10 years ago
kaetemi c461502dc7 Crash workaround in IG loading, ref #171 10 years ago
kaetemi 6b0d468240 Remove a debug assert 10 years ago
kervala 4b39f9640d Changed: Minor optimization and warning 10 years ago
kervala 0bb464411b Changed: Replaced tests with .size() by .empty() because faster 10 years ago
kaetemi 496f7f268c Trash DirectInput
--HG--
branch : game-device
10 years ago
kaetemi f281622d47 Trash DirectInput
--HG--
branch : game-device
11 years ago
kaetemi 353c74ff21 Don't enforce native fragment programs on modern hardware. Fixes water for the open source ATI/AMD driver, which reports fragment programs as not native (as they are translated to modern hardware). 11 years ago
kaetemi cf3e779ae9 Fix compile 11 years ago
kaetemi cec2970169 SSE2: Replace prefetch
--HG--
branch : sse2
11 years ago
kaetemi 71a598db7e SSE2: Remove dead code
--HG--
branch : sse2
11 years ago
kaetemi ac3e69b8ab Merge with default
--HG--
branch : sse2
11 years ago
kaetemi 93e97c56cd Implement occlusion queries for AMD/ATI in the OpenGL driver 11 years ago
kaetemi fd6a95e3a3 Backed out changeset: f665fcc42968 (except dru.cpp) 11 years ago
kaetemi 43be0fd2a5 Fix D3D driver compile under MinGW 11 years ago
kaetemi f4fd8bb669 Fix linking of OpenGL driver under MinGW 11 years ago
kaetemi 5bd6c5e06b Fix compilation of NL3D under MinGW 11 years ago
kaetemi d3fb390cf3 SSE2: Align CMatrix
--HG--
branch : sse2
11 years ago
kaetemi 15dc492690 Set additional preferred memory 11 years ago
kaetemi ad0bf64b18 Cleanup extension initialization 11 years ago
kaetemi 766cace955 Implement volatile vertex buffer for opengl driver, should provide considerable performance improvements for particle systems. Needs additional testing. 11 years ago
kaetemi db5c65fedf Merge 11 years ago
kaetemi 1a4a7bafab Backed out changeset: 897087f1fa71, 7c3f1f0dc9d8, 61d11f94e3ea 11 years ago
kervala 24fa8df5ff Fusion avec default
--HG--
branch : compatibility
11 years ago
Nimetu 7cc1bf9f17 Fix compiling on linux with new OpenGL headers (issue #145)
--HG--
branch : Issue#145
11 years ago
kervala ed1a84c99b Changed: Updated OpenGL and OpenGL ES headers
--HG--
branch : compatibility
11 years ago
kervala 831758beb1 Fixed: nglXSwapIntervalEXT return type should be void
--HG--
branch : compatibility
11 years ago
kaetemi 5ed5cd5ea8 Add interface for HMD with player death support 11 years ago
kervala 8f6c32bd69 Backed out changeset: 3937923211ec
--HG--
branch : compatibility
11 years ago
kervala c83afd649d Changed: Replaced some Mac OS X warnings by TODO comments
--HG--
branch : compatibility
11 years ago
kervala 81881a583f Fixed: Switch not handled warnings
--HG--
branch : compatibility
11 years ago
kervala bfaf952f32 Fixed: Warnings with clang: wrong ! and == operators order 11 years ago
kervala 8fa24eeb4e Fixed: Warnings with clang: wrong ! and == operators order
--HG--
branch : compatibility
11 years ago
kervala a0801ebffe Changed: Removed useless definitions 11 years ago
kervala 7ab7952dbd Changed: Removed useless definitions
--HG--
branch : compatibility
11 years ago
kervala def5243d06 Changed: Updated OpenGL headers 11 years ago
kervala ee87716aa0 Changed: Updated OpenGL headers
--HG--
branch : compatibility
11 years ago
kervala a77bddf265 Changed: Give priority to ARB extensions in tests
--HG--
branch : compatibility
11 years ago
kervala 55a29115ba Changed: Detect available video memory with OpenGL extensions 11 years ago
kervala d4fb36d1eb Changed: Detect available video memory with OpenGL extensions
--HG--
branch : compatibility
11 years ago
kervala 0aaad7051b Changed: Use OpenGL ES functions prototypes from official headers 11 years ago
kervala 3e30929867 Changed: Use OpenGL ES functions prototypes from official headers
--HG--
branch : compatibility
11 years ago
kervala c59f9d8a5e Changed: Optimize OpenGL driver PCH 11 years ago
kervala 406df1c59c Changed: Optimize OpenGL driver PCH
--HG--
branch : compatibility
11 years ago
kervala 927ff14998 Changed: Use OpenGL functions prototypes from official headers
Fixed: glDeleteObjectBufferATI replaced by glFreeObjectBufferATI since 2002
11 years ago
kervala 713c07e1e6 Changed: Use OpenGL functions prototypes from official headers
Fixed: glDeleteObjectBufferATI replaced by glFreeObjectBufferATI since 2002

--HG--
branch : compatibility
11 years ago
kaetemi 4f2a1b7db2 Fix the bug that caused the shape exporter to crash 11 years ago
botanic e728daa7cd Add CMAKE option and NVIDIA PerfHUD support 11 years ago
kaetemi 40fe633dbe Fix thread lockup in zone lighter
--HG--
branch : build_pipeline_py
11 years ago
kaetemi 89a2a2ce99 Do not select stereo display debugger when HMD is set to Auto in Snowballs 11 years ago
kervala a5a9532a13 Changed: Best fix for Freetype new layout (we only just need to include ft2build.h as done in font_generator.h) 11 years ago
kervala 09e3471f1b Fixed: Compilation with freetype 11 years ago
kervala b96ad682f5 Fixed: Compilation under Mac OS X 11 years ago
kervala af1721a0a4 Changed: Don't need to change _PolygonSmooth if value is the same 11 years ago
kervala 166607f644 Changed: Implement VSync under Mac OS X 11 years ago
kervala d8a6c9f966 Fixed: Warning with clang 11 years ago
kervala b7082644f0 Changed: Updated OpenGL registry 11 years ago
kaetemi 563afd027c Fix #67 bad NELID in vertex program parser 11 years ago
kervala de43ea8d86 Fixed: Some warnings 11 years ago
kaetemi 3b4730c890 Fix warnings 11 years ago
kervala bb7297f260 Fixed: Wrong variable used to compute array length 11 years ago
kervala b7ddc2c0d2 Fixed: OpenGL ES driver compilation 11 years ago
kervala 6695a9064e Changed: Created NELID macro to fix warning "multi-character character constant" 11 years ago
kaetemi 1a669307da Fix typo 11 years ago
kaetemi ce9e0a397b Fix regression from stereo branch in wind tree 11 years ago
kaetemi 046e3c92da Fix compile error in vertex program 11 years ago
kaetemi 3c099397d8 Update supportVertexProgram calls 11 years ago
kaetemi 256f7ff06c Cleanup unused code 11 years ago
kaetemi 6dfc8d0a00 Rename
--HG--
branch : multipass-stereo
11 years ago
kaetemi 973215e1d0 Cleanup
--HG--
branch : multipass-stereo
11 years ago
kaetemi d2bc32e598 Merge with default
--HG--
branch : multipass-stereo
11 years ago
kaetemi cd9baf8f89 Cleanup
--HG--
branch : multipass-stereo
11 years ago
kaetemi 74cff50842 Use named indices with wind tree program
--HG--
branch : multipass-stereo
11 years ago
kaetemi c766940e75 Use named indices for per pixel light vertex program
--HG--
branch : multipass-stereo
11 years ago
kaetemi f9c9c1836a Use named uniform indices for lighted vertex program
--HG--
branch : multipass-stereo
11 years ago
kaetemi 61af565bf9 Updated wind tree program container
--HG--
branch : multipass-stereo
11 years ago
kaetemi c353121771 Use lighted vertex program container for per pixel light program
--HG--
branch : multipass-stereo
11 years ago
kaetemi a72f25e763 Add container for lighted vertex program
--HG--
branch : multipass-stereo
11 years ago
kaetemi ab231ea700 Adjust order for meshvp
--HG--
branch : multipass-stereo
11 years ago
kaetemi 278e19743c Do not use old interface here
--HG--
branch : multipass-stereo
11 years ago
kaetemi d5c2a0527d Modify calls in bloom effect
--HG--
branch : multipass-stereo
11 years ago
kaetemi 5e14dc4458 Update veget implementation
--HG--
branch : multipass-stereo
11 years ago
kaetemi 9d93ae51a3 Fixes for d3d
--HG--
branch : multipass-stereo
11 years ago
kaetemi 21a70b4211 Update d3d implementation and add some debugging code
--HG--
branch : multipass-stereo
11 years ago
kaetemi e8d77e23e0 Rename of a d3d specific class
--HG--
branch : multipass-stereo
11 years ago
kaetemi c6139419ac Partial update of veget vp
--HG--
branch : multipass-stereo
11 years ago
kaetemi 5fbb220795 Update some test code
--HG--
branch : multipass-stereo
11 years ago
kaetemi c53aa6958e Small adjustment to landscape vp parameter setting
--HG--
branch : multipass-stereo
11 years ago
kaetemi 88cbc2f82b Simplify
--HG--
branch : multipass-stereo
11 years ago
kaetemi abafc9b1ef Adjust landscape vertex program to use new interface
--HG--
branch : multipass-stereo
11 years ago
kaetemi 5ad617efb6 Use new program interface for water vertex program
--HG--
branch : multipass-stereo
11 years ago
kaetemi 32809d646a Set driver parameters
--HG--
branch : multipass-stereo
11 years ago
kaetemi 64643e564b Some fixes
--HG--
branch : multipass-stereo
11 years ago
kaetemi 0429e67903 Use CSmartPtr for vertex program
--HG--
branch : multipass-stereo
11 years ago
kaetemi 8f4fe87b7b Set params from storage
--HG--
branch : multipass-stereo
11 years ago
kaetemi e3dead19e4 Replace temporary CMaterial code
--HG--
branch : multipass-stereo
11 years ago
kaetemi e9444ce36a Implement param storage copy
--HG--
branch : multipass-stereo
11 years ago
kaetemi bb625c33bd Flag some TODO's
--HG--
branch : multipass-stereo
11 years ago
kaetemi 87b24bc4ab Add glsl pixel program for stereo distortion
--HG--
branch : multipass-stereo
11 years ago
kaetemi ac2e087fbf Cleanup abstract gpu program interface
--HG--
branch : multipass-stereo
11 years ago
kaetemi 0d743d7f37 Implement new driver interface in Direct3D driver
--HG--
branch : multipass-stereo
11 years ago
kaetemi 81876009d3 Implement new driver interface in OpenGL driver
--HG--
branch : multipass-stereo
11 years ago
kaetemi d1b93ac3d6 Expand parameter interface
--HG--
branch : multipass-stereo
11 years ago
kaetemi e84e08b0f6 Reduce function duplication
--HG--
branch : multipass-stereo
11 years ago
kaetemi afe6c16bf3 Separate count and size
--HG--
branch : multipass-stereo
11 years ago
kaetemi 05583d134a Cleanup driver interface
--HG--
branch : multipass-stereo
11 years ago
kervala 0ccec811d6 Changed: Updated Freetype libraries variable 11 years ago
kaetemi 235bfcfd94 Add additional set functions
--HG--
branch : multipass-stereo
11 years ago
kaetemi f0af3326e6 Add gpu program params storage structure
--HG--
branch : multipass-stereo
11 years ago
kaetemi ee0396bd6f Implement new gpu program interface in direct3d driver
--HG--
branch : multipass-stereo
11 years ago
kaetemi 350b580085 Implement new gpu program interface in opengl driver
--HG--
branch : multipass-stereo
11 years ago
kaetemi 1fa02cae9e Make gpu programs use abstract gpu program class
--HG--
branch : multipass-stereo
11 years ago
kaetemi 97c9c26690 Add abstract gpu program and source classes
--HG--
branch : multipass-stereo
11 years ago
Thibaut Girka ea8a845ab9 Add support for LibVR
--HG--
branch : multipass-stereo
11 years ago
kaetemi 7782576dfc Merge with default
--HG--
branch : multipass-stereo
11 years ago
kervala 6d10e3189c Changed: Formatting 11 years ago
kaetemi 71cdf88b81 Fix warning
--HG--
branch : multipass-stereo
11 years ago
kaetemi 96b2df8405 Merge with default
--HG--
branch : multipass-stereo
11 years ago
kaetemi 1c3fbf0256 Improve performance of UsedTexture debugging info in OpenGL driver
--HG--
branch : kaetemi-optimize
11 years ago
kaetemi 1e9771d054 Merge with default
--HG--
branch : multipass-stereo
11 years ago
kaetemi e435a07bb6 Fix bug #45 crash in zone lighter with large number of CPU cores 11 years ago
Michael Witrant 293601e80e Fixed definition tests for optional LibOVR
--HG--
branch : multipass-stereo
12 years ago
Michael Witrant a33a0e5c56 LibOVR is optional, and is disabled by default
--HG--
branch : multipass-stereo
12 years ago
Michael Witrant c60bd3e3f5 Added LibOVR finder and Linux support, ref #43
--HG--
branch : multipass-stereo
12 years ago
kaetemi eab2386ff6 Don't render to texture when in wireframe mode, re #43
--HG--
branch : multipass-stereo
12 years ago
kaetemi 248f07ad9e Put stereo render loop inside ryzom client main loop, see #43
--HG--
branch : multipass-stereo
12 years ago
kaetemi b1aaf05bf6 Init/release VR interfaces in ryzom client, ref #43
--HG--
branch : multipass-stereo
12 years ago
kaetemi 352ee42571 Distort 2D gui as well, ref #43
--HG--
branch : multipass-stereo
12 years ago
kaetemi dcd77495ca Fix particles being animated twice in stereo render, see #43
--HG--
branch : multipass-stereo
12 years ago
kaetemi bf8bd64f0d Add stereo debugger for visually comparing rendered frames, ref #43
--HG--
branch : multipass-stereo
12 years ago
kaetemi e68e7161d8 Use width instead of height of screen for hmd fov, re #43
--HG--
branch : multipass-stereo
12 years ago
kaetemi 1fe2b62eb1 Add minimal head model and world scale, ref #43
--HG--
branch : multipass-stereo
12 years ago
kaetemi 0dd8764e45 Make bloom work together with render target used for the rift shader, ref #43
--HG--
branch : multipass-stereo
12 years ago
kaetemi 52f4a37939 Remove unnecessary user render target code from bloom, see #43
--HG--
branch : multipass-stereo
12 years ago
kaetemi 391fa6dcff Add arbfp1 and fp40 barrel fragment programs, see #43
--HG--
branch : multipass-stereo
12 years ago
kaetemi 73d3176f0c Test arbfp1, see #43
--HG--
branch : multipass-stereo
12 years ago
kaetemi d13da7a398 Prefer NPOT texture over RECT texture
--HG--
branch : multipass-stereo
12 years ago
kaetemi 43f8adff79 Render left and right deformed view, re #43
--HG--
branch : multipass-stereo
12 years ago
kaetemi ce92c13289 Test the barrel shader, see #43
--HG--
branch : multipass-stereo
12 years ago
kaetemi c5c6f7c871 Render the scene to a target texture for the stereo rendering filter, ref #43
--HG--
branch : multipass-stereo
12 years ago
kaetemi 7766116494 Fix a render target issue, see #43
--HG--
branch : multipass-stereo
12 years ago
kaetemi c5e1235cbb Create stereo render target, see #43
--HG--
branch : multipass-stereo
12 years ago
kaetemi 85109102b2 Add interface for stereo display render targets, ref #43
--HG--
branch : multipass-stereo
12 years ago
kaetemi fe91e2a751 Cleanup
--HG--
branch : multipass-stereo
12 years ago
kaetemi 5f229667bc Create interface classes for stereo displays and head mounted displays, see #43
--HG--
branch : multipass-stereo
12 years ago
kaetemi 1cc5848220 Create a clipping frustum, ref #43
--HG--
branch : multipass-stereo
12 years ago
kaetemi e7842982a0 Allow multiple user cameras to be calculated separately, useful for sky etc, re #43
--HG--
branch : multipass-stereo
12 years ago
kaetemi 38be9b5997 Fix warning
--HG--
branch : multipass-stereo
12 years ago
kaetemi 202413ab52 Adjust 2D interface shift, re #43
--HG--
branch : multipass-stereo
12 years ago
kaetemi 4864ce7a5a Add eye distance in 2D interface shift, re #43
--HG--
branch : multipass-stereo
12 years ago
kaetemi 5423d4d025 Add 2D interface shifting calculations, see #43
--HG--
branch : multipass-stereo
12 years ago
kaetemi 39197681fa Correctly adjust text to viewport, re #43
--HG--
branch : multipass-stereo
12 years ago
kaetemi 91be2d64bd Cleanup and make bloom work with stereo rendering, re #43
--HG--
branch : multipass-stereo
12 years ago
kaetemi 32a187a199 Render from multiple cameras, see #43
--HG--
branch : multipass-stereo
12 years ago
kaetemi a5c9592165 Read sensor data and set camera in snowballs, ref #43
--HG--
branch : multipass-stereo
12 years ago
kaetemi a79b9f7e65 Add library name to device name, re #43
--HG--
branch : multipass-stereo
12 years ago
kaetemi 64821ab4de List stereo devices, see #43
--HG--
branch : multipass-stereo
12 years ago
kaetemi 78179ed809 Rename some functions to follow the same naming convention of others
--HG--
branch : multipass-stereo
12 years ago
kaetemi ad5b60963f Cleanup
--HG--
branch : multipass-stereo
12 years ago
kaetemi be33bbc70f Add support for fp40 with opengl
--HG--
branch : multipass-stereo
12 years ago
kaetemi f278ac7638 Activate textures for postprocessing material under direct3d
--HG--
branch : multipass-stereo
12 years ago
kaetemi 9b0b1008ff Fix linux compile
--HG--
branch : multipass-stereo
12 years ago
kaetemi dfb110b387 Add function to check which pixel program profiles are available on a driver
--HG--
branch : multipass-stereo
12 years ago
kaetemi 1c3fc17d91 Cleanup more unneeded code
--HG--
branch : multipass-stereo
12 years ago
kaetemi 4200483383 Removed unneeded parser related code from the opengl pixel program implementation
--HG--
branch : multipass-stereo
12 years ago
kaetemi 197c0687d9 Add direct3d diff for old nevrax pixel program code, marked a todo in the comments
--HG--
branch : multipass-stereo
12 years ago
kaetemi f08de2dcdc Added diff to opengl driver for old nevrax pixel program code, marked todos in comments
--HG--
branch : multipass-stereo
12 years ago
kaetemi 983fab378c Add rest of the diff from the old nevrax code for pixel programs to NL3D
--HG--
branch : multipass-stereo
12 years ago