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
b16f99d51c
fix footsteps, "rotation" and "enabled" upper cases
2016-07-31 21:11:25 +02: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
Duion
3c08968ff7
early implementation of #1710 to fix terrainlayer blending
2016-07-30 21:25:00 +02:00
Duion
f8a8dc8e10
early implementation of #1705 to fix specularpower
2016-07-30 21:09:17 +02: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
Duion
81750f3deb
Merge branch 'GarageGames/master' into ueberengine-dev
...
Conflicts:
Engine/source/T3D/fps/guiCrossHairHud.cpp
2016-07-27 13:44:27 +02: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
ZOD
0fccbc995c
AI fixes and additional functionality
2016-07-09 14:27:41 -04: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
Duion
df7ffce665
rollback of supposed fix for nearClip in openGL
2016-07-05 16:56:48 +02: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
Duion
5f2ab23fac
sunbokeh partly fix, still needs work
2016-06-21 12:05:21 +02: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
Duion
5b62df81c7
Version change to 1.0.6.0
2016-06-07 19:24:56 +02: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
Duion
637a804fd7
sunBokeh feature added
2016-06-02 20:52:46 +02:00
Duion
5d52864c9f
move reference point for camShake to player's bounding box center
2016-06-01 17:55:50 +02: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
Duion
308063a006
new player explosion feature
2016-05-29 22:18:10 +02: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
Areloch
58fb8d36ac
Merge branch 'RotationFPR_Cleaned' of https://github.com/Areloch/Torque3D into development
2016-05-12 23:50:00 -05:00
Areloch
1b47bdd972
Git apparently forgot to commit ALL the changes.
2016-05-12 23:49:06 -05:00
Areloch
9bc87709ab
Merge branch 'RotationFPR_Cleaned' of https://github.com/Areloch/Torque3D into development
2016-05-12 23:35:21 -05:00
Areloch
95ae0b9863
Removes the old component code and moves the IProcessInput interface file into platform/input/ directory.
2016-05-12 23:31:15 -05:00
Areloch
7c7c799b57
Merge branch 'development' of https://github.com/GarageGames/Torque3D into development
2016-05-12 22:54:43 -05:00
Areloch
383d27f2ec
The class is designed as a general-purpose rotation/orientation class to make it easy to work with rotations and swap between math types as easily as possible.
2016-05-12 00:45:16 -05:00
irei1as
01e3cb53de
Set textures as bitmapctrl in script
...
A new method to GuiBitmapCtrl in order to set "named textures" as the image displayed in script.
Those "named textures" are created in two places from script (not c++) that I know: as part of GuiOffscreenCanvas (targetName field) and, more useful, as the target of a PostEffect using target = "#name" (the '#' is not used for this method).
2016-05-11 17:47:05 +02:00
Areloch
a2e0b1a163
Merge pull request #1604 from Azaezel/lightAnimCleanup
...
alternate to https://github.com/GarageGames/Torque3D/pull/1602
2016-05-10 11:47:25 -05:00
Areloch
8d195f9236
Makes the tab/spaces consistent for the entire console method function rather than mix-n-matching the formatting.
2016-05-10 10:58:03 -05:00
Areloch
27bb7a712a
Corrects tabs.
2016-05-09 13:47:29 -05:00
Areloch
3a99541541
Select camera when in material editor crashfix.
...
When attempting to select a camera Object(so going into the editor, going into the freefloating camera and then back to the player camera and selecting the freefloating one) while the material editor was open, it would crash because it attempts to access the shapebase object's shapeInstance - but cameras don't have a shape.
This fixes it so it makes sure there's a shapeinstance before trying to get the material data.
2016-05-09 13:43:06 -05:00
Azaezel
5958e86e9a
corrects native file dialogue return values
2016-05-09 06:43:47 -05:00
Azaezel
ad613f2e82
alternate to https://github.com/GarageGames/Torque3D/pull/1602
2016-05-08 21:52:00 -05:00
Jeff Hutchinson
909109713d
redefined the copyToBMP
2016-05-06 23:45:48 -04:00
Jeff Hutchinson
db6d91925d
Added profile blocks for GL.
2016-05-06 23:44:41 -04:00
Jeff Hutchinson
a50600afaa
tabs->spaces for TRON :)
2016-05-06 22:57:35 -04:00
Jeff Hutchinson
30f0a9c5f9
replaces GL_PIXEL_UNPACK_BUFFER_ARB with GL_PIXEL_UNPACK_BUFFER
2016-05-06 22:05:32 -04:00
Jeff Hutchinson
f9b2aa397f
cache OpenGL extensions that are not part of the 3.3 core profile, and that run more than initialization setup.
2016-05-06 21:50:11 -04:00
Jeff Hutchinson
a216b4515b
remove old legacy extensions that aren't being used.
2016-05-06 21:24:52 -04:00
Azaezel
5a27313e14
removes FrameAllocatorMarker usage from GL side _fastTextureLoad
...
Repeatedly caused issues with 4096^2 atlases
2016-05-06 19:35:40 -05:00
Areloch
bc9033da2e
Rolls back OGL Projection correction.
...
Epoxy looks to handle the projection depth range so it behaves more like D3D, so this change was doubling up and causing problems.
2016-05-06 16:45:18 -05:00
Areloch
e8bc70e514
Merge pull request #1567 from JeffProgrammer/epoxy
...
Added Epoxy in favor of GLEW
2016-05-05 19:40:59 -05:00
rextimmy
8056a4bfa9
GL fix for Epoxy and creating a 3.2 core context with win32 api.
2016-05-05 22:25:34 +10:00
Areloch
fb3401a5d7
Merge pull request #1589 from Azaezel/GFXDynamicTextureProfile
...
GFXDynamicTextureProfile
2016-05-05 01:35:26 -05:00
Areloch
b3bc199975
Adds a TypeSimObjectPtr type for easy reference to other objects as a field.
2016-04-30 23:38:35 -05:00
Areloch
de0fe06bc8
Makes netObjects inherit off simGroup as opposed to simObject so that just about any object can function as a parent with children.
2016-04-30 23:34:54 -05:00
Areloch
86dd8a8cf7
Adds a onPostAdd callback to simObject so we can do handling AFTER the object and it's children have been added successfully.
2016-04-30 23:32:10 -05:00
Areloch
ec6f9c05a6
Integrates the nativeFileDialog library to enable native file dialogs on the major platforms. It is activated with SDL.
2016-04-30 15:48:33 -05:00
Azaezel
4b1895cba5
Certain plugins were not playing nice on the directx end with updating rendertargets. Provides a profile for targets intended to be continuously updated.
2016-04-24 11:36:28 -05:00
Areloch
ae9cb0533a
Merge pull request #1574 from Azaezel/naughtyNearPlane
...
corrects projection matricies for opengl
2016-04-19 02:17:48 -05:00
Areloch
e8c96d7df1
Merge pull request #1577 from rextimmy/dx11_gl_drawutil_border_fix
...
DX11/GL border offset fix for GFXDrawUtil::drawRect
2016-04-19 01:47:38 -05:00
Areloch
255fec1a9d
Make exec() and getDSOPath() proper Con namespace functions.
...
Moves the console function exec()'s body into an actual function in the Con namespace as the function executeFile() to align with the other execute and eval functions.
Also moved the getDSOPath function(as exec/executeFile requires it) from being local in consoleFunctions.cpp to a Con namespace function as well, furthering the consistency.
2016-04-19 01:35:52 -05:00
Jeff Hutchinson
fddc00b39b
Merge branch 'development-gg' into epoxy
2016-04-17 23:59:42 -04:00
Azaezel
00cc949011
reimplements a form of subsurface scattering
2016-04-15 00:20:55 -05:00
Areloch
b4547da50b
Merge pull request #1576 from Areloch/SDLUpdate
...
Updates SDL to version 2.0.4, which makes it compatible with VS2015.
2016-04-10 21:32:30 -05:00
Areloch
b23ac9fb6a
Removes some unnecessary extension checks for GL, as those formats are part of 3.2 core. SDL is having some conflicts with extension detection with GL.
2016-04-08 15:34:02 -05:00
rextimmy
5a4bb6b36d
DX11/GL border offset fix for GFXDrawUtil::drawRect
2016-04-08 18:58:53 +10:00
Areloch
b63ef177f4
Updates SDL to version 2.0.4, which makes it compatible with VS2015.
2016-04-07 00:40:06 -05:00
Duion
ce847398d3
Fix fox SFXPlaylist breaking networking - from RoundedIcon
2016-04-06 15:23:33 +02:00
Duion
373faa2d17
corrects projection matricies for opengl - from Azaezel
2016-04-06 15:07:40 +02:00
Azaezel
223e9a8264
corrects projection matricies for opengl
2016-04-05 20:36:13 -05:00
Azaezel
bac14875f4
allows navmeshes to generate for most scene objects, and adds a NavMeshIgnore method for object-instances to filter them out.
2016-04-04 09:38:24 -05:00
Duion
9338e032b5
Version change to 1.0.5.0
2016-04-03 21:04:26 +02:00
rextimmy
2073a94a7a
ScreenShotD3D11 delete fix.
2016-04-02 22:30:56 +10:00
Areloch
6a40b8bb84
Merge pull request #1559 from rextimmy/dx11_clean
...
Direct3D11 Support
2016-03-29 00:51:23 -05:00
Areloch
4d190b1982
Roll back the changes to simPath temporarily in order to merge in DX11
2016-03-29 00:08:18 -05:00
Areloch
b9d8df5a4a
Includes a formatting fix for the SimPath change to make it compatible with DX11.
2016-03-28 22:47:22 -05:00
rextimmy
12621f876b
Added GFXFormatR8G8B8A8_SRGB format.
2016-03-28 10:05:16 +10:00
Jeff Hutchinson
3bb4fda47a
SDL epoxy stuff.
2016-03-25 21:11:42 -04:00
Jeff Hutchinson
7317848080
epoxy GLX extension interface
2016-03-25 21:03:01 -04:00
Jeff Hutchinson
4cf6a30e05
cleanup
2016-03-25 13:44:22 -04:00
Jeff Hutchinson
6e692ea9cf
torque windows integration of epoxy
2016-03-25 13:41:38 -04:00
Jeff Hutchinson
7b35ce3212
move gl_generated_dispatch.c
2016-03-25 13:38:14 -04:00
Jeff Hutchinson
6683fc0f24
remove glew
2016-03-25 02:19:48 -04:00
Jeff Hutchinson
1ceed22049
add epoxy for glew replacement
2016-03-25 02:16:38 -04:00
Anis
25e8cf4711
Merge pull request #1554 from Azaezel/MagicalSkyBox
...
from @rextimmy automatically adds a sky feature to skies. (render so…
2016-03-22 12:59:09 +01:00
Anis
935bddca35
Merge pull request #1556 from Azaezel/splineSpelunking
...
Path editor display augmentations.
2016-03-22 12:57:49 +01:00
Anis
7ccac9b9b7
Merge pull request #1550 from Azaezel/ResetGFX
...
new method: ResetGFX();
2016-03-22 12:53:02 +01:00
Anis
e0133384e0
Merge pull request #1552 from Azaezel/aLovelyGlow
...
should actually let HDR have a say for glows.
2016-03-21 19:31:21 +01:00
Anis
1d5a22cfea
Merge pull request #1553 from Azaezel/MRTMangle
...
turns out independent sized render targets was causing lighting artif…
2016-03-21 19:28:49 +01:00
rextimmy
8667bd3ca2
GL floating point format fix.
2016-03-21 22:49:47 +10:00
Azaezel
e475b3060b
won't need that any more after this
2016-03-20 16:51:24 -05:00
rextimmy
41e5caf22b
Direct3D11 Engine/source changes
2016-03-20 21:52:11 +10:00
rextimmy
1ff6f221fb
Direct3D11 GFX device.
2016-03-20 21:48:52 +10:00
OTHGMars
47b68f482e
This commits adds the testSpacials() and setSpacials() functions to test for overlaps and update the controllers capsule dimensions when the player pose changes.
2016-03-18 00:35:37 -04:00
Azaezel
ed264e4e12
from @rextimmy automatically adds a sky feature to skies. (render sorting and orientation. previously required setting in script.)
2016-03-16 18:10:07 -05:00
Azaezel
74e3ee5214
turns out independent sized render targets was causing lighting artifacting.
2016-03-16 00:45:57 -05:00
Azaezel
fd961db215
should actually let HDR have a say for glows.
2016-03-15 22:33:32 -05:00
Azaezel
067caec4a4
docstring. do note best practices is to internally trigger this kind of thing, but this way folks have a test-case to see if that is in fact the flaw for their derivatives.
2016-03-15 19:19:12 -05:00
Azaezel
cc618ce2e0
new method: ResetGFX();
...
exposes the GFX->beginReset(); method to script to allow folks to force the gbuffer to reinitialize (if, say a custom element is holding on to data in a buffer and it needs a cleaning, to name one example)
2016-03-15 18:04:11 -05:00
Duion
1f1851c0d4
Merge branch 'ueberengine-master' into ueberengine-dev
2016-03-15 22:47:30 +01:00
Duion
7565447d63
resource integration: "setting image state manually"
2016-03-15 12:25:53 +01:00
Duion
3746093efd
ground plane zOffset feature
2016-03-15 01:01:31 +01:00
Duion
1ae043bc90
decal lifetime option functionality added
2016-03-10 17:51:26 +01:00
Azaezel
76228f2d0c
alpha masking for buttons. original attribution @dottools
2016-03-09 20:02:39 -06:00
Anis
7bba3ee2de
pushed a forgotten feature on OpenGL terrrain.
...
added this: 69f2efab8f on OpenGL
2016-03-04 22:51:09 +01:00
Anis
87f62c427c
removed triangle fan draw on color picker
2016-03-04 22:18:12 +01:00
Alex Piola
07cf85143b
fixes crash when callOnChildren
...
Anis and me managed to fix this: #1508
2016-03-04 18:03:21 +01:00
Alex Piola
d2d5b8d834
Fix zipped dts loading
2016-03-04 10:45:55 +01:00
Azaezel
262cc4bac1
Merge branch 'development' of https://github.com/GarageGames/Torque3D into AIExtracts
...
Conflicts:
Engine/source/T3D/aiPlayer.cpp
2016-03-02 10:59:10 -06:00
Azaezel
9472bfd3ca
addresses https://github.com/GarageGames/Torque3D/issues/1537 via the following:
...
908be4818f/Engine/source/materials/materialDefinition.cpp (L261) denotes power as sharpness, reflected in the size/falloff of a highlight halo *
908be4818f/Engine/source/materials/materialDefinition.cpp (L264) denotes strength as overall brightness of highlights. **
*and sharpness of reflection if using a cubemap.
** reflected in cubemapped objects as also degree of 'reflection' vs diffuse/albedo coloration.
2016-03-01 20:25:52 -06:00
Areloch
908be4818f
Merge pull request #1519 from Azaezel/deferredShading
...
Deferred shading
2016-02-27 15:08:20 -06:00
Anis A. Hireche
49443d3167
conflict resolution
2016-02-27 02:16:07 +01:00
Anis
1286a517d5
Merge pull request #1497 from Azaezel/soundEnumExtendability
...
footstep and impact enum extension support
2016-02-27 01:10:23 +01:00
Anis A. Hireche
b3662d801a
Merge remote-tracking branch 'refs/remotes/origin/development' into pr/1334
...
# Conflicts resolved:
# Engine/source/console/consoleFunctions.cpp
2016-02-26 21:58:01 +01:00
Anis
973e5a6c02
Update consoleFunctions.cpp
2016-02-26 20:11:27 +01:00
Anis
794f1b9536
Merge pull request #1532 from GarageGames/pr/1143
...
[CLONE] More consolefunctions #1143
2016-02-26 18:57:49 +01:00
Anis A. Hireche
0fb62de4b8
restored old signature of mRound as it's used from scripts.
2016-02-26 18:41:29 +01:00
Anis
3984a4ec09
Merge pull request #1530 from GarageGames/AiPlayerPoses
...
Steve Acaster's Ai Poses
2016-02-26 16:10:28 +01:00
Anis A. Hireche
f701228a37
Steve Acaster's Ai Poses
2016-02-26 15:53:20 +01:00
Anis
42f7ee3930
Merge pull request #1528 from irei1as/patch-1
...
New script function to edit script-created decals
2016-02-26 14:57:18 +01:00
Anis A. Hireche
10cb6ab9c4
Merge remote-tracking branch 'refs/remotes/origin/development' into pr/1153
2016-02-26 14:39:38 +01:00
Azaezel
496b6a3ea8
truncation warning cleanups dx side (was also causing cornercase crashes gl side)
2016-02-26 00:21:01 -06:00
Anis
443cd2d607
Merge pull request #1231 from J0linar/platformNet_PR
...
+proper buffer size for udp socket
2016-02-25 18:38:47 +01:00
Anis
8f4295879d
Merge pull request #1413 from Azaezel/LittleLeakLost
...
partial reversion for #1333
2016-02-25 18:29:50 +01:00
Anis
7418fbfbbd
fixed memory leak in proper way
2016-02-25 18:26:15 +01:00
Anis
8c50cc70c3
Merge pull request #1186 from MusicMonkey5555/tcp-additions
...
Tcp additions
2016-02-25 16:28:34 +01:00
Anis
63e56ec666
Merge pull request #1432 from Azaezel/extract-reactive_rigids
...
Backend correction for the rigid vs rigid collision resolver:
2016-02-25 16:06:39 +01:00
Anis
a31dea224c
Merge pull request #1525 from TheDushan/ImmutableBuffers
...
Added immutable vertex and index buffers.
2016-02-25 15:38:07 +01:00
Anis
740c999c19
compile fix
2016-02-25 15:26:52 +01:00
Anis
f39f7a80c8
Update gfxGLDevice.cpp
2016-02-25 15:26:25 +01:00
irei1as
988bd47d52
Visibility change as sugested by dottools
2016-02-24 09:02:07 +01:00
irei1as
c3b1aaae5a
New script function to edit created decals
...
TorqueScript function to edit decals created with decalManagerAddDecal.
2016-02-23 17:17:54 +01:00
Azaezel
7a60056365
Merge branch 'ColorPickerAdvanced' of https://github.com/Azaezel/Torque3D into ColorPickerAdvanced
2016-02-21 16:07:51 -06:00
Anis
304c33e525
removed tabs
2016-02-21 22:55:45 +01:00
Anis
2a1f81d3aa
removed tabs
2016-02-21 22:48:10 +01:00
Anis
4c0d3bbc34
removed tabs
2016-02-21 22:41:35 +01:00
Anis
8ec2e534dc
removed tabs
2016-02-21 22:36:27 +01:00
Azaezel
bc433e7c30
Merge branch 'ColorPickerAdvanced' of https://github.com/Azaezel/Torque3D into ColorPickerAdvanced
2016-02-21 15:31:09 -06:00
Azaezel
ca2ffea6cd
Merge branch 'development' of https://github.com/GarageGames/Torque3D into ColorPickerAdvanced
2016-02-21 15:30:54 -06:00
Azaezel
554a871df9
Merge branch 'development' into navMess2
...
Conflicts:
Engine/source/navigation/navMesh.cpp
2016-02-21 15:27:12 -06:00
Anis
5c2bfbf82e
Update guiColorPicker.h
2016-02-21 22:10:17 +01:00
Anis
aed2e0b5b6
Update guiColorPicker.cpp
2016-02-21 22:09:14 +01:00
Anis
494922d9ed
fixed the not working text edit RGB field on color picker.
2016-02-21 18:14:41 +01:00
rextimmy
2383e8e43e
Fix for TerrainFeatGLSL getProcessIndex() signed mismatch
2016-02-21 22:24:05 +10:00
rextimmy
36daca8d8e
Corrected FeatureSet::getNextFeatureIndex and ShaderFeature::getProcessIndex signed mismatch.
2016-02-21 15:10:58 +10:00
Dušan Jocić
28d303c5ea
Added immutable vertex and index buffers.
2016-02-20 21:28:18 +01:00
Anis
6a2d394d90
Merge pull request #1348 from hpvb/intel-mesa-compile-fix
...
Fix running on Linux / Intel Mesa drivers
2016-02-20 14:50:22 +01:00
Azaezel
612d932372
Revert "Update navMesh.cpp"
...
This reverts commit f3ff199554 .
2016-02-19 17:34:27 -06:00
Anis
cebfc81d7f
Merge pull request #1496 from camporter/linux_compat_fixes
...
Fix case sensitivity and Platform::fileDelete
2016-02-19 16:50:27 +01:00
Anis
92e5cb3528
Merge pull request #1381 from Azaezel/debugdraw
...
From Dušan Jocić: additional debugdraw entries.
2016-02-19 16:29:29 +01:00
Anis
9acf487f03
Merge pull request #1332 from Azaezel/guiRelativeYresizes
...
initial aspect ratio maintaining relative gui scaling
2016-02-19 00:46:20 +01:00
Anis
6f47cb7dfa
Update guiControl.h
2016-02-19 00:34:07 +01:00
Anis
df283a2709
Update guiTypes.cpp
2016-02-18 23:33:46 +01:00
Anis
3ca67b3148
Update guiTypes.h
2016-02-18 23:32:19 +01:00
Anis
c4590f6e3d
Update guiTextEditCtrl.cpp
2016-02-18 23:30:09 +01:00
Anis
9a2a5b2a90
compile fix.
2016-02-18 16:49:06 +01:00
Anis
d08c0df85d
Merge pull request #1512 from Lopuska/OpenGL_FullScreen_Clean
...
[OpenGL - Win32] This fix a bug during resolution change.
2016-02-18 15:26:21 +01:00
Anis
fe5bf90153
Merge pull request #1102 from Azaezel/mipmap_emission
...
extraneous mipmap generation prune
2016-02-17 19:02:15 +01:00
Anis
664f6c0639
Merge pull request #1518 from Azaezel/mathUtilsMangle
...
http://stackoverflow.com/questions/8461832/explicit-qualification-in- …
2016-02-16 19:19:19 +01:00
Areloch
4ccef9acf7
Merge pull request #1517 from Azaezel/AccessGranted
...
Looks good.
2016-02-16 09:34:50 -06:00
Anis
09ae25a567
Merge pull request #1516 from Azaezel/vsprintf_Variant
...
vsprintf replacement with engine vairant
2016-02-16 14:55:47 +01:00
Azaezel
8c5810adad
The final step (barring any overlooked missing bits, requested refactors, and of course, rolling in dependencies already submitted as PRs) consists of:
...
renderPrePassMgr.cpp related:
A) shifting .addFeature( MFT_XYZ); calls from ProcessedShaderMaterial::_determineFeatures to ProcessedPrePassMaterial::_determineFeatures
B) mimicking the "// set the XXX if different" entries from RenderMeshMgr::render in RenderPrePassMgr::render
C) fleshing out ProcessedPrePassMaterial::getNumStages() so that it shares a 1:1 correlation with ProcessedShaderMaterial::getNumStages()
D) causing inline void Swizzle<T, mapLength>::ToBuffer( void *destination, const void *source, const dsize_t size ) to silently fail rather than fatally assert if a source or destination buffer is not yet ready to be filled. (support for #customTarget scripted render targets)
Reflections:
A) removing reflectRenderState.disableAdvancedLightingBins(true); entries. this would otherwise early out from prepass and provide no color data whatsoever.
B) removing the fd.features.addFeature( MFT_ForwardShading ); entry forcing all materials to be forward lit when reflected.
C) 2 things best described bluntly as working hacks:
C1) when reflected, a scattersky is rotated PI along it's z then x axis in order to draw properly.
C2) along similar lines, in terraincellmaterial, we shut off culling if it's a prepass material.
Skies: scattersky is given a pair of rotations for reflection purposes, all sky objects are given a z value for depth testing.
2016-02-16 02:50:49 -06:00
Azaezel
196b214eae
engine:
...
defines and alters a series of material features for deferred shading in order to define a fully fleshed out multiple render target gbuffer patterned after the general principles outlined http://www.catalinzima.com/xna/tutorials/deferred-rendering-in-xna/creating-the-g-buffer/ (though I cannot stress enough *not* using the identical layout)
script:
removes dead material features (ie: those that never functioned to begin with)
shader:
bool getFlag(float flags, int num) definition for retreiving data from the 3rd (matinfo) gbuffer slot's red channel (more on that shortly)
purpose:
_A)_ Small primer on how material features function:
When a https://github.com/GarageGames/Torque3D/search?utf8=%E2%9C%93&q=_determineFeatures call is executed, certain conditions trigger a given .addFeature(MFT_SOMEFEATURE) call based upon material definition entries, be it a value, a texture reference, or even the presence or lack thereof for another feature. In general terms, the first to be executed is ProcessedShaderMaterial::_determineFeatures followed by ProcessedPrePassMaterial::_determineFeatures. The next commit will provide the bindings there. For now it's enough to understand that one of those two will trigger the shadergen subsystem, when rendering a material, to check it's associated list of features and spit out a shader if one is not already defined, or reference a pre-existing one that includes codelines determined by that list of features.
Relevant execution of this is as follows:
DeclareFeatureType( MFT_DeferredDiffuseMap ); - Name
ImplementFeatureType( MFT_DeferredDiffuseMap, MFG_Texture, 2.0f, false ); - Codeline Insertion Order
FEATUREMGR->registerFeature( MFT_DeferredDiffuseMap, new DeferredDiffuseMapHLSL ); - Hook to class which actually generates code
alternately FEATUREMGR->registerFeature( MFT_Imposter, new NamedFeatureHLSL( "Imposter" ) ); - a simple feature that serves no purpose further than as a test of it's existence (to modify other features for instance)
class DeferredDiffuseMapHLSL : public ShaderFeatureHLSL - Class definition
{
getName -embeded in the proceedural shader as a remline both up top and before actual code insertions
processPix - pixel shader codeline insertions
getOutputTargets - used to determine which buffer is written to (assumes only one. depending on branched logic, older features that may be run for either forward or deferred rendering depending on circumstance may have a logical switch based on additional feature flags. as an example: TerrainBaseMapFeatHLSL::getOutputTargets)
getResources - associated with the Resources struct, closely aligned with the hardware regestry
getBlendOp - used to determine what blend operation to use if a material requires a second pass (defaults to overwriting)
setTexData - ???
processVert - vertex shader codeline insertions
};
_B)_
The resultant Gbuffer layout defined by the previous commit therefore is as follows:
defaultrendertarget (referred to in shaders as out.col or col depending on GFX plugin) contains either lighting and normal data, or color data depending on if it is used in a deferred or forward lit manner (note for forward lit, this data is replaced as a second step with color. why custommaterials have traditionally had problems with lighting)
color1 (referred to in shaders as out.col1 or col1 depending on GFX plugin) RGB color data and an A for blending operations (including transparency)
color2 (referred to in shaders as out.col2 or col2 depending on GFX plugin) contains:
red channel comprising material flags such as metalness, emissive, ect,
green channel for translucency (light shining through, as oposed to see-through transparency), blue for
blue for specular strength (how much light influences net color)
alpha for specular power (generally how reflective/glossy an object is)
long term purpose:
further down the line, these will be used to condition data for use with a PBR subsystem, with further corrections to the underlying mathematics, strength being replaced by roughness, and power by metalness
2016-02-16 02:23:23 -06:00
Azaezel
5b5c6b9907
Deferred Shading
...
Phase 1: buffers
engine:
provides the following hooks and methods
A) render target "color", and "matinfo". these correspond to texture[0] = "#color"; texture[2] = "#matinfo"; entries in scripts
B) utilizes the independentMrtBitDepth method added GarageGames#857 to set color to an 8RGBA if cards support it
C) adds an RenderPrePassMgr::_initShaders() method to support void RenderPrePassMgr::clearBuffers(). This operates as a pseudo-postfx by rendering a veiwspace plane which fills the screen, then calls a shader which fills both the introduced rendertarget buffers and the prepass buffer to relevant defaults (white with full alpha for prepass, black with full alpha for color and material respectively)
script:
\game\tools\worldEditor\main.cs adds additional hooks similar to GarageGames#863 for colorbuffer, specular map, and backbuffer display
\game\core\scripts\client\lighting\advanced\deferredShading.cs adds the clearbuffer shader, visualizers, and the ShaderData( AL_DeferredShader ) + PostEffect( AL_DeferredShading ) which combine the various buffers into the output which reaches the screen under normal conditions, as well as the extended debug visualizers.
again, note the lines
texture[0] = "#color";
texture[1] = "#lightinfo";
texture[2] = "#matinfo";
target = "$backBuffer";
in particular for the core tie-in.
shader:
\game\shaders\common\lighting\advanced\deferredColorShaderP.hlsl
\game\shaders\common\lighting\advanced\gl\deferredClearGBufferP.glsl
the previously mentioned shaders which clear the buffers to specified colors
\game\shaders\common\lighting\advanced\deferredShadingP.hlsl
\game\shaders\common\lighting\advanced\gl\deferredShadingP.glsl
the tie-in shaders
the rest are visualizers
purpose: to expose methodology that allows one to render color, lighting and material information such as specular and gloss which effect the result of both when combined
long term intent: the previous prepass lighting methodology while serviceable, unfortunately had the side effect of throwing out raw color information required by more modern pipelines and methodologies. This preserves that data while also allowing the manipulation to occur only on a screenspace (or reflected speudo-screenspace) basis.
2016-02-16 01:50:58 -06:00
Areloch
cb22357eb2
Merge pull request #1461 from Azaezel/textureLinearization
...
Diffuse/albedo texture linearization
2016-02-16 01:23:16 -06:00
Areloch
98b3d3294d
Merge of PR #855
2016-02-16 00:23:02 -06:00
Azaezel
f8c4dd9d1d
http://stackoverflow.com/questions/8461832/explicit-qualification-in-declaration
2016-02-15 19:08:03 -06:00
Azaezel
db4755a00f
namespace conflict resolution
2016-02-15 19:05:09 -06:00
Azaezel
d25b03cd52
vsprintf replacement with engine vairant
...
resolves first issue in
https://github.com/GarageGames/Torque3D/issues/1515#issuecomment-184446719
2016-02-15 18:12:56 -06:00
Anis
f30aac3655
Merge pull request #1424 from rextimmy/fmod_crash_fix
...
Changed order of fmodex library unload.
2016-02-16 00:26:47 +01:00
Anis
168a2fe029
Merge pull request #1419 from irei1as/patch-1
...
mQuat.h change to fix QuatF::angleBetween
2016-02-16 00:22:39 +01:00
irei1as
6891d348af
Update mQuat.h
2016-02-15 18:50:18 +01:00
irei1as
39613c0d87
Optimized
...
You're right. If the normalized quaternions are in a variable or something for normal uses it's just a waste to force the change hidden inside again.
2016-02-15 18:43:56 +01:00
Anis
74c189681c
Merge pull request #1504 from Lopuska/patch-16
...
ResourceLeakFix for OpenGL
2016-02-15 14:08:44 +01:00
Anis
b009d678fa
Merge pull request #1505 from Azaezel/OcclusionQueryFixGL_Clean
...
courtessy @Lopuska: opengl occlusion query fix
2016-02-15 14:07:09 +01:00
Anis
7aeec65a3b
Update win32Window.cpp
2016-02-13 20:27:30 +01:00
Anis
f3ff199554
Update navMesh.cpp
2016-02-13 18:50:11 +01:00
Areloch
eebb1852f0
Merge pull request #1507 from RoundedIcon/PlayerScalingFix
...
Works nicely.
2016-02-13 11:17:28 -06:00
Duion
b8d462e22e
Merge pull request #3 from ZOD2015/ueberengine-dev
...
Teams implementation
2016-02-09 23:01:31 +01:00
RoundedIcon
7924f056bd
Fix for collision issues with scaled players
...
Players scaled after their creation have collision issues with terrain.
Changing this bit of code fixes those issues for downsized players, even
when shrunk to 10% of their original size.
2016-02-01 16:58:39 -07:00
Azaezel
0f173df0d4
setDetailFromDistance aspect ratio friendly adjustment
2016-01-28 00:42:08 -06:00
Azaezel
23c4b52e1f
courtessy @Lopuska: opengl occlusion query fix
2016-01-18 00:28:09 -06:00
Anis
e2d789e87d
Update gfxGLTextureTarget.cpp
2016-01-18 06:17:20 +01:00
Anis
ca31ef3f1a
Update gfxGLWindowTarget.cpp
2016-01-18 06:15:07 +01:00
Anis
500a237892
Update gfxGLWindowTarget.h
2016-01-18 05:56:00 +01:00
Anis
c3ef59e39c
Update gfxGLWindowTarget.cpp
2016-01-18 05:55:48 +01:00
Anis
0728282287
Update gfxGLTextureTarget.cpp
2016-01-18 05:55:36 +01:00
Anis
58a604d363
Update gfxGLCircularVolatileBuffer.h
2016-01-18 05:49:05 +01:00
Areloch
6235f63deb
Merge pull request #1395 from Azaezel/AssertDivNULL
...
credit to @MusicMonkey5555 for spotting. asserts for Div/NULLs
2016-01-16 17:53:00 -06:00
Areloch
32ec7f0ef6
Merge pull request #1474 from Azaezel/navMess
...
mDirtyTiles changed from std::queue to a vector
2016-01-16 17:21:49 -06:00
Areloch
41038ec9ae
Merge pull request #1502 from Lopuska/patch-1
...
Glow buffer graphic corruption fix on OpenGL.
2016-01-16 13:07:06 -06:00
Areloch
ff2df5c43f
Merge pull request #1478 from Areloch/VolFog2
...
Volumetric Fog Take 2
2016-01-15 11:22:25 -06:00
Duion
8cf2deb300
Merge branch 'ueberengine-dev' into ueberengine-master
2016-01-15 02:32:16 +01:00
Duion
2fc35bad99
version change to 1.0.4.0
2016-01-15 02:30:02 +01:00
Anis
cae97cac37
Glow buffer graphic corruption fix on OpenGL.
...
Caused by a wrong target size. (probably it was ok on the very old OpenGL 1.5 version)
Before fix, wrong behaviour:
http://goo.gl/dik7Ia
After fix, all right:
http://goo.gl/IsrckM
2016-01-14 23:51:35 +01:00
Azaezel
c60be9a17e
suggested revisions
2016-01-13 15:08:21 -06:00
Duion
d1d1d4fdd8
Merge branch 'ueberengine-dev' of https://github.com/Duion/Torque3D.git into ueberengine-dev
2016-01-13 02:36:03 +01:00
Duion
b37bbf2d05
Dedicated server fixes I think
2016-01-13 02:27:42 +01:00
Duion
03d6ca749b
make crosshair show in third person
2016-01-12 23:55:54 +01:00
Azaezel
62506214d0
footstep and impact enum extension support
...
Removes hardcoded case statements in favor of an offset-driven approach.
2016-01-11 22:23:13 -06:00
Cameron Porter
4c17d4bb49
Fix case sensitivity and Platform::fileDelete
...
for linux and OSX. Correct a couple of warnings and errors preventing builds on linux.
2016-01-09 00:37:45 -06:00
Areloch
c2da755dc2
Fix for the directory scan for modules so it doesn't trim off characters in the path.
...
Resubmitted to clear the excess history entries.
2016-01-08 00:19:11 -06:00
rextimmy
e3b228db8b
Fix for OpenGL/D3D11 bottom border offset
2015-12-28 09:17:14 +10:00
Duion
79c6a25050
multiplayer decals and art/core filepaths fixes
2015-12-27 00:39:52 +01:00
Areloch
24dc8e6990
Merge pull request #1473 from Tribes2-SCP/tinyXMLFix
...
Fix TinyXML Build errors
2015-12-21 01:10:15 -06:00
Areloch
d30529bbeb
Merge pull request #1459 from Azaezel/dangedDecalDatablocks
...
corrects ghosted decal datablock lookup flaw
2015-12-20 02:17:56 -06:00
Marc Chapman
ac7d6e6691
Updated paths for collada tdictionary.h
2015-12-13 03:33:39 +00:00