Commit Graph

82 Commits

Author SHA1 Message Date
Jeremy Moore
ff967b1163 Remove PRIMITIVE_SCENE_DATA_FLAG_DRAWS_VELOCITY and only use PRIMITIVE_SCENE_DATA_FLAG_OUTPUT_VELOCITY.
Tidy up use of FPrimitiveSceneProxy velocity getters.
Now DrawsVelocity() is only for velocity relevance.
And HasDynamicTransform() is for determining if we need to store previous transform state.
VSM caching was using PRIMITIVE_SCENE_DATA_FLAG_DRAWS_VELOCITY so replaced that with PRIMITIVE_SCENE_DATA_FLAG_SHOULD_CACHE_SHADOW which should use the old behavior and can be tweaked in future using ShouldCacheShadow().

A common pattern for determining whether to output velocity now is to check if a previous transform exists, and to OR in AlwaysHasVelocity().
I found some proxy types that don't check for previous transform.
Also I found that the debug physics aggregate types *never* check for previous transform.
These are pre-existing potential bugs for fixing in another pass.

Also I found some proxies that don't currently fill out velocity relevance.
These are pre-existing potential bugs for fixing in another pass.

#preflight 62863f789016c6dd897f1cd2
#fyi andrew.lauritzen

[CL 20279797 by Jeremy Moore in ue5-main branch]
2022-05-19 10:08:15 -04:00
Sebastien Hillaire
65733c97e8 Fixed cables not rendering depth correctly when dynamically moved around in scene (in editor of via blueprint).
This matches other bVelocityRelevance setup and behaves the same as in 4.27.
#rb none
#preflight none

[CL 20269249 by Sebastien Hillaire in ue5-main branch]
2022-05-18 17:57:25 -04:00
fred kimberley
7fbfaf57c8 Require explicit constructors/casts when converting between FVector, FVector3d, and FVector3f.
#jira UE-122078
#rb Andrew.Davidson, Colin.McGinley
#preflight standard build

#ROBOMERGE-AUTHOR: fred.kimberley
#ROBOMERGE-SOURCE: CL 18817999 in //UE5/Release-5.0/... via CL 18818012 via CL 18822871
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18824721 by fred kimberley in ue5-main branch]
2022-02-02 07:59:31 -05:00
andrew davidson
60a1fa84a7 Fix FVector2D variant casts - Plugins
Submitted on behalf of fred.kimberley
#rb andy.davidson
#preflight 61f86c4ca6632a34f35dfbca

#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18800855 in //UE5/Release-5.0/... via CL 18802061 via CL 18802724
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18810177 by andrew davidson in ue5-main branch]
2022-02-01 12:08:54 -05:00
juan canada
8d9bff1842 Fixed flickering due a race condition in the cable component
#rb mihnea.balta
#jira UE-137801
#preflight 61eaab6b445cebac10c004d1

#ROBOMERGE-AUTHOR: juan.canada
#ROBOMERGE-SOURCE: CL 18688345 in //UE5/Release-5.0/... via CL 18688351 via CL 18688357
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18688363 by juan canada in ue5-main branch]
2022-01-21 07:57:14 -05:00
ola olsson
96d92b7e56 Fix cable component bounds calculation by transforming points to local space.
#rb Graham.wihlidal
#jira UE-109120

#ROBOMERGE-SOURCE: CL 15567604 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15567613 by ola olsson in ue5-main branch]
2021-03-02 05:54:58 -04:00
Marc Audy
9753392e2b Merge UE5/RES CL# 15462083 to UE5/Main
This represents UE4/Main @ 15414221

[CL 15463811 by Marc Audy in ue5-main branch]
2021-02-18 18:13:28 -04:00
Emil Persson
4516b985df Name all resources and make naming mandatory
#rb yuriy.odonnel, kenzo.terelst

[CL 15416919 by Emil Persson in ue5-main branch]
2021-02-16 08:37:39 -04:00
Zousar Shaker
3b4c8fc1c5 Automated wrapped object pointer upgrade for Engine + ShooterGame + ShooterGame referenced plugins
#rb none

[CL 15224650 by Zousar Shaker in ue5-main branch]
2021-01-27 17:40:25 -04:00
Emil Persson
72db809300 Replace legacy LockVertexBuffer()/LockIndexBuffer()/LockStructuredBuffer() calls with the unified LockBuffer()
#rb kenzo.terelst

[CL 14898308 by Emil Persson in ue5-main branch]
2020-12-10 11:51:32 -04:00
Marc Audy
7379fa99c5 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14229157
[CL 14233282 by Marc Audy in ue5-main branch]
2020-09-01 14:07:48 -04:00
Marc Audy
a7c9001a94 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14075166
#rb
#rnx

[CL 14075271 by Marc Audy in ue5-main branch]
2020-08-11 01:36:57 -04:00
Josh Adams
aa9705149b Copying Private-LoadTimes-4.24 stream to Main. Biggest changes are in Materials/Shader memory freezing.
#rb none

[CL 11282608 by Josh Adams in Main branch]
2020-02-06 13:13:41 -05:00
Marc Audy
360d078ca3 Second batch of remaining Engine copyright updates.
#rnx
#rb none

[CL 10871248 by Marc Audy in Main branch]
2019-12-27 09:26:59 -05:00
Rolando Caloca
aa0d2303d6 Copying //UE4/Dev-Rendering to Dev-Main (//UE4/Dev-Main) @ 6944469
#rb none
#rnx

[CL 6944849 by Rolando Caloca in Main branch]
2019-06-11 18:27:07 -04:00
JeanMichel Dignard
0f9ad96858 Copying //UE4/Dev-Enterprise @ cl 6890376 to Dev-Main (//UE4/Dev-Main)
#lockdown nick.penwarden
#rb none

[CL 6890764 by JeanMichel Dignard in Main branch]
2019-06-07 11:22:52 -04:00
mickael gilabert
4ba6888363 Base pass can output velocity data for moveable object with no static lighting, in forward and deferred rendering. This saves cpu draw call submission.
In base vertex and pixel shader pass, uniform variable OutputVelocityBuffer is tested to ouput or not velocity data
Configurable per project and/or per platform (r.BasePassOutputsVelocity)

#rb krzysztof.narkowicz
[FYI] anthony.bills


#ROBOMERGE-OWNER: mickael.gilabert
#ROBOMERGE-AUTHOR: mickael.gilabert
#ROBOMERGE-SOURCE: CL 5810274 via CL 5813280

[CL 5813281 by mickael gilabert in Main branch]
2019-04-09 17:05:01 -04:00
rolando caloca
2b8c415f74 UE4.22 - Remove almost all of ENQUEUE_UNIQUE_RENDER_COMMAND_TWOPARAMETER
#rb none
#jira
#rnx

#ROBOMERGE-OWNER: rolando.caloca
#ROBOMERGE-AUTHOR: rolando.caloca
#ROBOMERGE-SOURCE: CL 5054105 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5054376 by rolando caloca in Main branch]
2019-02-18 18:35:01 -05:00
Rolando Caloca
732810a13b DR - Copying //UE4/Dev-Main@4785067 to //UE4-DevRendering
#rb none
#rnx
#lockdown Marcus.Wassmer

[CL 4790611 by Rolando Caloca in Dev-Rendering branch]
2019-01-23 17:01:56 -05:00
Marcus Wassmer
fee98d3ca5 Merging //UE4/Dev-Main@4729937 to Dev-Rendering (//UE4/Dev-Rendering)
#rb none

[CL 4730169 by Marcus Wassmer in Dev-Rendering branch]
2019-01-15 18:30:06 -05:00
Marcus Wassmer
cbfcbbb93b Merging //UE4/Dev-Main@4662404 to Dev-Rendering (//UE4/Dev-Rendering)
#rb none
Should be just copyright updates

[CL 4680440 by Marcus Wassmer in Dev-Rendering branch]
2019-01-03 19:16:26 -05:00
Marcus Wassmer
b5d7db3689 Copying //UE4/Dev-Rendering-HLR@4650617 to Dev-Rendering (//UE4/Dev-Rendering)
#rb none

[CL 4651635 by Marcus Wassmer in Dev-Rendering branch]
2018-12-11 22:25:04 -05:00
Guillaume Abadie
c72b7a33d8 Merging //UE4/Dev-Rendering-Graph@4492585 to Dev-Rendering (//UE4/Dev-Rendering)
This implements the framework to write the high level rendering code into passes organized in direct acyclic graph. It is also unifying the uniform buffer, shader parameters, and pass parameters to same single API: structures with run time meta data. This allow high level user code be extremely seamless, user code debugging, and render graph ease of implementation and debugging.

Issue of collaborative work of Arne Schnober, Brian Karis, Daniel Wright, Marcus Wassmer and Guillaume Abadie.

Names of the graph managed resources are not final.

#rb Arne.Schnober, Brian.Karis, Daniel.Wright, Marcus.Wassmer

[CL 4492694 by Guillaume Abadie in Dev-Rendering branch]
2018-10-19 17:36:35 -04:00
michael lentine
a2f4e68348 Fix comments.
#rb none
#jira 58064

#ROBOMERGE-SOURCE: CL 4432789 in //UE4/Release-4.21/...
#ROBOMERGE-BOT: RELEASE (Release-4.21 -> Release-Staging-4.21)

[CL 4432793 by michael lentine in Staging-4.21 branch]
2018-10-05 14:23:47 -04:00
Aaron McLeran
6afdb03acc Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 4062005)
#lockdown Nick.Penwarden

============================
  MAJOR FEATURES & CHANGES
============================

Change 4005617 by Danny.Bouimad

	Fixing TM-AnimPhys lighting so it works on all platforms
	#jira UEENGQA-19924

Change 4014898 by Aaron.McLeran

	Adding simple delay feature

Change 4025071 by Lina.Halper

	Fix and more potential fix for invalid bone index issue

	http://crashreporter/Buggs/Show/2052839
	http://crashreporter/Crashes/Show/46656562

	#jira: UE-51931

Change 4042493 by Lina.Halper

	Fix issue with sequence evaluator to handle properly when jumps from end to front or front to end

	#jira: UE-58429

Change 4042892 by Lina.Halper

	Fix issue with being able to drag/drop montage onto anim track in sequencer
	#jira: UE-57863

Change 4043553 by Ethan.Geller

	#jira  UE-58340 Handle calls to FVoiceCaptureWindows::GetVoiceData outside of existing data calls. #rb none

Change 4043613 by Lina.Halper

	Fix issue with incorrect usage of staticclass

	#jira: UE-54413

Change 4044069 by James.Golding

	PR #4455: Add FAnimNode_StateMachine subclassing support. (Contributed by redfeatherplusplus)

	#jira UE-54599

Change 4044070 by James.Golding

	PR #4349: Final points on a line test were broken, changed Plane.PlaneDot to FM. (Contributed by DSDambuster)

	#jira UE-53554

Change 4044072 by James.Golding

	Add ENGINE_API to UPhysicsHandleComponent so it can be subclassed
	#jira UE-56397

Change 4044073 by James.Golding

	PR #4611: Expose a few API's so it's possible to make custom anim graph nodes using these objects. (Contributed by ill)
	#jira UE-57004

Change 4044075 by James.Golding

	PR #4618: Bugfix: typo in path for CustomMeshComponent (case error) (Contributed by malavon)
	#jira UE-57077

Change 4044077 by James.Golding

	Add ClassGroup to some components
	#jira UE-57587, UE-57609

Change 4044080 by James.Golding

	PR #4515: Adding API export macro to ACableActor (Contributed by maxtunel)
	#jira UE-55515

Change 4044082 by James.Golding

	Remove unused CopySkinnedModelData function
	#jira UE-57623

Change 4044083 by James.Golding

	Fix per-poly collision for skel meshes. Make sure to call UpdateKinematicBonesToAnim if bEnablePerPolyCollision is set, even if no bodies
	Integration of CL 3971421 from Release-4.19 stream
	#jira UE-56405

Change 4044084 by James.Golding

	Add option to preview 'fixed bounds' in SkelMesh editors.

Change 4044086 by James.Golding

	Remove unused RigidInfluenceIndex from CPU skinning code

Change 4044310 by James.Golding

	Roll back changes to make PhysX cool fails a log instead of warning (CL 3995372, UE-56466), now that content is fixed

Change 4044416 by Lina.Halper

	Provide BP interface to get curve list of names

	#jira: UE-52623

Change 4044419 by Lina.Halper

	added notification for updating pose asset

	#jira: UE-56233

Change 4046929 by Ethan.Geller

	#jira none add my developer folder to QAGame. #fyi dan.reynolds

Change 4047064 by Ethan.Geller

	[Dev-AnimPhys] #jira UE-57890 add additional binaries for Steam Audio to LibPhonon.Build.cs. #rb none

Change 4047564 by Lina.Halper

	Fix issue of not regenerating when reimport mesh

	#jira: UE-58284

Change 4047630 by Ethan.Geller

	Fix syntax error in libPhonon. #jira none #rb none

Change 4048050 by Thomas.Sarkanen

	Allowed "Follow Bone" to be popped out of the menu into the viewport

	This allows for quick re-selection of the bone to follow, avoiding multiple clicks
	Tweaks and extends the "pinned command list" system to allow dynamic text in labels and labels to be hidden.

	#jira UE-53070 - Follow bone - Follow selected bone

Change 4048064 by Thomas.Sarkanen

	Validate any bone references during compilation

	Bone references that are set to something other than NAME_None will be verified against the skeleton.
	Updated various anim nodes to call the base class ValidateAnimNodeDuringCompilation

	#jira UE-55680 - Anim graph nodes that use FBoneReference all need validation in ValidateAnimNodeDuringCompilation

Change 4048468 by James.Golding

	PR #4319: Allow UAnimNotify_PlayMontageNotify to be inherited by other dlls (Contributed by DSDambuster)
	#jira UE-53390

Change 4048470 by James.Golding

	Implement ApplyWorldOffset to CableComponent, to handle origin shifting
	#jira UE-53560

Change 4048471 by James.Golding

	PR #4396: fix cachebones for subclasses of FAnimNode_SkeletalControlBase (Contributed by tmiv)
	#jira UE-53799

Change 4048474 by James.Golding

	PR #4423: Rename confusing argument in LineBoxIntersection (Contributed by Hybrid0)
	#jira UE-54145

Change 4048485 by James.Golding

	Fix compile error display from PoseDriver node
	#jira UE-58306

Change 4048489 by James.Golding

	Finish support for ProceduralMeshComponent supporting multiple UV channels
	#jira UE-54049

Change 4048678 by Thomas.Sarkanen

	Allowing blend space samples to be optionally moved off-grid

	Grid samples are now each optionally snapped.

	#jira UE-56116 - Allow blend spaces to optionally use off-grid sample points

Change 4048773 by Lina.Halper

	Support pose factory with name input

	#jira: UE-55859

Change 4048844 by David.Hill

	Material Proxy Settings

	Updating the max on the material proxy texture size - old value could cause int32 overflow.

	#jira: UE-55441

Change 4049464 by Lina.Halper

	update curve is expensive, and we're doing multiple times with same curve sets. I'm changing it so that it only updates main, and copy from main instance to sub/post.

	#jira: UE-58459

Change 4050939 by Aaron.McLeran

	PR #4649: Activated reverbs will now take priority when world settings are used (i.e. no volume proxy is in use) (Contributed by Brandon-Wilson)

	#jira UE-57546

Change 4050954 by Aaron.McLeran

	PR #4594: Added class type to allow inherited versions of UAudioComponents to be created (Contributed by korypostma)

	#jira UE-56454

Change 4050960 by Aaron.McLeran

	Attempt to fix linux build.

Change 4051247 by James.Golding

	Fix ProcMeshComp UpdateSection not copying all UV sets
	Add test case for ProcMeshComp with multiple UVs

	#jira UE-54049

Change 4051250 by James.Golding

	Add bUseHighPrecisionTangentBasis option to SkeletalMesh
	Change SkeletalMesh source data to store tangents at higher precision
	#jira UE-58525

Change 4051616 by Thomas.Sarkanen

	Mass scale is no longer incorrectly clamped

	This now allows mass scales below 0.01 and above 100.

	#jira UE-49572 - MassScale has some edge cases for skeletal mesh component and small numbers

Change 4051619 by Thomas.Sarkanen

	Fixed notify drag/drop on high DPI displays

	#jira UE-55690 - Animation Notifies Do Not Move Past the Center of Timeline On a High DPI Display

Change 4051626 by Thomas.Sarkanen

	Fix anim dynamics debug rendering

	#jira UE-53902 - Anim Dynamics node is missing wireframe simulation box in preview
	#jira UE-57983 - GitHub 4674 : UE-57910 Fix the angular limits display issue while selecting the AnimDynamics node

Change 4051628 by Thomas.Sarkanen

	Constraints and bodies now rotate in their own local space in the physics asset editor

	When local coordinate system is applied

	#jira UE-50345 - rotating constraints or bodies in Phat with local axis

Change 4051634 by Thomas.Sarkanen

	Automatic rules for state transitions are now shown in tooltips

	#jira UE-57689 - Animation State Machine Transitions that use bAutomaticRuleBasedOnSequencePlayerInState, should indicate that in the transition

Change 4051636 by Thomas.Sarkanen

	NotifyTriggerChance is now hidden for nodify states as it has no effect

	#jira UE-55351 - NotifyTriggerChance should be grayed out for UAnimNotifyState

Change 4051669 by Thomas.Sarkanen

	Fixed accidental operation of pinned commands when closing them

	#jira UE-54051 - Unpinning settings will toggle the next setting

Change 4051671 by Thomas.Sarkanen

	Fix crash importing skeletal mesh with no vertices

	Not a fix for the jira, but found while investigating

	#jira UE-56330 - FBX Files Do Not Import After Using the Facial Anim Importer Unless Project is Reopened

Change 4051684 by James.Golding

	Fix high precision tangents when CPU skinning and mesh merging
	Remember bExistingUseHighPrecisionTangentBasis when re-importing SkelMesh
	#jira UE-58525

Change 4051686 by James.Golding

	PR #4297: Output animation name with ensure() - useful when debugging (Contributed by DSDambuster)
	#jira UE-53259

Change 4051801 by Jurre.deBaare

	A BlendSpace that puts the same asset on samples can stop its own animation on Switch
	#fix Ensure that we don't cause divide-by-zero situations when sampling blendspace data
	#jira UE-54030

Change 4051806 by Jurre.deBaare

	Fix geometry cache reimport + serialization issues

Change 4051807 by Jurre.deBaare

	Currently, it's not possible to assigned a material to a Geometry Cache .uasset
	#fix EditAnywhere rather than VisibleAnywhere
	#jira UE-58212

Change 4051809 by Jurre.deBaare

	GeomCache: Crash/Bug: When importing file
	#fix Ensure that we have a valid first frame when trying to import a sequence, if not error-out
	#jira UE-58285

Change 4051813 by Jurre.deBaare

	GeomCache: Bug: Normals Broken
	#jira UE-58287
	GeomCache - Normals are Bad on Import
	#jira UE-58283
	#fix ensure that we triangulate mesh attributes when necessary

	#misc per-attribute indices check

Change 4051816 by Jurre.deBaare

	Alembic QOL
	- Fix issue with reimport object flags not being applied
	- Now also store sampling data as part of Alembic asset import data

Change 4051817 by Jurre.deBaare

	PR #4550: Fixes bug where "Merge Actors" or HLOD proxies result in too many mesh sections (Contributed by trond)
	#fix Integrated pull-request in different form
	#jira UE-55976

Change 4051818 by Jurre.deBaare

	Emissive isn't baked correctly in TM-MeshbakeMap
	#fix ensure that we OR and Max the material flags and emissive scale
	#jira UE-54889

Change 4051819 by Jurre.deBaare

	Crash on project load when GeometryCache plugin is disabled
	#fix No longer force-load the geometry cache module as it was moved to be a plugin
	#jira UE-57875

Change 4051820 by Jurre.deBaare

	CLONE - Editor crash when Propagating Vertex Colors to Asset's source mesh
	#fix IsValidIndex check
	#jira UE-57127

	Vertex painting

Change 4051828 by Jurre.deBaare

	Merging negative-scaled actors breaks materials
	#fix Make sure we also reverse the section indices when a static mesh has a mirrored transform
	#jira UE-56953

Change 4051834 by Jurre.deBaare

	Unclear warnings when generating clusters in persistent level when sublevels have HLOD disabled
	#fix improved warning text + added uobject link to level in content browser
	#jira UE-55734

Change 4051993 by Jurre.deBaare

	Update Alembic automated test ground truth

	#jira none

Change 4052937 by James.Golding

	Remove now-unused version (merged change to skel source data from Main instead)

Change 4053291 by Aaron.McLeran

	Fix for CIS

	#jira none

Change 4053375 by Aaron.McLeran

	#jira UE-58716 Allow ability to bypass volume-weighting with using sound wave priority

Change 4057170 by Thomas.Sarkanen

	Fix shadow variable warning

	#jira UE-58806 - Linux: Shadow Variable Warnings building Editor - PhysicsAssetEditorEditMode.cpp

Change 4057653 by Lina.Halper

	Fix the issue with showing same item multiple times when opening control rig blueprint many times

	#jira: UE-58107

Change 4057701 by Jurre.deBaare

	//UE4/Dev-AnimPhys - Step 'Run Automated Tests' has completed with 13 Errors
	#fix reupdate alembic ground truths, little bit of a weird state
	#jira UE-58818

Change 4057710 by Ethan.Geller

	[Dev-AnimPhys] #jira UE-58004 Early exit if finish was called before StartSubmixRecording. #rb Aaron.McLeran

Change 4059295 by Ethan.Geller

	#jira UE-58004 Reduce logs from fatal to error, fix serialize crash. #rb aaron.mcleran

Change 4061061 by Aaron.McLeran

	Fixing animphys build from recent merge from main.

	#jira UE-58909

Change 4053154 by Aaron.McLeran

	#jira UE-58708 Fix to mic component to reduce clicks/pops on mic input.

	Fix was to simplify the way audio is copied from mic input. This change was used on the GDC demo floor for a number of features.

[CL 4062611 by Aaron McLeran in Main branch]
2018-05-09 18:45:58 -04:00