Commit Graph

53 Commits

Author SHA1 Message Date
Martin Mittring
af48c28076 fixed pause of MotionBlur for camera motion
[CL 2527480 by Martin Mittring in Main branch]
2015-04-27 17:12:21 -04:00
Lina Halper
38e8333070 Make it check slow.
[CL 2523334 by Lina Halper in Main branch]
2015-04-23 16:57:47 -04:00
Lina Halper
95c576c574 #OpenWorld: HLOD
- Improved clustering by using sphere
- Fixed progress window to work during build process
- Optimized for a big map
- Disabled for build all since it is exceptionally slow, it might be painful to add there
- Fixed Merge Actor to work with material flattening

[CL 2521241 by Lina Halper in Main branch]
2015-04-22 12:08:09 -04:00
Jaroslaw Surowiec
639bb9c1d7 Stats - Cleaned Math stats
[CL 2520655 by Jaroslaw Surowiec in Main branch]
2015-04-22 02:30:15 -04:00
Mike Fricker
6cfc700f19 Added HSV-based linear color interpolation function (Blueprint and C++)
- Interpolates between colors in HSV space, taking the shortest route between hues.  Also interpolates alpha.
- In C++:  FLinearColor::LerpUsingHSV()
- New Blueprint function:  "Lerp Using HSV (Linear Color)"

#codereview nick.atamas

[CL 2519129 by Mike Fricker in Main branch]
2015-04-21 09:31:43 -04:00
Andrew Rodham
86850fe0f8 Changed editor project unit settings to be more flexible
Users can now choose a set of relevant units to display applicable properties in.
Setting a single unit for a given type will result in only that unit ever being used. When multiple exist, the most appropriate unit will be shown when a property editor is opened, and will remain in this unit until something else is selected.

[CL 2519064 by Andrew Rodham in Main branch]
2015-04-21 08:27:25 -04:00
Andrew Rodham
3ac1e0da19 Added editor project setting to define whether to display units in imperial or metric (or not at all)
Also added a default input unit that is used when no units are specified on a text input.

This addresses UE-11863 and UE-9313

[CL 2499638 by Andrew Rodham in Main branch]
2015-04-02 05:30:34 -04:00
Mike Fricker
701ad40823 Improved support for Clang C++ compiler on Windows
- The entire editor can now be compiled using Clang on Windows.  It also runs (as long as you use the MSVC linker.)
- Use UEBuildWindows.bCompileWithClang=true to help test Clang support
- Most UE4 programs can now be compiled using Clang on Windows, and linked using the Clang linker on Windows
- Many C++ syntax fixes to resolve Clang errors and warnings when on Windows
- Clang on Windows now supports PCH files properly (but not "shared" PCHs, yet.)
- Hacked the DirectX XAudio2 headers slightly to work around a macro pasting bug in Clang

[CL 2494439 by Mike Fricker in Main branch]
2015-03-27 16:44:10 -04:00
Zachary EdgertonJones
788c90cf43 Checking in TPS reports for first pass
[CL 2493970 by Zachary EdgertonJones in Main branch]
2015-03-27 12:10:09 -04:00
Brian Karis
d3b0603276 PR #668: Added color temperature property for lights! (Contributed by JedTheKrampus)
https://github.com/EpicGames/UnrealEngine/pull/668

[CL 2492899 by Brian Karis in Main branch]
2015-03-26 19:26:04 -04:00
Dan Oconnor
84da45973f PR #936: Fixes for PVS-Studio warnings from Paul Eremeeff
These are mostly fixes to redundant comparisons and initialization code, but there's also a fix for serious looking scope issue in FontCache.cpp

[CL 2483865 by Dan Oconnor in Main branch]
2015-03-18 20:36:02 -04:00
Richard TalbotWatkin
f7deda024d Added a Min/Max boundary property to SplineMeshComponent to define the bounds of the curve numerically instead of by the mesh bounds.
#jira UE-6856 - GitHub 701 : Custom boundaries for the spline mesh along the forward axis
#github Pull request #701
#change Fixed USplineComponent::CalcBounds which was not correctly calculating the bounding box. Now CalcBounds and CalcSliceTransform also take into account the Min/Max boundary value.
#reviewedby James.Golding

[CL 2480280 by Richard TalbotWatkin in Main branch]
2015-03-16 12:53:23 -04:00
Saul Abreu
79a26091bf Fixed behavior on FString::ParseIntoArray (muliple delimiters overload) functionality to support optionally culling empty strings. Greatly simplified implementation logic. Output parameter now properly named and taken by reference.
#codereview Steve.Robb, Robert.Manuszewski

[CL 2466824 by Saul Abreu in Main branch]
2015-03-02 15:51:37 -05:00
Michael Troughton
b7bbf689f7 Optimise FBoxSphereBounds::TransformBy and FBox::TransformBy
[CL 2437753 by Michael Troughton in Main branch]
2015-02-09 06:06:54 -05:00
Michael Troughton
b315132fdd Optimise FBoxSphereBounds::TransformBy( const FTransform& M ) by transforming the axes and taking the sum of absolutes, rather than transforming all 8 corners.
On my machine 1000000 iterations went from 0.927s to 0.154s. ~6x improvement.

[CL 2433374 by Michael Troughton in Main branch]
2015-02-05 06:25:02 -05:00
Lina Halper
fe1f98bd30 #Hierarchical LOD generation system
[CL 2415338 by Lina Halper in Main branch]
2015-01-22 11:05:14 -05:00
Zak Middleton
91343a209f #perf - Convert more uses of individual Sin/Cos calls to use new faster SinCos(). Cleaned up some hardcoded degree to radian conversion to use the function template instead.
[CL 2407836 by Zak Middleton in Main branch]
2015-01-15 16:31:37 -05:00
Zak Middleton
2f05467db1 #perf - FQuat, FRotator, FRotationMatrix optimizations cross platform.
Much of this is integrated from Mike.Rayner's changes in /Partners/Microsoft/UE4-MS/
XBoxOne results (from Mike):

FRotator::Quaternion                             3479ns ==> 337ns
FRotator::Vector                                     7860ns ==> 1637ns
FRotationMatrix::FRotationMatrix          4227ns ==> 540ns
FQuat::Rotator                                       5101ns ==> 2160ns

Optimizations for FQuat::RotateVector and  FQuat::RotateVector as well.
Optimized AActor::GetActor<Forward|Up|Right>Vector

Includes UnitTests.

[CL 2404344 by Zak Middleton in Main branch]
2015-01-13 00:35:09 -05:00
Zak Middleton
8bc50758d8 #ue4 - Some minor cleanup to FQuat::Rotator() to reorder Yaw/Pitch/Roll for better cache use, and clean up some constants.
[CL 2401422 by Zak Middleton in Main branch]
2015-01-08 17:39:00 -05:00
Andrew Rodham
c3306d65af Added ability to specify units on UProperty types through a Units= meta tag
Added ability to adaptively change display units to a more appropriate range on numerical property editors. This behaviour can be disabled with a AllowUnitRangeAdaption=False meta tag.
Spin boxes now accept a numeric type interface which allows customization of numeric handling.

[CL 2398620 by Andrew Rodham in Main branch]
2015-01-06 07:29:48 -05:00
Zak Middleton
1c6b9c4850 #stats - Add STATSGROUP_Math to Core.
- Add stat counters for Rotator->Quat and Quat->Rotator conversion.

[CL 2391517 by Zak Middleton in Main branch]
2014-12-17 14:42:40 -05:00
Martin Mittring
810bb80c36 added new unfinished/experimental translucency lighting mode: TLM_SurfacePerPixelLighting
Higher quality than Surface but more expensive (loops through point lights with some basic culling, only inverse square, expensive, no shadow support yet)
 Requires 'r.ForwardLighting' to be 1

[CL 2388708 by Martin Mittring in Main branch]
2014-12-15 11:39:23 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Cody Haskell
c190cbc947 #UE4
- Adding ClosestPointOnSegment2D into FMath.

#RememberBUNS

[CL 2374310 by Cody Haskell in Main branch]
2014-12-02 18:16:34 -05:00
Matthew Griffin
f1c4513760 Renaming FVector ClampSize and SafeNormal functions for clarity
Used DEPRECATED Macro to keep old names around in case I've missed anything

[CL 2370785 by Matthew Griffin in Main branch]
2014-11-26 10:01:12 -05:00