Commit graph

1170 commits

Author SHA1 Message Date
Azaezel ce2964d2d0 diffuse/albedo texture linearization
http://http.developer.nvidia.com/GPUGems3/gpugems3_ch24.html
2015-11-11 13:52:46 -06:00
Areloch 51b6469922 Merge pull request #1439 from Azaezel/initTextureSpace
ensures opengl texSpaceMat is initialized from the get-go
2015-11-09 10:55:10 -06:00
Azaezel f4d40bf1b0 hooks meshroads up to the material system for castrays (at a minimum, sound playback) 2015-11-05 10:18:17 -06:00
Areloch bc44aba31c Merge pull request #1428 from Azaezel/hashHorking
cuts the shadergen hashkey generator down from a 64 bit to a 32 bit key.
2015-11-05 00:12:03 -06:00
Areloch 165cdb64e9 Merge pull request #1322 from Areloch/String_isEmpty_Convert
Replace uses of dStrIsEmpty with new String::isEmpty
2015-10-31 23:40:13 -05:00
Areloch db7363df12 Merge pull request #947 from eightyeight/trigger-inheritance
Make Trigger friendlier towards inheritance
2015-10-29 22:06:59 -05:00
rextimmy 27720cb786 Corrected SkyBox vertex format 2015-10-26 21:08:12 +10:00
Areloch 8253bcc343 Merge pull request #1446 from rextimmy/water_vertex_format_fix
Looks to work fine. Thanks!
2015-10-24 02:12:46 -05:00
rextimmy 9c6ff1775b Removed unused vertex colors from GFXWaterVertex 2015-10-22 21:54:35 +10:00
Areloch 4db84b34d0 Merge pull request #1418 from JeffProgrammer/gpushader4
Looks fine
2015-10-22 00:02:58 -05:00
rextimmy af9ad17ad6 Replaced ScatterSkyVertex declaration with default GFXVertexP in ScatterSky. 2015-10-19 21:15:59 +10:00
rextimmy 246785a8bf Removed unused vertex formats from ScatterSky 2015-10-16 21:30:39 +10:00
Azaezel 215ae1429e ensures opengl texSpaceMat is initialized from the get-go (whines in console otherwise) 2015-10-11 22:47:33 -05:00
Azaezel aa6d078c40 cuts the shadergen hashkey generator down from a 64 bit to a 32 bit key.
(MacOSX 32 bit compatibilty errors. was generating 2k+ shader files. may also address  https://github.com/GarageGames/Torque3D/issues/1219)
2015-09-30 22:51:59 -05:00
Areloch 2044b2691e Merge pull request #1426 from Azaezel/KrazyKeyKompares
backend correction for https://github.com/GarageGames/Torque3D/pull/1425
2015-09-27 17:55:21 -05:00
Areloch 9f7513dc0b Further fixes to work around certain accelerators being missed, and additional command bleed-through. 2015-09-27 15:43:47 -05:00
Azaezel f87f7c41b6 backend correction for https://github.com/GarageGames/Torque3D/pull/1425 2015-09-25 17:09:41 -05:00
Jeff Hutchinson 4baf410b4f remove GL_EXT_gpu_shader4 2015-09-22 00:57:40 -04:00
Areloch 4c13906865 Corrects input issues when typing into text fields and it bleeding through to player inputs. 2015-09-21 00:14:16 -05:00
Areloch e8d1238794 Merge pull request #1411 from Azaezel/textEditReversion
void GuiTextEditCtrl::execConsoleCallback() reversion
2015-09-17 18:35:28 -05:00
Areloch 70c7a67456 Merge pull request #1409 from Azaezel/LinuxLongLoopiness
U32 MRandomLCG::randI() was using longs
2015-09-16 21:27:56 -05:00
Azaezel 1d442c9f84 void GuiTextEditCtrl::execConsoleCallback() reversion
see https://github.com/GarageGames/Torque3D/issues/1408
2015-09-16 12:55:27 -05:00
Areloch 6e1d031ecd Corrects light animation to adhere to the brightness level set in the light's params instead of sticking with the default 0-1 brightness range. 2015-09-15 19:56:35 -05:00
Azaezel 58ae331609 U32 MRandomLCG::randI() was using longs
32 and 64 bit windows can handle that. 64 bit linux no likey mixing longs and ints.
2015-09-09 15:22:19 -05:00
Areloch 5874b8db59 Merge pull request #1380 from Azaezel/C4946
partly addresses C4946 warnings
2015-09-04 21:23:44 -05:00
Areloch bedc79aacb Merges in Monkey's fixes PR with a resolution for a conflict 2015-09-03 22:58:57 -05:00
Areloch b1d2ba8412 Merge pull request #1379 from Azaezel/C4189
C4189 warning cleanups
2015-09-02 19:46:28 -05:00
Areloch 4f1372a7f1 Merge pull request #564 from signmotion/chaotic-crash-decal
Will go ahead and merge this in on the grounds that while it may not technically be possible to make this problem occur(at least no one seems to have been able to reproduce it), having the clamping of values is generally a smart move on principle and prevents even the weird outliers from happening.
2015-08-29 20:05:27 -05:00
Areloch 0e42172651 Merge pull request #1404 from Areloch/DXTnm_OGL_2
Companion PR to #719
2015-08-29 14:03:55 -05:00
Areloch 4c4a84099b Merge pull request #1375 from Areloch/Update1001
Redux of Winterleaf's PR 1001, with the suggested updated values.
2015-08-28 11:46:41 -05:00
Areloch 71c19a6151 Companion PR to #719
Adds the OGL side. redoing it to make sure the PR history is clean.
2015-08-28 00:27:08 -05:00
Areloch 95ab3a33a5 Merge pull request #719 from rextimmy/dxtnm-parallax-fix
Fix to allow parallax mapping with dxtnm textures via the red channel.
2015-08-27 23:59:20 -05:00
Areloch ac6bca6f13 Merge pull request #1394 from Azaezel/BarrierBreak
release the mouse from window constraints when poping up a window prompt
2015-08-24 19:03:52 -05:00
Areloch b54f41e36d Merge pull request #1378 from Areloch/PVS_Cleanup_595
Properly testing pointer vars aren't null before using them.
2015-08-22 23:17:43 -05:00
Azaezel 8f8c17e997 optimization 2015-08-21 03:07:41 -05:00
Azaezel 240219c423 clarify var-usage via naming 2015-08-21 03:06:47 -05:00
Areloch 31afbedfb6 Merge pull request #1346 from eightyeight/fix-threadpool-tests 2015-08-21 00:07:55 -05:00
Azaezel a0aa826f16 Adds a verifyCompatibility method to the Win32FileSystem to report case-sensitivity issues
-triggered during debug only
-still need to expand that to handle bad directories.
2015-08-18 06:12:37 -05:00
Azaezel 1df7e47a89 From @LuisAntonRebollo -Stymies infinite loop on exit with SDL2+opengl on windows. 2015-08-13 15:34:41 -05:00
Azaezel 7df625ea14 Adds data to vector out of bounds reports
Like say, if it's crashing out due to being passed a -1, or adding past the end.
2015-08-12 16:17:08 -05:00
Azaezel ac515a9ab1 release the mouse from window constraints when poping up a window prompt
like, say, assertfatal, to allow clicking in the popup.
2015-08-10 21:54:30 -05:00
Areloch 9782490894 Merge pull request #1388 from Areloch/SDL_Scroll_Speed_Fix
SDL mouse wheel speed fix.
2015-08-10 08:44:15 -05:00
Daniel Buckmaster c0e82d72a2 Merge pull request #1391 from Azaezel/C4706
warning C4706: assignment within conditional expression
2015-08-08 14:04:35 +10:00
Areloch 5efc04dd47 Also apply scroll strength to horizontal scrolling. 2015-08-06 22:18:10 -05:00
Azaezel c100d7f932 suggested revision 2015-08-06 21:56:46 -05:00
Azaezel 5bc926e97c warning C4005: 'WIN32' : macro redefinition 2015-08-06 21:01:20 -05:00
Azaezel af38320300 warning C4706: assignment within conditional expression 2015-08-06 20:52:48 -05:00
Areloch 68a2c9fa89 Added a default value just in case the pref is not defined. 2015-08-06 18:29:01 -05:00
Areloch 8248ecdeac Looks like WHEEL_DELTA is defined for win and osx, but not linux. Retooling to utilize a $pref instead, as that will let the scroll speed be modifiable for any projects that need it. 2015-08-05 17:44:55 -05:00
Areloch 3aba4a7259 SDL mouse wheel speed fix.
Default scroll speed wasn't delta-modified, so scroll gui controls were very slow when scrolled via mouse wheel.. This corrects the issue.
2015-08-04 23:01:59 -05:00