Commit Graph

226 Commits

Author SHA1 Message Date
yujiang wang
13265758ac Fix various issues related to lightmap 2-texel padding not being considered
* UVs in lightmap density view were shifting after building lighting. Fixed by considering the padding even if lightmap data is invalid
* Auto generated lightmap UV was snapping charts to the whole padded lightmap instead of the actual valid center region. Fixed by subtracing 2 texels from the packing resolution
* Also fixed some merging conflicts of auto gen

#rb none
[FYI] brian.karis, daniel.wright
#jira UE-64923

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: yujiang.wang
#ROBOMERGE-SOURCE: CL 5320218 in //UE4/Release-4.22/... via CL 5337165
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 5402985 by yujiang wang in Dev-Core branch]
2019-03-14 17:41:06 -04:00
Arne Schober
b4186ca23a Strip Additional IndexBuffers from resources when not in use, which should save about 1MB when used on mobile.
#RB marcus.Wassmer
#JIRA 0

#ROBOMERGE-SOURCE: CL 5053015 in //Fortnite/Release-8.00/...

[CL 5063923 by Arne Schober in Main branch]
2019-02-19 12:17:54 -05:00
johan duparc
a79abfeef5 Copy of 4923653, 4923695 from //UE4/Dev-Enterprise:
UV packing issue for geometries with high chart count
#jira UE-69450
#jira UE-56602
#jira UE-56555
#jira UEENT-322
#rb JeanMichel.Dignard

#ROBOMERGE-SOURCE: CL 4923742 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 4923746 by johan duparc in Main branch]
2019-02-06 15:01:38 -05:00
Robert Manuszewski
cfa01c09c7 Merging //UE4/Dev-Main to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4731457 by Robert Manuszewski in Dev-Core branch]
2019-01-16 04:23:12 -05:00
Marc Audy
ab108c215e Copying to Dev-Main @ CL# 4688301
#rb
#rnx

[CL 4688816 by Marc Audy in Main branch]
2019-01-08 11:38:48 -05:00
Robert Manuszewski
1b802d6357 Merging //UE4/Dev-Main @ 4678276 to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4678810 by Robert Manuszewski in Dev-Core branch]
2019-01-03 12:12:16 -05:00
Chris Gagnon
8fc25ea18e Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4676797 by Chris Gagnon in Dev-Editor branch]
2019-01-02 14:54:39 -05:00
Robert Manuszewski
2752c82adc Merging //UE4/Dev-Main @ 4664414 to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4675693 by Robert Manuszewski in Dev-Core branch]
2019-01-02 00:55:51 -05:00
Robert Manuszewski
1685ed0b2e Merging //UE4/Dev-Main @ 4620382 to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4631078 by Robert Manuszewski in Dev-Core branch]
2018-12-04 23:30:42 -05:00
Steve Robb
3ecfe5151c TIndirectArray's placement new syntax deprecated, which can cause new/free or malloc/delete mismatches.
Also see UE-64535.

#rb martin.ridgers
#fyi luke.thatcher

[CL 4623722 by Steve Robb in Dev-Core branch]
2018-12-03 10:52:48 -05:00
Matt Kuhlenschmidt
cde8160913 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4572510 by Matt Kuhlenschmidt in Dev-Editor branch]
2018-11-16 11:15:08 -05:00
Ben Marsh
ea340d3fbf Copying //UE4/Fortnite-Staging to Dev-Main (//UE4/Dev-Main)
#rb none
#lockdown Nick.Penwarden

[CL 4567513 by Ben Marsh in Main branch]
2018-11-14 19:05:13 -05:00
Matt Kuhlenschmidt
46e3285149 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4543237 by Matt Kuhlenschmidt in Dev-Editor branch]
2018-11-06 10:00:36 -05:00
Robert Manuszewski
d299e8f501 Merging //UE4/Dev-Main @ 4506166 to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4506617 by Robert Manuszewski in Dev-Core branch]
2018-10-25 08:06:47 -04:00
Alexis Matte
479dd7f3ea Deprecate FRawMesh - ReductionInterface
#rb none
#jira UE-65679

[CL 4501468 by Alexis Matte in Dev-Editor branch]
2018-10-24 08:46:08 -04:00
alexis matte
c8b36e485e Add a fail safe to the old skeletal mesh legacy compute tangent.
#rb uriel.doyon
#jira UE-64981

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

[CL 4498897 by alexis matte in Staging-4.21 branch]
2018-10-23 13:41:17 -04:00
Josh Adams
4f63a76b48 - Changed compression methods to be an FName instead of hardcoded enum
- Added support for compression plugins
- Removed the Custom compression concept, now using plugins properly
- Modified UnrealPak to use FNames, and allow for multiple compression methods (fallbacks on error or unavailability, etc)
- Added project settings for compression method selection for UnrealPak, and additional settings to be passed to UnrealPak (for instance, to control compression size/speed, etc)
- Deprecated a bunch of old function calls
- Improved pak file "old format" reading ability
- Brought over some changes from Fortnite for pak file encryption and memory savings
- Implemented a parallel compression pull request (#4129) to speed up pak file compression
#jira UE-51294
#rb ben.marsh

[CL 4480944 by Josh Adams in Dev-Core branch]
2018-10-17 14:18:10 -04:00
Robert Manuszewski
02ba9f72df Merging //UE4/Dev-Main @ 4397329 to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4397828 by Robert Manuszewski in Dev-Core branch]
2018-09-26 08:22:54 -04:00
Marc Audy
af90b7bcd4 Copying //UE4/Fortnite-Staging to Dev-Main (//UE4/Dev-Main) @ 4395008
#rb
#rnx
#lockdown Nick.Penwarden

[CL 4395058 by Marc Audy in Main branch]
2018-09-25 10:11:35 -04:00
Stefan Boberg
05f5812994 Merging //UE4/Dev-Main to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4331703 by Stefan Boberg in Dev-Core branch]
2018-08-30 10:09:18 -04:00
Ben Marsh
1355dfdf18 Merging //UE4/Dev-Main to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4279990 by Ben Marsh in Dev-Core branch]
2018-08-13 12:56:17 -04:00
Yuriy ODonnell
2fce49e85a Moved duplicated code from MeshUtilities and MeshDescriptionOperations (FLayoutUV, FAllocator2D, FOverlappingCorners, etc.) into a new single module MeshUtilitiesCommon.
Add a generic opaque mesh view interface FLayoutUV::IMeshView to abstract mesh data access and allow FLayoutUV to be used with any mesh type in any module.
Replaced few instances of using an old version of overlapping corners data structure (multi-map) with new specialized FOverlappingCorners container.

#rb Alexis.Matte
#rb Brian.Karis

[CL 4242975 by Yuriy ODonnell in Dev-Editor branch]
2018-07-31 05:49:40 -04:00
Robert Manuszewski
5cfb721650 Merging //UE4/Dev-Main @ 4166795 to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4168931 by Robert Manuszewski in Dev-Core branch]
2018-06-28 02:30:53 -04:00
alexis matte
14381dbb88 Issue a warning to the user when skeletal mesh legacy "built in" build end up with zero or nan tangents.
#jira UE-59598
#rb arne.schober

#ROBOMERGE-SOURCE: CL 4155165 in //UE4/Release-4.20/...
#ROBOMERGE-BOT: RELEASE (Release-4.20 -> Release-Staging-4.20)
#ROBOMERGE-AUTHOR: alexis.matte

[CL 4155166 by alexis matte in Staging-4.20 branch]
2018-06-22 08:11:38 -04:00
richard talbotwatkin
96d7d9dbfc Copied from Dev-Editor CL 4118758
- Refactor to put UStaticMesh Mesh Descriptions in a separate object which is not loaded by default, but which can be requested when needed. This needs to be kept in sync with the number of SourceModel LODs.
- Various refactors to import/building.
- Changed UMeshDescription to FMeshDescription, and made its preferred semantics pass-by-reference rather than by pointer.
- Deprecated UMeshDescription.
#rb Alexis.Matte
#jira

#ROBOMERGE-SOURCE: CL 4135475 in //UE4/Release-4.20/...
#ROBOMERGE-BOT: RELEASE (Release-4.20 -> Release-Staging-4.20)
#ROBOMERGE-AUTHOR: richard.talbotwatkin

[CL 4135477 by richard talbotwatkin in Staging-4.20 branch]
2018-06-18 12:18:21 -04:00