Commit Graph

180 Commits

Author SHA1 Message Date
Andrew Davidson
3ddc3a4da3 Merge up from //UE5/Dev-LargeWorldCoordinates
#rb none

[CL 16211417 by Andrew Davidson in ue5-main branch]
2021-05-05 15:07:25 -04:00
charles bloom
a5ee4d69bf remove duplicate Color::ComputeLuminance , use GetLuminance
also fix bug in ProxyLOD AverageColor , iterating on Size instead of 4

#rb none

[CL 16047335 by charles bloom in ue5-main branch]
2021-04-18 13:54:06 -04:00
charles bloom
6331ae849c remove MemStack constructor with unused int argument
#rb none
#fyi yuriy.odonnell

[CL 16047263 by charles bloom in ue5-main branch]
2021-04-18 13:06:22 -04:00
Matt Peters
10a3e11b48 #jira UE-110028
SplitTriangleList: Fix loop conditions to avoid off-by-one dereference of end of the list.
#rb Kriss.Gossart
#rnx

[CL 15802956 by Matt Peters in ue5-main branch]
2021-03-24 13:13:04 -04:00
brandon schaefer
efe06157fe Fix Embree logic, shared libraries should be in Engine/Binaries, moving Linux parts there for now
#jira UE-111648
#rb none
[FYI] Michael.Sartain

#ROBOMERGE-SOURCE: CL 15782584 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v783-15756269)

[CL 15789900 by brandon schaefer in ue5-main branch]
2021-03-23 21:45:07 -04:00
brandon schaefer
e5a6e1c46e Fix incorrect depends path
#jira UE-111809
#rb none

#ROBOMERGE-SOURCE: CL 15776980 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v783-15756269)

[CL 15787257 by brandon schaefer in ue5-main branch]
2021-03-23 19:02:07 -04:00
brandon schaefer
b27335de45 Avoid copying libtbb.so for Linux and just depend on its actual location
#jira UE-111677
#rb Danny.Couture

#ROBOMERGE-SOURCE: CL 15763818 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v783-15756269)

[CL 15773817 by brandon schaefer in ue5-main branch]
2021-03-23 05:30:10 -04:00
Brandon Schaefer
e7f8b29c59 Build Embree for Linux
#jira none
#rb none
[FYI] Michael.Sartain, Will.Damon

#ROBOMERGE-OWNER: Brandon.Schaefer
#ROBOMERGE-AUTHOR: brandon.schaefer
#ROBOMERGE-SOURCE: CL 15750544 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v781-15675533)
#ROBOMERGE-CONFLICT from-shelf

[CL 15754096 by Brandon Schaefer in ue5-main branch]
2021-03-20 06:46:36 -04:00
Sebastien Lussier
d52aa4ee35 #jira UTA-694, UE-24337, UE-39611, UE-21840, UT-1713
kDOPTree - Fix lost precision in mean/variance computation when accumulating using a float
Would end up crashing with an OoB access as the code would put all triangles on the left of the splitting plane, which was not expected

Also optimized SplitTriangleList() to avoid going through the triangle list 6x...
#rb richard.malo

[CL 15388280 by Sebastien Lussier in ue5-main branch]
2021-02-11 12:01:01 -04:00
Josh Adams
b0e4357576 - UBT Code changes to remove 32-bit Windows support (C++ code for 32-bit still exists)
#rb marc.audy (concept, not each file)

[CL 15265424 by Josh Adams in ue5-main branch]
2021-01-31 15:09:58 -04:00
Marc Audy
bc88b73a29 Merge Release-Engine-Staging to Main @ CL# 15151250
Represents UE4/Main @ 15133763

[CL 15158774 by Marc Audy in ue5-main branch]
2021-01-21 16:22:06 -04:00
Andrew Davidson
9313e569b2 Double math ambiguity Engine further fixes
#rb trivial

[CL 14975276 by Andrew Davidson in ue5-main branch]
2021-01-04 11:19:23 -04:00
Andrew Davidson
10bca5261b Double math ambiguity Engine fixes
#rb jeanfrancois.dube, trivial

[CL 14974758 by Andrew Davidson in ue5-main branch]
2021-01-04 07:59:22 -04:00
Marc Audy
ada7c144fa Merge //UE5/Release-Engine-Staging @14903491 to //UE5/Main
[CL 14906022 by Marc Audy in ue5-main branch]
2020-12-11 14:21:20 -04:00
christopher waters
4102ce0311 Removing unused d3d9 code from Lightmass
#jira none
#rb zach.bethel

[CL 14891025 by christopher waters in ue5-main branch]
2020-12-09 15:44:05 -04:00
Uriel Doyon
b9444f338f Added support for UVolumeTexture and UTexture2DArray streaming.
Texture 2D array streaming is implemented through FTexture2DArrayMipAllocator_Reallocate
Volume texture streaming is implemented through FVolumeTextureMipAllocator_Reallocate.
New generic stream out implementation in FTextureStreamOut.

Fixed different issues in FTexture2DMipDataProvider_IO relatively to optional bulks and IO errors.

Added UTexture::GetSurfaceDepth() for 3d textures.
Added UTexture::GetSurfaceArraySize() for array textures (where cubemaps return 6).

Moved UTexture2D::CancelPendingTextureStreaming() and UTexture2D::LevelIndex to UTexture.

Renamed UTexture2DArray::GetNumSlices() to UTexture2DArray::GetArraySize().

Fixed missing "virtual" keyword in base class UTextureMipDataProviderFactory.

Updated the texture editor UI so that it shows Texture2DArray array sizes and Texture3D depth.
Unified the UI for cubemaps so that it shows as an array with size 6.

Reimplemented "LODGroups" command to make it coherent with latest changes.

#rb jian.ru, danny.couture, matt.peters
#fyi mihnea.balta
#jira 	UE-97975, UE-81395, UE-102061, UE-84427

[CL 14832616 by Uriel Doyon in ue5-main branch]
2020-12-01 20:32:18 -04:00
zach bethel
984e70e61a Fix for lightmass assert in debug mode.
#rb none
#jira none
#rnx

[CL 14589909 by zach bethel in ue5-main branch]
2020-10-27 13:47:32 -04:00
Marc Audy
50a3d7d368 Merge Release-Engine-Staging to Main @ CL# 14467590
This represents UE4/Main @ 14432125 + some cherrypick fixes

[CL 14468207 by Marc Audy in ue5-main branch]
2020-10-09 22:42:26 -04:00
Marcus Wassmer
3b81cf8201 Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
autoresolved files
#rb none

[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -04:00
Marc Audy
11f5b21210 Merging //UE5/Release-Engine-Staging @ 13752110 to Main (//UE5/Main)
#rnx

[CL 13753156 by Marc Audy in ue5-main branch]
2020-06-23 18:40:00 -04:00
Arne Schober
ee6d0ecb20 M - More renameing the Octree to Octree2 in preparation to add a deprecation for the original class
#RB

[CL 12972489 by Arne Schober in Main branch]
2020-04-21 23:23:12 -04:00
Arne Schober
61bf307e6e M - Rename the Octree to Octree2 in preparation to add a deprecation for the original class
#RB

[CL 12965782 by Arne Schober in Main branch]
2020-04-21 20:01:52 -04:00
yujiang wang
88042f236e Fix Lightmass backface detection to also consider two sided materials
#rb none
#jira none

#ROBOMERGE-SOURCE: CL 12131786 in //UE4/Release-4.25/... via CL 12131816
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v659-12123632)

[CL 12140391 by yujiang wang in Main branch]
2020-03-11 17:10:19 -04:00
yujiang wang
a740a15017 Lightmass: revert the lighting cache sample radius change as it is causing entries in thin walls to leak outside due to their radius being larger than the thickness of the wall
#rb none
#jira none

#ROBOMERGE-SOURCE: CL 11938419 in //UE4/Release-4.25/... via CL 11938514
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v656-11643781)

[CL 11938594 by yujiang wang in Main branch]
2020-03-05 12:15:09 -05:00
danny couture
d933c46f89 All thirdparties are also using latest IntelTBB binaries on all platforms
- Removed all IntelTBB binaries from thirdparties
 - Compiled missing binaries in official IntelTBB folder

Tested on Linux/Mac/Windows

#rnx
#jira UEENT-3378
#rb Jean-Michel.Dignard

#ROBOMERGE-SOURCE: CL 11858075 in //UE4/Release-4.25/... via CL 11858101
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v656-11643781)

[CL 11858115 by danny couture in Main branch]
2020-03-03 07:24:02 -05:00