Commit graph

216 commits

Author SHA1 Message Date
DavidWyand-GG 55c91d29aa Default value for WaterFogData plane distance
Set the default WaterFogData plane distance to be the same as global
bounds.  This solves an issue with the connection's control object
mistakenly thinking it is under a water plane in a debug build.
2013-11-04 13:24:16 -05:00
DavidWyand-GG 2077632a92 Turbulence respects side-by-side rendering
- PostEffect class now offers the current projection offset and target
viewport as shader constants.
- Turbulence postFX now takes the current projection offset into
account.
- Turbulence postFX now clamps itself to the current viewport.
- Turbulence postFX now renders after the glow bin, specifically after
the glow postFX renders.  This ensures that it can take advantage of
knowing the current viewport rather than affecting the entire render
target.
2013-11-01 16:18:48 -04:00
David Wyand b1b7a66d5b Merge pull request #516 from DavidWyand-GG/OculusRiftUpdate2
Update ReflectionManager on Scene Field Change
2013-10-31 14:09:52 -07:00
DavidWyand-GG 39ab93636c Update ReflectionManager on Scene Field Change
During side-by-side rendering the refraction texture needs to be updated
for both the left and right fields.  These changes add a new GFXDevice
event type to track when a field is about to be rendered.  The
ReflectionManager listens to this new event and ensures that the
refraction texture will be updated if it is referenced by a material.
2013-10-31 16:54:22 -04:00
David Wyand 49b15cc055 Merge pull request #501 from DavidWyand-GG/MaskNodeHandsOff
Changes for MaskNodeHandsOff
2013-10-30 21:51:38 -07:00
DavidWyand-GG 17113d3ba5 Blinn-Phong Specular Changes
Based on the work done here:
http://www.garagegames.com/community/blogs/view/21032
2013-10-29 15:10:23 -04:00
SilentMike fd0f4634fe Merge pull request #511 from thecelloman/triggerfix-issue#510
Making vector order consistent.
2013-10-27 21:16:22 -07:00
thecelloman 3d153e5fdc Making vector order consistent. 2013-10-28 00:13:14 -04:00
thecelloman 24f951ed34 Removing a duplicate CorrectMuzzleVector initPersistFields() entry. 2013-10-28 00:00:46 -04:00
thecelloman 4e65e1014b Initialize mCameraRotation to (0, 0, 0). 2013-10-27 23:46:06 -04:00
SilentMike 0e1ed4683b Merge pull request #490 from Azaezel/buoyancy
Buoyancy
2013-10-27 13:48:09 -07:00
DavidWyand-GG f790d58978 Frustum Comparison Fix
- Frustum comparison now includes comparing the projection offset.
- Fixes objects that only set the projection matrix if the frustum has
changed during side-by-side rendering, such as the WaterPlane.
2013-10-26 16:29:46 -04:00
SilentMike ef4cee7b17 Merge pull request #466 from eightyeight/mltext-default-reformat
Added default parameter to GuiMLTextCtrl::addText
2013-10-26 11:24:08 -07:00
David Wyand f31a5637c3 Merge pull request #505 from DavidWyand-GG/PlanarReflectionFix
PlaneReflector Support for Side-by-Side Rendering
2013-10-24 23:12:19 -07:00
DavidWyand-GG 2fc5adb536 PlaneReflector Support for Side-by-Side Rendering
- The PlaneReflector class now supports side-by-side rendering.  This
does mean that while in this rendering style that all planar reflections
are rendered twice, as reflection is a screen space effect from the eye
point of view.
- Planar reflections now work in the Oculus Rift.
- Modified GuiTSCtrl::onRender() to move up where the rendering style is
defined to just before the reflection manager has its turn.
2013-10-25 02:08:13 -04:00
David Wyand 12da4e40ff Merge pull request #504 from DavidWyand-GG/OculusRiftUpdate
Expand PostFX Viewport Options
2013-10-24 11:26:40 -07:00
DavidWyand-GG 15673810c6 Expand PostFX Viewport Options
- Added an option for a postFX to get its viewport from a named texture
in slot 0, if there is one.  This allows the postFX to operate when the
named input texture's viewport is different than the current viewport.
- Modified the SSAO postFX to use the new
PFXTargetViewport_NamedInTexture0 option to more closely link SSAO with
the prepass buffer.
- Modifed the GFX method setActiveRenderTarget() with a new parameter
that indicates if the current viewport should be modified with the new
rendering target.  This defaults to true to maintain its previous
behaviour.  The postFX rendering pipeline sets this to false as it now
handles its own viewport setup, and removes an unnecessary
GFX->setViewport() call.
2013-10-24 13:40:44 -04:00
David Wyand 61c6e9600d Merge pull request #503 from DavidWyand-GG/OculusRiftUpdate
Viewport fix for PostFX and SSAO
2013-10-23 21:31:19 -07:00
DavidWyand-GG 88f2a4d903 Viewport fix for PostFX and SSAO
- General fix for PostFX render targets to properly support the GFX
viewport setting.  This is an opt-in change through the use of the new
mTargetViewport property as most PostFX run fine with their assumption
of the viewport being the whole rendering target.
- The SSAO PostFX has been modified to use the new mTargetViewport
property.  This allows correct rendering in a side-by-side view such as
with the Oculus Rift, or any other constrained viewport rendering.
2013-10-24 00:28:13 -04:00
David Wyand 6719b55fbd Merge pull request #502 from DavidWyand-GG/OculusRiftUpdate
Viewport Fix for Glow PostFX
2013-10-22 23:17:03 -07:00
DavidWyand-GG c65cca26dd Viewport Fix for Glow PostFX
- Modified the glow postFX to now respect the current viewport settings.
- This fixes glow rendering for the Oculus Rift and any other time the
glow rendering should be limited to a region of the back buffer.
2013-10-23 02:15:14 -04:00
DavidWyand-GG f10a860bba Changes for MaskNodeHandsOff
This is a rework of the Pull Request
https://github.com/GarageGames/Torque3D/pull/453 based on my own
understanding of the issue.  The details may be found in the description
of the original Pull Request.
2013-10-22 18:18:02 -04:00
SilentMike 5ca66697b1 Merge pull request #427 from eightyeight/arm-range-fix
Arm range fix
2013-10-21 10:19:51 -07:00
SilentMike e97aaec302 Merge pull request #492 from Azaezel/393B
Fix for issue #393
2013-10-21 10:04:59 -07:00
DavidWyand-GG 71cf58b8c5 Oculus Rift Sensor Data Comparison Change
- Modified OculusVRSensorData::compare() to only work with the raw
sensor data when specifically requested.  No need to process those
values if the user hasn't asked for them.
2013-10-21 11:28:41 -04:00
DavidWyand-GG 85730dfb59 Oculus Rift Improvements
- Now requires OVR SDK 0.2.5
- New chromatic aberration correction shader.  Can be disabled by
setting $pref::OculusVR::UseChromaticAberrationCorrection to false prior
to enabling Rift display (such as for screen shots).
- FXAA on by default when using full screen on the Rift.
- Can now manually override IPD from script.  Otherwise value set in
profile is used.
- Raw sensor data now available through input events (set
$OculusVR::GenerateSensorRawEvents to true) and console methods.  The
raw data is acceleration, angular velocity, and magnetometer reading.
- Can determine if magnetometer calibration data is available using a
console method in order to notify the user.
2013-10-19 00:46:39 -04:00
SilentMike 8d2fcf2456 Merge pull request #384 from eightyeight/dont-stress-clientmissioncleanup
Don't require ClientMissionCleanup to exist
2013-10-15 11:32:12 -07:00
SilentMike b1f4c4a24d Merge pull request #478 from eightyeight/guishapenamehud-fill
Make GuiShapeNameHud frame and fill rendering useful
2013-10-15 10:39:04 -07:00
Daniel Buckmaster c1d79f1488 Added padding to GuiShapeNameHud labels. 2013-10-14 23:06:14 +11:00
Daniel Buckmaster 4d3851c3cb Reinstate entire-control fill and frame.
The settings for fill and frame around names are now called labelFill and labelFrame.
2013-10-14 12:59:48 +11:00
SilentMike d6146e968a Merge pull request #470 from TarasPodoroga/development
RenderMeshExample won't render transparent materials properly
2013-10-09 13:22:30 -07:00
SilentMike e1830fdf2c Merge pull request #456 from smally/tsnaming_heapcorruption
Heap corruption caused by incorrect Torque Script naming
2013-10-09 13:06:21 -07:00
SilentMike 2ac675000f Merge pull request #449 from Phantom139/uuidreplacement
UUID Replacement
2013-10-09 12:31:47 -07:00
DavidWyand-GG d095576a25 Change default damage and white flash
Change both the damage flash and white out values to return 0 by
default.  This prevents a damage flash or white out from displaying for
GameBase derived classes that don't override these methods.  From
https://github.com/GarageGames/Torque3D/issues/395
2013-10-08 18:21:05 -04:00
David Wyand 9d9c6bf7d3 Merge pull request #415 from LuisAntonRebollo/BitVector_copyConst_fix
Fix BitVector copy constructor.
2013-10-07 12:49:53 -07:00
DavidWyand-GG edaecf0a5b Mounted image weapon light fix
Fix for mounted image lights beyond the first weapon light.  Before this
fix all mounted images that have lights would not function if mounted to
a slot after a mounted image that uses a weapon light.
2013-10-05 02:23:58 -04:00
Azaezel fed7966dda fix for issue #393 2013-10-03 14:33:45 -05:00
Azaezel 6879f1b328 re-enables boyancy as per: http://www.garagegames.com/community/blogs/view/22403#comments 2013-10-03 04:35:42 -05:00
DavidWyand-GG 2c0fcaa398 Gamepad and joystick dead zone fix
Fix for gamepad and joystick dead zone calculation so that the
calculated value will always fall within the 0..1 range.  In reference
to https://github.com/GarageGames/Torque3D/issues/468
2013-09-27 12:40:54 -04:00
DavidWyand-GG 5406afa884 DecalManager scene container fix
In reference to https://github.com/GarageGames/Torque3D/issues/474 this
is a general fix for all global bounds objects.
2013-09-27 12:15:44 -04:00
Daniel Buckmaster d80679fbf8 GuiShapeNameHud frame and fill rendering is now useful. 2013-09-05 19:02:42 +10:00
thecelloman 278b4c9977 Fixes a mismatched variable name introduced in pr#460 2013-09-04 14:28:55 -04:00
Taras Podoroga b0974e6647 RenderMeshExample won't render transparent materials properly, this commit will fix it. 2013-08-21 23:57:55 +03:00
SilentMike f6efe41728 Merge pull request #460 from Azaezel/Particles
Particles
2013-08-19 08:22:04 -07:00
SilentMike 9073a3efbf Merge pull request #410 from WinterleafEnterainment/development
Created Header file for net.cpp
2013-08-19 08:13:30 -07:00
Daniel Buckmaster dbb15ccf0b Reformat parameter defaults to true. 2013-08-13 14:36:06 +10:00
SilentMike 77bd934167 Merge pull request #424 from tdev/lock-checking
Added checks for valid pointers after locking
2013-08-11 22:14:16 -07:00
SilentMike 824944d7b5 Merge pull request #423 from tdev/material-ptrs
fixed pointer problems and guard in material files
2013-08-11 22:12:16 -07:00
SilentMike cec14272b6 Merge pull request #420 from tdev/camera-datablock-fixes
fixed camera code not checking for invalid/missing datablock
2013-08-11 22:10:53 -07:00
SilentMike 51204ee826 Merge pull request #447 from Bloodknight/BKS_BigBrush
Increase terrain editing and painting brush max sizes
2013-08-07 12:03:27 -07:00