Commit graph

434 commits

Author SHA1 Message Date
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
David Wyand fc41c41e83 Merge pull request #506 from DavidWyand-GG/OculusRiftUpdate2
Frustum Comparison Fix
2013-10-26 13:31:26 -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
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
David Wyand 31e00236de Merge pull request #500 from DavidWyand-GG/OculusRiftUpdate
Oculus Rift Sensor Data Comparison Change
2013-10-21 08:43:23 -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
David Wyand 6c0f8aa252 Merge pull request #497 from DavidWyand-GG/OculusRiftUpdate
Oculus Rift Improvements
2013-10-18 21:56:53 -07: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 7a3378e71a Merge pull request #491 from Azaezel/playerDustSupport
Player dust support
2013-10-11 11:07:44 -07:00
SilentMike 3b6854371b Merge pull request #489 from Azaezel/365
fix for issue #365
2013-10-11 10:59:48 -07: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
David Wyand a27a8c4142 Merge pull request #488 from Azaezel/484
fix for issue #484
2013-10-08 16:07:43 -07:00
David Wyand 445648d53c Merge pull request #496 from DavidWyand-GG/DamageFlashWhiteOut
Change default damage and white flash
2013-10-08 15:22:35 -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
David Wyand 1a28722ef2 Merge pull request #494 from DavidWyand-GG/WeaponLight
Mounted image weapon light fix
2013-10-04 23:26:03 -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 3fe7e55c38 assigns a texture to the player's LightPuff particle. assigns colorization and sound to stock terrain materials. for full reproduction verification, you'll find some soldier_riged.cs addTrigger entries at: http://www.garagegames.com/community/forums/viewthread/134669 (still haven't had time to revisit that and snag good looking times, but this'll leave just that for someone to knock out.) 2013-10-03 05:03:21 -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
Azaezel 7a6c0d524f fix for issue #365 2013-10-03 03:49:44 -05:00
Azaezel c4e9e5db99 fix for issue 484 2013-10-03 03:24:49 -05:00
David Wyand 2bb0b3bc58 Merge pull request #483 from DavidWyand-GG/JoystickDeadZoneFix
Gamepad and joystick dead zone fix
2013-09-27 09:42:11 -07: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
David Wyand 599738477e Merge pull request #482 from DavidWyand-GG/DecalManagerContainer
DecalManager scene container fix
2013-09-27 09:17:40 -07: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
David Wyand 1684501ad0 Merge pull request #477 from DavidWyand-GG/AudioData
Allow audioData.cs.dso to execute
2013-09-04 22:45:58 -07:00
DavidWyand-GG e917f1ea14 Allow audioData.cs.dso to execute
When using only compiled scripts, the isFile( "./audioData.cs" ) would
fail for audioData.cs.dso causing none of the audio data to load.  The
correct method is to use isScriptFile(), along with a fully qualified
file path, to check for either the .dso or .cs files.
2013-09-04 19:02:46 -04:00
SilentMike db58393213 Merge pull request #476 from thecelloman/varRenameFix460
Var rename fix460
2013-09-04 11:33:38 -07: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 884863a478 Merge pull request #457 from smally/ai_player_slowdown
AIPlayer path node slowdown
2013-08-19 08:24:27 -07:00