Commit Graph

22 Commits

Author SHA1 Message Date
JeanMichel Dignard
84facd6d15 Copy from dev-enterprise cl 11097196
#rb none
#rnx

[CL 11099277 by JeanMichel Dignard in Dev-Tools-Staging branch]
2020-01-23 16:28:59 -05:00
ryan durand
471d972e62 Updating copyright for Engine Developer.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869240 via CL 10869516 via CL 10869902
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870584 by ryan durand in Main branch]
2019-12-26 15:32:37 -05:00
danny couture
f618e01190 Allow creation of RenderMeshDescription directly from BulkData/RawMesh when MeshDescription is not in memory
Clear MeshDescriptions sooner to reduce memory usage on datasmith import
   - 37.92 GB -> 26.70 GB Peak Working Set when importing DATASET-0008a
   - 66.04 GB -> 52.33 GB Peak Working Set when importing DATASET-0022a

#jira UE-64172
#rb Richard.Talbot-Watkins

#ROBOMERGE-SOURCE: CL 9755311 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v545-9751379)

[CL 9755316 by danny couture in Main branch]
2019-10-23 06:44:22 -04:00
JeanMichel Dignard
d4f0f4d3f2 Copying //UE4/Dev-Enterprise @ cl 9420543 to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 9420574 by JeanMichel Dignard in Main branch]
2019-10-04 13:11:45 -04:00
Chris Gagnon
8ab0638182 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) for 4.24
#rb none

[CL 9325047 by Chris Gagnon in Main branch]
2019-10-01 20:41:42 -04:00
Chris Gagnon
2e87118a18 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) Interim 4.24.
#rb none

[CL 8614014 by Chris Gagnon in Main branch]
2019-09-10 11:35:20 -04: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
Ben Marsh
7598af0532 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

[CL 4662404 by Ben Marsh in Main branch]
2018-12-14 13:41:00 -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
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
Richard TalbotWatkin
24a2a24011 New attribute array API.
Fixed some flaws in the original API, deprecated various methods, and introduced some new features.
- Now attribute arrays are accessed via TAttributesRef or TAttributesView (and corresponding const versions). These value types hold references to attribute arrays, and individual elements can be accessed by their element ID and attribute index. Using a value type is safer than the previous method which required assignment to a const-ref (and not doing so would take a temporary copy of the attribute array).
- The attribute set has been totally flattened, so all attributes of different types are added to the same container. This greatly improves compile times, prevents attributes from being created with the same name but different types, and permits the view feature.
- The class hierarchy has changed to have generic base classes where possible with no particular ElementID type. This reduces the code footprint by no longer generating nearly identical copies of templated methods.
- A TAttributesView allows the user to access an attribute array by the type of their choosing, regardless of its actual type. For example, the Normal attribute may be registered with type FPackedVector, but accessed as if it was an FVector. This allows us to move away from very strong typing, and instead transparently store attributes of a more efficient size, while the user is not affected.
- A transient attribute flag has been added, to denote that a particular attribute should not be saved.
#rb none

[CL 4226081 by Richard TalbotWatkin in Dev-Editor branch]
2018-07-20 18:58:37 -04:00
Alexis Matte
c4400128f5 Update the staticmesh LOD model max deviation when generating a LOD
#jira UE-60353
#rb none

[CL 4134543 by Alexis Matte in Dev-Editor branch]
2018-06-16 10:22:53 -04:00
Richard TalbotWatkin
9015f50d9e - 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

[CL 4118758 by Richard TalbotWatkin in Dev-Editor branch]
2018-06-07 16:22:56 -04:00
projectgheist
27ae5afdcb PR #4726: Update copyright notices to 2018. (Contributed by projectgheist)
#rb none
#lockdown Nick.Penwarden

[CL 4070389 by Ben Marsh in Main branch]
2018-05-14 07:48:19 -04:00
Alexis Matte
0c878e4e62 Fix automation tests warning, we always make sure there is no degenerate NTBs
#rb none
#jira UE-58071

[CL 4023424 by Alexis Matte in Dev-Geometry branch]
2018-04-23 18:11:15 -04:00
Alexis Matte
137e7dbf97 Degenerate polygons rejection during staticmesh import do not anymore mess the vertexinstance normals
Degenerate polygon rejection during staticmesh build is done has the first step when computing the render mesh
#rb none
#jira UE-57815

[CL 4006506 by Alexis Matte in Dev-Geometry branch]
2018-04-16 17:40:43 -04:00
Alexis Matte
23bb6528fa Fix old faceted meshes, bump version to ensure static mesh are rebuild build
- Add some normals and tangents tests but they are disable until the new compute tangents return the same value then the original FRawMesh code.
#rb none
#jira UE-56965

[CL 3973085 by Alexis Matte in Dev-Geometry branch]
2018-03-29 16:39:17 -04:00
Alexis Matte
c186cbd8b4 When StaticMesh build options are set to use the imported normals, we now use the imported normals to compute the tangents when using the builtin option.
#rb none
#codereview richard.talbotwatkin

[CL 3961006 by Alexis Matte in Dev-Geometry branch]
2018-03-22 20:14:49 -04:00
Alexis Matte
793a2b1fe1 Move Normals tangents creation in MeshDescription module, this will allow to share the code between editable mesh and staticmesh builder
#rb none
#codereview richard.talbotwatkin

[CL 3960212 by Alexis Matte in Dev-Geometry branch]
2018-03-22 16:02:58 -04:00
Matt Kuhlenschmidt
a02c4a86f6 Fix CIS
#rb none

[CL 3931019 by Matt Kuhlenschmidt in Dev-Geometry branch]
2018-03-07 09:10:20 -05:00
Alexis Matte
f158f6f053 Move MeshBuilder module from runtime to developper and make it editor only
#rb none

[CL 3914382 by Alexis Matte in Dev-Geometry branch]
2018-02-28 10:07:25 -05:00