Commit graph

1887 commits

Author SHA1 Message Date
Azaezel e12536efcd distance needs to be returned as a float. 2016-10-12 10:19:04 -05:00
Areloch 3432fbcd7a Merge pull request #1770 from Areloch/SDLMouseModsFix
Makes sure the key modifiers are passed along with mouse actions.
2016-10-10 14:28:50 -05:00
blackwc 3bc4711e07 add flip fill to guiHealthBarHud 2016-10-09 18:22:27 -04:00
Areloch e77642f6cb Merge pull request #1786 from jamesu/datachunker_mem
Reduce the amount of blocks of memory DataChunker uses
2016-10-09 13:56:42 -05:00
Anis 98b52d1fed Merge pull request #1782 from pacomont/Fix_AbstractPolyList_addBox
Fixes AbstractPolyList::addBox(). Complete each face with missing 2nd triangle.
2016-10-08 19:15:28 +02:00
James Urquhart d324abd2df Fix redundant memcpy in swizzle ToBuffer method 2016-09-30 18:41:10 +01:00
James Urquhart c2cc7142de Reduce the amount of blocks of memory DataChunker uses 2016-09-30 18:35:14 +01:00
RexTimmy 7281c2ed18 64bit shadergen hash key support. 2016-09-28 11:13:55 +10:00
RexTimmy 3b1d84fe5c SDL & Win32 platform threads cleanup. 2016-09-28 11:13:25 +10:00
RexTimmy dd64004eaf MacOS platform support. 2016-09-28 11:09:48 +10:00
yourarcade 8d610787a2 Fix push/pop mismatch bug;add code to properly rotate, translate and render needle. 2016-09-25 17:48:27 -07:00
yourarcade 213b7020a3 Allow the gui to render for both vehicles and vehicle-mounted players. 2016-09-25 16:53:00 -07:00
Anis 57dfeb829a Merge pull request #1774 from Azaezel/terrainTrouble
embeds blendtotal into the low bit for the normal|depth buffer
2016-09-23 23:23:26 +02:00
Francisco Montañés García 596b88cf94 Complete each face with 2nd triangle. 2016-09-21 12:43:48 +02:00
RexTimmy a7f6841c0c .gitignore to exclude cmake generated config_types for libogg 2016-09-18 12:35:23 +10:00
Anis edb6bd214c Merge pull request #1779 from rextimmy/oggTheoraDecoder_revert
Revert TORQUE_CPU_X64 changes to oggTheoraDecoder
2016-09-17 23:31:23 +02: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
Anis e7972bd6a9 Merge pull request #1772 from pacomont/Fix_crash_when_saving_NavMesh_file_without_Links
Fix crash when saving NavMesh file without Links
2016-09-17 21:28:08 +02:00
Anis ddd5ef1a8d Merge pull request #1778 from rextimmy/libpng_update
Libpng update to 1.6.25 (fixes x64 crashing on exit)
2016-09-17 21:12:59 +02:00
RexTimmy 7b21b69dcb Revert TORQUE_CPU_X64 changes to oggTheoraDecoder.cpp 2016-09-17 10:52:43 +10:00
RexTimmy d6a6298a9a Libpng update to 1.6.25 (fixes x64 crashing on exit) 2016-09-17 10:41:29 +10:00
rextimmy 2ec38f98cc Update libogg to 1.3.2 2016-09-16 11:42:00 +10:00
Areloch af2ac4472e renames the engine method arg to avoid name confusion. 2016-09-14 19:42:05 -05:00
Azaezel 598fb758f3 embeds blendtotal into the low bit for the normal|depth buffer for terrains to support multi-pass blending. 2016-09-14 15:35:35 -05:00
Francisco Montañés García 800b7d1fd4 Write Links only when mLinkIDs.size() > 0 2016-09-14 13:08:20 +02:00
Areloch c0a46ec1f1 Makes sure the key modifiers are passed along with mouse move and wheel inputs when using SDL. 2016-09-14 02:18:21 -05:00
Areloch ab68a19a8b Merge pull request #1750 from Azaezel/LODloss
short term LOD correction
2016-09-14 01:47:23 -05:00
Areloch 6dbfe77ddb Added a missed a preprocessor for when not using openVR. 2016-09-14 00:59:55 -05:00
Areloch 7e4095d610 Merge pull request #1688 from jamesu/dx11_openvr_pr
Basic OpenVR Support code
2016-09-14 00:24:20 -05:00
Areloch f88975121d Merge pull request #1761 from Bloodknight/intrinsicsfix
Intrinsicsfix
2016-09-13 21:43:18 -05: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 8fc96e8744 add glad license and remove epoxy cmake 2016-09-11 21:48:55 -04:00
Jeff Hutchinson ac0f869da1 remove epoxy 2016-09-11 21:48:48 -04:00
Jeff Hutchinson 11c3314f66 implement glad into torque. 2016-09-11 21:48:42 -04:00
Jeff Hutchinson 63c8262d26 add glad 2016-09-11 21:48:29 -04:00
James Urquhart 212ac36cc1 Tidy up indentation in openvr changes 2016-09-11 22:51:00 +01:00
James Urquhart e6159a590a Add basic support for showing openvr controllers and tracked objects 2016-09-11 22:42:42 +01:00
James Urquhart 1198932e87 Basic fix for reflections in both stereo rendering modes 2016-09-11 22:42:42 +01:00
James Urquhart fa7697b13e Fix debug draw in SBS mode & reflection update timing 2016-09-11 22:42:42 +01:00
James Urquhart de48afc00c USe correct frustum projections in reflections in separate rt mode 2016-09-11 22:42:42 +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 660bd8d347 Allow gamepad to rotate openvr view. Also Fix issue with movemanager openvr rotation not being set correctly. 2016-09-11 22:42:42 +01:00
James Urquhart e6c89b1f24 Add basic rotation offset code 2016-09-11 22:42:42 +01:00
James Urquhart 784f6f92d8 Fix lens flare in side-by-side view 2016-09-11 22:42:42 +01:00
James Urquhart c6d2456a7c Fix lens flares in VR 2016-09-11 22:42:42 +01:00
James Urquhart 14628e3937 Fix setNearFarDist for off-center projections 2016-09-11 22:42:42 +01:00
James Urquhart 694dd4abfa Fix stack overflow 2016-09-11 22:42:42 +01:00
James Urquhart 2da474c484 Always use the latest eye pose data from the HMD 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 734688ff7e Implement basic keyboard & mouse support for openvr overlays 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 185fde8ea4 Fix issue with clamping the AngAxisF 2016-09-11 22:42:42 +01:00
James Urquhart 9f49a7844e Use correct multiplication order for eye transform. Also fix displayDevice not set bug. 2016-09-11 22:42:42 +01:00
James Urquhart 9e5eda9a08 More progress
- Fixed normal stereo rendering
- Beginnings of vr overlay code
2016-09-11 22:42:42 +01:00
James Urquhart b15be28f38 Temp add the convertRotation handler so we dont need the oculus files 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 b2faecc82d Fix openvr typos 2016-09-11 22:42:42 +01:00
James Urquhart 36908b0434 Add code to render the basic stereo view fallback 2016-09-11 22:42:42 +01:00
James Urquhart 639b397394 Disable input focus disable to preserve sanity (temp) 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 e239d106f5 Use correct bgra format 2016-09-11 22:42:42 +01:00
James Urquhart 3dc2100765 Ignore alpha when rendering debug texture 2016-09-11 22:42:42 +01:00
James Urquhart 64b751a7c8 Basic port of code 2016-09-11 22:42:42 +01:00
Areloch 7229b904e7 Merge pull request #1754 from Areloch/remove_altbase
Removes the unnecessary include of altbase in nativefiledialogs
2016-09-10 22:29:32 -05: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
Anis 8cae1e5dcb Merge pull request #1749 from Azaezel/linearizeLights
adds toLinear and toGamma helper functions for ColorF, uses the former in adjusting lights.
2016-09-04 02:06:00 +02:00
James Urquhart a46779fad6 Defer re-init'ing the shape when TSShapeConstructor is loading a shape 2016-09-03 10:41:25 +01:00
Marc Chapman 00cf5ab577 Added x64 check for SSE Intrinsic functions 2016-09-02 05:10:46 +01:00
Marc Chapman bcb56a027d Added x64 check for SSE2 OGG Theora Decoder 2016-09-02 05:10:28 +01:00
James Urquhart 0e717ea707 Fix edge case where an editable shape without a vbo is saved 2016-09-01 00:36:17 +01:00
James Urquhart 18031f09b1 Fix edge-case with version 24 shapes 2016-09-01 00:30:29 +01:00
James Urquhart 12019173af Fix load with DTS shapes introduced with HW skinning changes 2016-08-30 19:07:02 +01:00
Areloch 6f72c7b119 Implements the splash screen window to the SDL platform stuff. 2016-08-27 17:47:03 -05:00
Areloch a760fdfb68 Removes the unnecessary include of altbase, which was causing problems with express versions of VS. 2016-08-27 16:20:57 -05:00
Azaezel a50ff1b054 short term LOD correction to preserve current widescreen vs 4:3 windows while closer matching prior release results 2016-08-25 19:17:37 -05:00
Anis 5d38357785 Merge pull request #1636 from Azaezel/TranslucentTargetTweak
puts forward-lit #targetname assignment of faux diffuse maps back
2016-08-21 20:10:59 +02:00
Anis fcfe2d621a Merge pull request #1743 from John3/fixDB_PSeditorTimmy
replace fix #1736 for add physicShape datablock from the editor
2016-08-21 19:40:34 +02:00
John3 5f463d09d9 replace fix #1736 for add physicShape datablock from the editor 2016-08-21 09:23:06 -05:00
James Urquhart e7db0d7956 Fix mesh load issue & merge issue 2016-08-21 02:15:26 +01:00
Azaezel 41dfb64210 hardware skinning and instancing are mutually exclusive 2016-08-21 01:43:30 +01: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
Azaezel 13f00ca79d adds toLinear and toGamma helper functions for ColorF, uses the former in adjusting lights. 2016-08-09 14:49:03 -05:00
Anis 2794f18d78 Merge pull request #1730 from Azaezel/copyConstructorCorruption
accutex was left out of the copy constructor for TSRenderState.
2016-08-08 18:03:57 +02:00
Azaezel 3553ed0bf1 accutex was left out of the copy constructor for TSRenderState.
caused issues with https://github.com/GarageGames/Torque3D/pull/1711
2016-08-08 09:03:16 -05:00
John3 a6dcf6ee09 added path @dottools 2016-08-07 08:06:38 -05:00
Areloch 79358ee4be Fix to include a needed include for the accumulation volume stuffs 2016-08-07 01:35:23 -05:00
Anis 88ac03cce0 Merge pull request #1690 from John3/fixDatablockPhysicsShape
fix create datablock for physicsshapes.
2016-08-07 03:08:15 +02:00
Anis 4c59f39c09 Merge pull request #1642 from Azaezel/globalAccumulation
level-wide accumulation assignment
2016-08-07 02:31:45 +02:00
Anis 585c5d5afe Merge pull request #1717 from Duion/patch-3
fixes footsteps missing when no impactSoundId
2016-08-07 02:27:05 +02:00
Anis 70d868ca43 Merge pull request #1710 from Azaezel/terrainblend_revert
adresses #1704: partial reversion to 3.8 specs regarding layer blending.
2016-08-07 01:16:20 +02:00
Anis a12a41b4fd Merge pull request #1714 from Azaezel/c4101_cleanup
addresses C4101 warnings ('identifier' : unreferenced local variable)
2016-08-07 00:44:19 +02:00
Anis 1c761ac136 Merge pull request #1695 from Bloodknight/extra_define_fix
Tidy up unnecessary #define
2016-08-07 00:40:57 +02:00
Anis e13513f059 Merge pull request #1713 from Azaezel/c4189_cleanup
adresses C4189 warnings
2016-08-07 00:38:51 +02:00
Anis 29625a9ede Merge pull request #1705 from Azaezel/cubeColorCleanup
3.9 fix: corrects improperly applied specularpower
2016-08-06 23:52:57 +02:00
Areloch 79f8b819ea Merge pull request #1715 from Duion/patch-1
Change back "enabled" values to lowercase
2016-08-01 22:49:16 -05:00
Areloch fcefb863a5 Merge pull request #1718 from Azaezel/reportAug
file name reporting for 'sampler not defined' and rtParams error reports.
2016-08-01 22:45:43 -05:00
Areloch 09c8ad99aa Merge pull request #1719 from Azaezel/samplerShenanigans
dx9 samplernames for fixed function replication shaders
2016-08-01 22:44:26 -05:00
Areloch 33c98a78e2 Merge pull request #1720 from Azaezel/littleLinkLost
navmesh file load error-fix
2016-08-01 22:44:18 -05:00
Azaezel 6a5820d3a2 navmesh file load error-fix
don't try to read 0 length buffers
2016-08-01 17:22:19 -05:00
Azaezel 758306c661 dx9 samplernames for fixed function replication shaders 2016-08-01 10:37:30 -05:00
Azaezel aae017fcc3 file name reporting for 'sampler not defined' and rtParams error reports. 2016-08-01 08:49:36 -05:00
Duion 0336a681ab fixes footsteps missing when no impactSoundId
fix  for this issue https://github.com/GarageGames/Torque3D/issues/1709
2016-07-31 20:15:46 +02:00
Duion 1a405264c2 changes "Rotation" instead of "rotation" #1702
Changes back "Rotation =" values in mission files to the old "rotation =" since all other values are also lowercase.
2016-07-31 19:40:06 +02:00
Duion 4b7eea5de0 Change back "enabled" values to lowercase
I noticed in 3.9 when opening and re-saving my mission files that all values that had "enabled = 1" written in the datablock like the spawnSpheres were changed to "Enabled =1" instead.
This changes it back to produce lowercase output.
Don't know if this is the right way, but it works, it disturbed me a bit in my version control that every mission I touched was updated with hundreds of changes on "enabled" into "Enabled" while all other entries are lowercase.
2016-07-31 19:25:35 +02:00
Azaezel db50887c05 addresses C4101 warnings ('identifier' : unreferenced local variable) 2016-07-31 11:00:37 -05:00
Azaezel 76fe7937ce adresses C4189 warnings ('identifier' : local variable is initialized but not referenced) 2016-07-31 10:46:52 -05:00
Azaezel a0c0f5766f adresses #1704: partial reversion to 3.8 specs regarding layer blending. 2016-07-29 11:26:44 -05:00
Azaezel 21d1bfa64c 3.9 fix: on the hlsl side: corrects improperly applied specularpower
(slider in conjunction with cubemap). gl side kills a redundant test
2016-07-27 16:48:55 -05:00
Marc Chapman 5d6ab545da Tidy up unnecessary #define 2016-07-18 21:55:22 +01:00
John3 4936567c0d removed to allow create server side "TSShape and PhysicsCollisionRef" 2016-07-15 19:45:17 -05:00
John3 17df1362bd fix create datablock for physicsshapes. 2016-07-13 19:54:02 -05:00
Areloch e06018aeea Properly initiates the max number of drops per batch to avoid possible corruption issues. 2016-07-11 22:27:27 -05:00
Areloch 7372c89dc7 Corrections suggested by timmy for both consistency, and making sure to catch all potential types. 2016-07-08 22:48:24 -05:00
Areloch 911b2735d7 Flipa the i386 preprocessor flag to use __i386__, which is appraently more standard. 2016-07-08 21:33:30 -05:00
Areloch 2d934032ea Adds a check so if we're trying to hit a named target, it doesn't spam the console with errors about not finding the diffuse texture. 2016-07-07 00:52:57 -05:00
Areloch 887ccb2ac1 Merge pull request #1676 from Areloch/whatismynamespace
Removes an extraneous Namespace usage
2016-07-07 00:16:34 -05:00
Areloch e79e5eb616 Merge pull request #1608 from irei1as/patch-1
Set textures as bitmapctrl in script
2016-07-07 00:16:01 -05:00
Areloch 511746828e Merge pull request #1583 from Azaezel/particleEditorExtension
exposes several datablock entries to the particle editor gui subsystem
2016-07-06 22:58:49 -05:00
Areloch ef3162616b Removes an extraneous Namespace usage on a function declaration that could cause compiler errors. 2016-07-06 22:48:17 -05:00
Areloch 59637bb1c7 Adds a sanity check in the event we don't actually have any animation frames generated. 2016-07-06 22:30:19 -05:00
Areloch db319e58e5 Merge pull request #1632 from Azaezel/localizationAugs
localization augmentations via rlranft RE:
2016-07-06 22:22:39 -05:00
Areloch 679d94d170 Merge pull request #1663 from Azaezel/rainleak
corrects corruption in precipitation class
2016-07-06 20:10:43 -05:00
Areloch 95e4d99bb6 Merge pull request #1675 from Azaezel/guiBitmapColoration
adds bitmap coloration to:
2016-07-06 20:10:16 -05:00
Areloch b3adaf7f96 Merge pull request #1672 from Areloch/SDLPopupMenus
Sdl popup menus
2016-07-06 13:17:23 -05:00
Azaezel f8368cd7e9 adds bitmap coloration to: guibitmapctrl, guibitmapbarctrl, guianimbitmapctrl (and guicrosshairhud by way of inheritance) 2016-07-06 02:15:46 -05:00
Areloch 51049b6e8c Fixes the member-of-class check order to properly sort the context. Also fixes a bug with the spacer entries being filtered from the popup menu, which threw off the selection. 2016-07-06 00:46:16 -05:00
Areloch b012ffff17 Merge pull request #1673 from Areloch/physicsFindContactCleanup
Removes the body for the physicsBody's findContact
2016-07-05 00:37:15 -05:00
Areloch 65716b31b9 Merge pull request #1670 from rextimmy/dx9_generic_shaders
GFXD3D9Device generic shader support.
2016-07-05 00:37:03 -05:00
Areloch 46308aaaa3 Merge pull request #1669 from Azaezel/guiBitmapBarCtrl
New: GuiBitmapBarCtrl
2016-07-05 00:22:04 -05:00
Areloch e4461f9751 Merge pull request #1674 from Azaezel/guiAnimBitmapCtrl_simple
new: guiAnimBitmapCtrl
2016-07-05 00:20:07 -05:00
Azaezel 01051e4182 new: guiAnimBitmapCtrl - works similar to the particle animation system. feed it x and y for how many frames in a spritesheet, and let her run.
also supports:
either specific frames, a range to play, or a mix (string)
fps specification, (int)
loop, (bool)
pausing, (bool)
reverse (bool)
 play (bool)
and has callbacks for onLoop, onCompleted, and onFrame (index and actual frame passed along)
2016-07-04 20:44:42 -05:00
Areloch fd7f8e5c8c Merge pull request #1657 from John3/fixAimOffset
Correct AIPlayer aim.
2016-07-04 18:11:37 -05:00
Areloch 34ad0c39d5 Removes the body for the physicsBody's findContact function until it's ready to be finished/used with the entity/component stuff.
This corrects an error for PhysX compilation due to unready code being inadvertently added in with the e/c update.
2016-07-04 16:19:08 -05:00
Areloch 906cc0ef39 Forgot copyright header. 2016-07-04 16:02:49 -05:00
Areloch 818b617972 Implements the right-mouse popup menus in the editor in SDL to make it match to Windows. 2016-07-04 16:01:49 -05:00
Areloch 95c0bcd411 Merge pull request #1671 from John3/fixFatalOutRange
Fix bug #1664 by @Areloch
2016-07-03 11:42:13 -05:00
John3 f71e13a686 Fix bug #1664 by @Areloch 2016-07-03 07:23:45 -05:00
Areloch df18fda338 Merge pull request #1631 from John3/RapidFiring_setImageTrigger
Fix for rapid firing setImageTrigger(0,1); issue #1630
2016-07-02 15:57:19 -05:00
rextimmy 7d82877f4e GFXD3D9Device generic shader support. 2016-07-02 17:08:28 +10:00
Areloch 35c4df3066 Merge pull request #1668 from Azaezel/revisedNsightWorkaround
revised torque_nsight_workaround
2016-06-30 20:40:58 -05:00
Azaezel 36ec6c1b59 New: GuiBitmapBarCtrl
clipped bitmap. by default clips the right hand side based on (the percent entry/100).
options:
vertical clips the bottom
flipClip inverts direction (so vertical off would remove bits from the left, vertical on from the top)
2016-06-30 15:51:03 -05:00
Areloch 48aed0e0ca Merge pull request #1667 from Azaezel/divnullbadmmmmkay
raycast division safety
2016-06-29 00:30:07 -05:00
Azaezel 47366068c1 revised torque_nsight_workaround 2016-06-27 19:35:40 -05:00
Azaezel c67ba876d0 raycast division safety - corrects issues with awesomium and the guionobject resources relating to WYSIWYG casts. 2016-06-27 13:48:11 -05:00
Areloch 387e28a1e0 Merge pull request #1660 from Azaezel/knockOffKnotNetleak
suppresses a leak potentially caused by Knot::mType||Knot::mPath entr…
2016-06-27 01:17:28 -05:00
Azaezel 2723bfbc91 corrects corruption in precipitation class 2016-06-23 11:44:17 -05:00
Azaezel a0dc2adff8 suppresses a leak potentially caused by Knot::mType||Knot::mPath entries. 2016-06-21 20:53:08 -05:00
Areloch 68d44c4c30 Merge pull request #1645 from Areloch/NewObjectPointerCleanup
New object pointer cleanup
2016-06-21 05:11:03 -05:00
Areloch b7882e7280 Merge pull request #1653 from Areloch/twiLightZone
Corrects culling of point/spot lights
2016-06-21 05:10:53 -05:00
Azaezel e0e1cbb3be force a volume refresh on levelinfo AccuTexture change 2016-06-20 17:02:34 -05:00
Azaezel 9a4acc8a46 initial assignment cleanup (also shapebase for staticShape et al) 2016-06-20 16:47:01 -05:00
Areloch 963ef1ecdb Merge pull request #1654 from Azaezel/shape_mounting
Shape mounting
2016-06-20 13:15:35 -05:00
Areloch 69244a8577 Readded some missed brackets 2016-06-20 13:14:19 -05:00
Areloch 810ac82eae Adds a missed cleanup for currentNewObj. 2016-06-20 12:34:07 -05:00
Areloch 88f0318baa Merge pull request #1644 from Bradan/development
Fixed compile errors on linux (obvious programming faults).
2016-06-19 21:38:27 -05:00
Azaezel 2237a13679 memleak fix 2016-06-19 16:59:16 -05:00
John3 9dadd28ab8 Correct Bot aim.
http://forums.torque3d.org/viewtopic.php?f=11&t=673&p=5718#p5718
2016-06-19 10:03:15 -05:00
OTHGMars 8c2d5ee82c RigidShape Mounting 2016-06-17 10:41:04 -05:00
OTHGMars a9f77c4ffd TSStatic Mounting 2016-06-17 10:40:22 -05:00
OTHGMars 937b8830e1 Vehicle Mounting 2016-06-17 10:36:37 -05:00
OTHGMars a27fddc29a Turret Mounting 2016-06-17 10:36:36 -05:00
OTHGMars 037ee82982 Player Mounting
Removes the z axis rotation for consistency with other mounted object types.
2016-06-17 10:36:35 -05:00
OTHGMars a285b7b07b SpawnSphere Mounting 2016-06-17 10:36:34 -05:00
OTHGMars 3afd5461c6 Camera Mounting 2016-06-17 10:36:33 -05:00
OTHGMars cd3b080526 Item Mounting 2016-06-17 10:36:32 -05:00
OTHGMars c39ca2c25e StaticShape Mounting 2016-06-17 10:36:31 -05:00
OTHGMars b5a957dfdc ShapeBase Mounting
Added mount transforms to ShapeBase
2016-06-17 10:36:30 -05:00
OTHGMars 172e62a8f1 Mount Process Order Fix 2
Added a check to SceneObject::setProcessTick() to prevent objects that have mounts from being removed from the process list so the processAfter chain of the mounted objects is not broken.
2016-06-17 10:36:29 -05:00
OTHGMars 8250e4728d Mount Process Order Fix 1
Added a controlling object check to GameBase::onMount() so mounted objects will process after objects controlling them.
2016-06-17 10:36:28 -05:00
Areloch dfb8f4f5e5 Makes point and spot lights be correctly culled with zoning like other objects. 2016-06-17 00:47:46 -05:00
John3 66194245ff clean up energyPerDamagePoint 2016-06-15 23:00:13 -05:00
Areloch ca4e4fe86d Merge pull request #1647 from John3/typo_tomove
typo "tomove" to "to move"
2016-06-13 21:55:23 -05:00
Areloch 0e31368470 Merge pull request #1640 from Azaezel/dynamicCacheNuke
fallback - dynamic shadow cache nuking (static refresh delay preserved)
2016-06-13 21:51:17 -05:00
John3 060649dbad typo "tomove" to "to move" 2016-06-12 14:34:26 -05:00
Areloch 236edb3384 Merge pull request #1639 from Azaezel/StreamOverflow
corrects safety check for Stream::readLongString
2016-06-11 02:09:55 -05:00
Areloch 3cfc6f787c Adds some pointer cleanup in the event we bail out of creating a new object for whatever reason. 2016-06-11 02:06:24 -05:00
Daniel Brall afcb731d18 Fixed compile errors on linux (obvious programming faults). 2016-06-10 10:34:00 +02:00
Azaezel 2b57bed899 level-wide accumulation assignment - overidden if an object's origin is in an accumulationVolume.
** do note changing the value does require nudging a mesh and/or a level reload to kick in at time of writing for visual feedback.
2016-06-09 12:51:43 -05:00
Areloch 164dca747a Merge branch 'StreamOverflow' of https://github.com/Azaezel/Torque3D into development 2016-06-09 09:04:28 -05:00
rextimmy 92017332eb Fixed AccuTexFeatHLSL implicit truncation error 2016-06-09 16:23:53 +10:00
rextimmy ddfa4eaf18 DX11 accumulation shadergen fix. 2016-06-09 15:23:54 +10:00
Azaezel b6ec969fb3 worst case scenario fallback for if we can't track down why vector lighting seems determined to shift positions periodically based upon some influence by the dynamicrefreshfrequency rate 2016-06-08 19:15:10 -05:00
Azaezel fc110706a3 corrects safety check for Stream::readLongString 2016-06-08 15:28:40 -05:00
Areloch 27afd2ded1 Resolves the "conflict" with #1598 2016-06-08 09:39:11 -05:00
Areloch efecbca8fc Merge pull request #1637 from pacomont/Initializing_Move_trigger
Fix for Issue #1415Move::Move() is not properly initializing bool tri…
2016-06-08 09:24:22 -05:00
Areloch db41a0b30f Merge pull request #1548 from Azaezel/alphamaskedButtons
alpha masking for buttons. original attribution @dottools
2016-06-08 02:04:42 -05:00
Areloch 39961500f4 Merge pull request #1598 from JeffProgrammer/glpboimprovement
replaces GL_PIXEL_UNPACK_BUFFER_ARB with GL_PIXEL_UNPACK_BUFFER
2016-06-08 02:04:21 -05:00
Areloch b5d4eb9845 Merge pull request #1634 from dakk/patch-1
Fix for "Crash on 'add a new mesh' Forest Editor action" #1633
2016-06-07 22:19:19 -05:00
John3 6c73968bdc fix redundant movePtr->trigger[ i ] 2016-06-07 19:05:10 -05:00
John3 0990716b1c Merge branch 'development' of https://github.com/GarageGames/Torque3D into RapidFiring_setImageTrigger 2016-06-07 18:32:24 -05:00
Jeff Hutchinson e43a0ba6e9 Merge branch 'development-gg' into glpboimprovement
Conflicts:
	Engine/source/gfx/gl/gfxGLTextureManager.cpp
2016-06-07 15:48:21 -04:00
Areloch fdbf183382 Merge pull request #1623 from blackwc/GuiTheoraCtrl-loop
add loop playback to GuiTheoraCtrl
2016-06-07 13:56:22 -05:00
Azaezel 702e63cb0c puts forward-lit #targetname assignment of faux diffuse maps back 2016-06-07 13:54:30 -05:00
Areloch 0ec9438429 The default configuration is for the asset database to automatically unload an asset when it's no longer referenced. This causes problems when we would delete objects and then go to make more instances that reference the same asset while the same mission is going.
So autounload is disabled to prevent excessive unloading of assets before the level is concluded.
2016-06-06 21:20:00 -05:00
Davide Gessa d111484f89 Fix coding style 2016-06-06 20:19:33 +02:00
Davide Gessa a525b3bd09 Remove assertion and handle error cases
Fix #1633
2016-06-06 20:17:29 +02:00
Azaezel 6419ba1e33 localization augmentations via rlranft RE: http://forums.torque3d.org/viewtopic.php?f=12&t=642&hilit=localization 2016-06-06 09:42:00 -05:00
John3 14834bde58 Fix for rapid firing setImageTrigger(0,1); issue #1630 2016-06-06 08:14:49 -05:00
Azaezel 75fa06dec2 Merge branch 'development' of https://github.com/GarageGames/Torque3D into FrameMallocMallet
Conflicts:
	Engine/source/gfx/gl/gfxGLTextureManager.cpp
2016-06-06 01:20:23 -05:00
Areloch 3a73344abb Resolves merging-order conflicts for the vehicle physics PR, as well as correcting cmake not blacklisting the componentGroup files if TORQUE_EXPERIMENTAL_EC was flipped off. 2016-06-05 19:17:34 -05:00
Areloch 37e030f8f4 Makes vehicles work with the physics plugins.
Makes vehicles create a basic physics body when using one of the physics plugins so that they can collide with other physics-enabled objects.

Based on @rextimmy 's work.
2016-06-04 16:47:03 -05:00
Areloch 6ec899620d Tweak to the Component Fields to properly refresh the group. 2016-06-02 23:57:46 -05:00
Areloch 89672ea0ab Hooks the component fields back into the inspector so they are registered as proper fields of their types, as opposed to the regular string-only dynamic fields. 2016-06-02 22:40:29 -05:00
Areloch f427439457 Merge pull request #1573 from Azaezel/navmeshtweaks
allows navmeshes to generate for most scene objects,
2016-05-31 23:28:31 -05:00
Areloch 7ea3c19017 Merge pull request #1558 from OTHGMars/Px3Crouch
Spacial update for Px3 character controller
2016-05-31 23:15:56 -05:00
Areloch 2464b620ba Fixes several minor initialization issues that were causing problems with deletion/management of components and entities.
Also makes the ThirdPersonPlayer game object editor selectable again by removing an erroneously set field.
2016-05-31 12:51:23 -05:00
Areloch 553cf260f1 Some converts of usage of Shapebase for Gamebase to make camera/control object swapping easier. 2016-05-30 03:13:19 -05:00
Areloch 74a2005d15 Fixes mistake where GuiInspectorEntityGroup's onAdd doesn't explicitly return true, which can cause problems in some compilers. 2016-05-30 02:29:20 -05:00
Areloch 18184747e3 Fixes an issue where script-based components listed in the scene tree would not have a name on their tree item. 2016-05-29 11:54:50 -05:00
Areloch e48ee1a03a Fixes the recursive directory dump in the Linux platform code so that module/asset parsing works as expected. 2016-05-29 00:58:39 -05:00
Areloch 510b726f6f Final Linux compliance changes(renames, tweaks for gcc compliance, etc) 2016-05-29 00:58:02 -05:00
Areloch 86f9c6f2e7 When using bullet physics, it ensures the player does not move when the world sim is paused, as well as correcting the surface check when walking to test against the max run angle. 2016-05-27 14:32:36 -05:00
blackwc fd715f3ef3 add loop playback to GuiTheoraCtrl 2016-05-27 02:22:39 -04:00
Areloch f5e86a83b5 Other renames to ensure linux case-sensitivity compliance and casing format consistency. 2016-05-26 13:56:19 -05:00
Areloch 93e767f0c5 Additional casing fixes. 2016-05-26 01:39:06 -05:00
Areloch ec8882c3c8 Ensuring all names are the correct casing for Linux 2016-05-26 01:37:14 -05:00
Areloch ee6d9961e3 Merge pull request #1582 from Azaezel/SubSurf
Reimplements a form of subsurface scattering
2016-05-25 13:35:44 -05:00
Azaezel 942235d114 Fixes vertcolor code insertion order, and applies it adaptively based on defered or forward lit context 2016-05-25 03:08:28 -05:00
Areloch 9d47830a8b Merge branch 'development' of https://github.com/GarageGames/Torque3D into development 2016-05-24 20:09:53 -05:00
Areloch cfd15d47e4 Correction to interpolation/warp issue caused by using the wrong variable. 2016-05-24 20:09:24 -05:00
Areloch f66a14c6e1 Merge pull request #1599 from JeffProgrammer/glprofiling
Added missing OpenGL profiling blocks.
2016-05-24 01:26:39 -05:00
Areloch 5ee1fb3917 Merge pull request #1597 from JeffProgrammer/glextlookup
OpenGL Extension Caching
2016-05-24 01:03:01 -05:00
Areloch 8a7159c00e Fixes the drawUtil rendering of polyhedrons by correcting the index ordering to work with triangleStrip as opposed to Fan. 2016-05-22 23:51:58 -05:00
Areloch 04adb9f240 Added a small sanity check so we don't pointlessly throw an error when expanding an Entity's component stack in the scene tree. 2016-05-21 14:44:24 -05:00
Areloch 65f51a89d8 Merge pull request #1595 from Areloch/EpoxyProjectMatrixFix
Rolls back OGL Projection correction.
2016-05-20 00:23:45 -05:00
Azaezel d79b9a2988 removes w=z trick (was causing fisheye, effectively) 2016-05-18 06:38:13 -05:00
Areloch 3262c004a5 Merge pull request #1605 from Azaezel/fileFilterFix2
corrects native file dialogue return values
2016-05-17 12:49:14 -05:00
Areloch c0a96c908f Adds handling for if the user cancels out of the file dialog, and adds support for proper multi-filters. 2016-05-17 12:46:39 -05:00
Areloch c1f02c05e1 Adds some console methods to the non-class namespace Rotation for some convenient utility functions for dealing with rotations. 2016-05-16 16:03:24 -05:00
Areloch 8568ed19be Merge branch 'RotationFPR_Cleaned' of https://github.com/Areloch/Torque3D into development 2016-05-16 15:49:54 -05:00
Areloch 7bf49f0670 Adds a GameObject asset type, to make tracking and management of GameObjects significantly easier. 2016-05-15 10:12:24 -05:00
Areloch b04ad52b5d Ensure that inclusion of any entity/component stuff is properly bracketed with the preprocessor check. 2016-05-15 10:11:46 -05:00
Areloch 749ac4efc2 Adds the onPostAdd callback for when objects are created via TAML. 2016-05-14 15:36:58 -05:00
Areloch 6ccf97e35d Adds ComponentAsset so the editor scripts can be aware of what components have been defined/are useable. 2016-05-14 14:17:33 -05:00
Areloch b4bc405dce Updates the include guard in ShapeAsset 2016-05-14 14:16:43 -05:00
Areloch 827e70d674 Integration of Entities into the inspector/editor so they can call back into the tool scripts for custom handling. 2016-05-14 14:12:53 -05:00
Areloch 38c18870d3 Adjustments to allow Entities/Components to act as cameras and control objects. 2016-05-14 14:03:19 -05:00
Areloch b3b50abd9b Integrates components into the update and render loop. 2016-05-14 12:40:13 -05:00
Areloch fa78a2f354 Adds Component, the various main component classes and their interfaces. 2016-05-14 00:00:02 -05:00
Areloch 2e339bafba Adds the Entity object. 2016-05-13 23:58:57 -05:00
Areloch b64123a452 Adds findContact to regular physics bodies so that they can find contacting objects and surfaces in a way similar to players. 2016-05-13 23:57:48 -05:00
Areloch 1299b527f1 Adds the ability to the ShapeAsset to get the resource of the shape. 2016-05-13 23:14:55 -05:00
James Urquhart 49a735e051 Fix axis check in Box3F::extend method 2016-05-13 12:09:40 +01:00