Commit graph

246 commits

Author SHA1 Message Date
Areloch
1ed8b05169 Initial implementation of the new Base Game Template and some starting modules.
This makes some tweaks to the engine to support this, specifically, it tweaks the hardcoded shaderpaths to defer to a pref variable, so none of the shader paths are hardcoded.

Also tweaks how post effects read in texture files, removing a bizzare filepath interpretation choice, where if the file path didn't start with "/" it forcefully appended the script's file path. This made it impossible to have images not in the same dir as the script file defining the post effect.

This was changed and the existing template's post effects tweaked for now to just add "./" to those few paths impacted, as well as the perf vars to support the non-hardcoded shader paths in the engine.
2017-02-24 02:40:56 -06:00
Areloch
501b55d939 Adds a check to the record movie call so that it only happens in Release mode, to avoid crash issues with theora and debug mode. 2017-01-30 20:36:48 -06:00
Thomas Dickerson
6963d35145 Merge branch 'development' into stringTableEmptyString 2017-01-24 12:35:34 -05:00
rextimmy
f6d624be8f Fix mipmap count and potential crash for non square textures that are allocated with GBitmap class 2017-01-16 15:36:52 +10:00
Areloch
0c6174b045 Merge pull request #1920 from elfprince13/variadicConsoleTemplates
Variadic console templates
2017-01-12 23:32:03 -06:00
Thomas "elfprince13" Dickerson
bcc5459818 whitespace 2017-01-11 23:34:46 -05:00
Thomas "elfprince13" Dickerson
1c2b096a72 Whitespace consistency 2017-01-06 23:10:14 -05:00
Anis
55b7a8431c Merge pull request #1800 from Azaezel/andOrMaybe
clang reports: unclear || + && and &+| mixes.
2017-01-07 02:31:05 +01:00
Thomas "elfprince13" Dickerson
88106f9032 Fixed type inference for nulls in console functions 2017-01-06 17:18:37 -05:00
rextimmy
34e877b6e0 Added feature level version to card profiler version string for D3D11 2016-12-30 11:40:32 +10:00
rextimmy
86a95e748e Added getShaderModel string to D3D11 for use with shader version macros. 2016-12-30 11:40:00 +10:00
Areloch
4a84c68137 Merge pull request #1882 from rextimmy/gl_vsync
OpenGL vsync fixes.
2016-12-28 21:45:12 -06:00
rextimmy
46037622c9 D3DPER debug events for DX11 2016-12-23 15:59:32 +10:00
rextimmy
4857e89ca8 D3D11 fullscreen fix 2016-12-23 15:43:45 +10:00
rextimmy
48dc2551c4 GFXD3D11StateBlock improvements 2016-12-23 15:08:23 +10:00
rextimmy
983b3211ed D3D11 Feature level 10 support and D3D11 device cleanup. 2016-12-23 15:00:07 +10:00
rextimmy
415f4a046e OpenGL vsync fixes. 2016-12-23 13:59:55 +10:00
Areloch
fb9bd03073 Merge pull request #1859 from rextimmy/multicanvas_gl_dx11
Multiple canvas support for GL and DX11
2016-12-20 23:36:13 -06:00
Azaezel
dd071484da Merge branch 'development' of https://github.com/GarageGames/Torque3D into andOrMaybe
Conflicts:
	Engine/source/T3D/staticShape.cpp
2016-12-20 22:50:28 -06:00
rextimmy
ab41fe713c GL::Workaround::noCompressedNPoTTextures profile is no longer used nor relevant. #1863 2016-12-15 14:50:51 +10:00
rextimmy
08c0195cba OpenGL multiple canvas support 2016-12-14 22:01:18 +10:00
rextimmy
efab1299ca DX11 multiple canvas support 2016-12-14 21:24:44 +10:00
Jeff Hutchinson
14cd94ddc9 glx extension fix for GLX windowing api 2016-11-24 12:41:30 -05:00
Jeff Hutchinson
15a10a78cc suppress API_ID_REDUNDANT_FBO on the debug callbacks. This is a temporary fix so that glad can get pushed into devhead. 2016-11-24 12:35:39 -05:00
Jeff Hutchinson
0296e6d3fd Fix merge conflict and add check for unix and not apple for glx
Merge branch 'development-gg' into gladdev

# Conflicts:
#	Tools/CMake/libraries/glad.cmake
2016-11-02 21:55:24 -04:00
Areloch
6cc7bcd2e0 Merge pull request #1805 from Azaezel/startRightEndRight
clang: constructor initialization order
2016-10-19 08:39:12 -05:00
Areloch
121d65215e Tweaks any enums that use uint_max values so that they have hard types to avoid any compiler kerfluffles with C++11 value narrowing, specifically pertaining to clang. 2016-10-17 01:00:12 -05:00
Azaezel
fbfd3ed8ed clang: constructor initialization order
while not a major issue per-se, the sheer number of times the engine has to jump back in memory and backfill data in a given class can add up. First run of... many.,
2016-10-14 18:16:55 -05:00
Azaezel
cc9955e102 unused variable cleanup 2016-10-14 17:49:56 -05:00
Azaezel
c57b1a8b70 clang reports: unclear || + && and &+| mixes. 2016-10-14 17:26:13 -05:00
RexTimmy
dd64004eaf MacOS platform support. 2016-09-28 11:09:48 +10:00
Anis
9cb413a38d Merge pull request #1763 from Azaezel/linearBuffers
banding: conforms misbehaving postfx to the hdr buffer format
2016-09-17 21:31:31 +02:00
James Urquhart
455aa99046 Add missing bracket 2016-09-13 10:24:23 +01:00
Jeff Hutchinson
cfb3ad598f SDL support for glad 2016-09-11 21:59:48 -04:00
Jeff Hutchinson
11c3314f66 implement glad into torque. 2016-09-11 21:48:42 -04:00
James Urquhart
212ac36cc1 Tidy up indentation in openvr changes 2016-09-11 22:51:00 +01:00
James Urquhart
1b2abbeaaa Allow DebugDraw not to flush the draw queue 2016-09-11 22:42:42 +01:00
James Urquhart
0ac3d95cb9 Add more outline functions to DebugDraw 2016-09-11 22:42:42 +01:00
James Urquhart
a83afa07ea Fix blockiness when drawing to gui overlays using standard draw commands 2016-09-11 22:42:42 +01:00
James Urquhart
f91aa639d6 Remove projection offset, add the hmd head matrix. Also tidy up a few things. 2016-09-11 22:42:42 +01:00
James Urquhart
da6bcbeb2b Improvements to openvr code
- Overlays are implemented (sans input for the moment)
- Fixed a problem where the movemanager was using the wrong values for hmd rotation & position
2016-09-11 22:42:42 +01:00
James Urquhart
b58f34da9b Correctly handle invalid openvr adapters 2016-09-11 22:42:42 +01:00
James Urquhart
126828131d Improve openvr, also add a module for it. 2016-09-11 22:42:42 +01:00
James Urquhart
ba91478fad Baseline working openvr code 2016-09-11 22:42:42 +01:00
James Urquhart
64b751a7c8 Basic port of code 2016-09-11 22:42:42 +01:00
RexTimmy
28a9e99258 Correctly copy mipmap sub resources for DX11 cubemap. 2016-09-08 10:30:47 +10:00
Azaezel
125b7aa636 banding: conforms misbehaving postfx to the hdr buffer format until we have a proper srgb compatible buffer to minimize that with 2016-09-05 22:16:49 -05:00
James Urquhart
ace01a313c Add a workaround for the 16 vertex attribute limit on nvidia gl 2016-08-21 01:43:30 +01:00
James Urquhart
6283a6b9da Fix the pink water in D3D9 2016-08-21 01:43:30 +01:00
James Urquhart
3496c549b5 Hardware Skinning Support
- Supports GL, D3D9 & D3D11
- Extends vertex formats & shadergen to support blend indices and weights
- Adds basic support for using 4x3 matrices for shader constants
- Supports software fallback
2016-08-21 01:43:30 +01:00