Commit graph

225 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
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
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
Brian Roberts 0c88a12b83 adds an ejectionOffsetVariance entry to particle emitters, which adds a buffer zone to ejectionOffsets (IE: let's us make rings, and the like.) 2013-08-06 13:36:17 -05:00
cpusci 79c9a21e32 Just making sure the error output is consistent with the other errors. 2013-08-05 06:20:44 -05:00
SilentMike 3e3006024c Merge pull request #452 from eightyeight/expose-blowup
Expose ShapeBase blowUp method
2013-08-04 21:50:40 -07:00
SilentMike 40b29c994d Merge pull request #387 from lukaspj/Projectile-Explosion-Change
Let projectiles collide with objects without being armed.
2013-08-04 21:44:42 -07:00
cpusci 21ff1e26bb If you name a torque script object the same name as a Torque script class, you will get heap corruption with no warning at all. Changed original fix to cause a script error and reject object creation, instead of just renaming the object and moving along. 2013-08-04 08:50:56 -05:00
Daniel Buckmaster ce73a6b11a Exposed blowUp method to console. 2013-08-02 19:00:28 +10:00
Robert Fritzen 171a24459f Remove namespace from header
Removing the "using namespace Torque" from header file to prevent issues
with certain engine addons conflicting with ::UUID defined by windows
and Torque::UUID defined by T3D.
2013-07-28 12:55:52 -05:00
Bloodknight 3d38dc60eb Increase terrain editor and painter max brush size to 256 x 256 2013-07-28 02:26:29 +01:00
SilentMike c75d6feb20 Merge pull request #422 from tdev/rift-update
compile fix for rift sdk ver 0.2.2
2013-07-25 09:45:54 -07:00
SilentMike 2efc9a12b0 Merge pull request #434 from LuisAntonRebollo/Bullet_2_81
Bullet Library v2.81
2013-07-25 09:02:28 -07:00