Commit Graph

273 Commits

Author SHA1 Message Date
Dmitriy Dyomin
dbc734dc7e Fixed: Merge Actors "place in world" option leaves original actors in world as children UE-15390
Fixed: World composition layers can be named the same UE-18678
Fixed: Level Details summon world composition tooltip is incorrect UE-18674
Added progress dialog to Actor Merging tool

[CL 2625493 by Dmitriy Dyomin in Main branch]
2015-07-19 22:57:16 -04:00
Jurre DeBaare
af4f3fd838 ADDED HierarchicalLodVolume, this volume defines a single cluster containing X num of actors for manual usage
ADDED UE-14356 HLOD: Print user friendly message if you try build and meshes don't have have LODs
ADDED MergeStaticMeshComponets to MeshUtilities needed for next CHANGE
ADDED HLOD preview build step for maps, this only builds the clusters for previewing the settings
ADDED SphereComponent now takes into account min and max drawing distances
ADDED Global forward declares and removed local ones from HierarchicalLOD.h
ADDED Visualization to LODActor class, uses USphereComponent to render its bounds
ADDED IsPreviewActor flag to LODActor class, if true during cluster generation DrawSphereComponents bounds will be used instead of LODActor's
ADDED vertex duplication removal on import
ADDED vertex/index buffer cache optimization on import
CHANGED World.h now forward declares HierarchicalLODBuilder to minimize (re)compile time
CHANGED While building/merging actors HLOD system now takes the orginal staticmesh from previously merged LODActors, this to enable retrieving the correct LOD per mesh (related to UE-15398)
CHANGED HLOD Cluster generation process, now takes into account HierarchicalLODVolumes to exclude actors from cluster generation
CHANGED Renamed CalculateRawMeshTangents to ExtractMeshDataForGeometryCache
FIXED Crash where a nullptr actor was added to actors list for > LOD0 clusters
FIXED Bound creation for actor within a cluster used FVector.Size(), now used FVector.AbsMax()
MOVED FLODCLuster structure into seperate header and cpp file

[CL 2617884 by Jurre DeBaare in Main branch]
2015-07-13 05:27:21 -04:00
Chris Bunner
9d7e916c82 Changed static mesh adjacency buffer generation from fixed 50k triangle limit to import option. UE-17556
[CL 2609199 by Chris Bunner in Main branch]
2015-07-02 11:29:34 -04:00
Dmitriy Dyomin
3f82c963a9 Added more material simplification options (constants, texture sizes) for LOD maps generation
UE-16826

[CL 2605108 by Dmitriy Dyomin in Main branch]
2015-06-30 01:11:32 -04:00
Dmitriy Dyomin
bc1c047c23 Mesh Merging: Lightmap channel index will always follow last vallid UV channel in case it does not override existing channel
Partial fix for UE-15319

[CL 2595161 by Dmitriy Dyomin in Main branch]
2015-06-22 05:28:38 -04:00
Jurre DeBaare
b83b0dc15c ADDED GeometryCache files
ADDED Support for importing GeometryCache assets from Alembic files
ADDED CalculateRawMeshTangets function that only calculates the tangents without building the RawMesh

[CL 2591762 by Jurre DeBaare in Main branch]
2015-06-18 06:59:14 -04:00
David Ratti
3920f8da3c [AUTOMERGE]
Increase limit on maximum size of index buffer sections to cache optimize
#codereview Brian.Karis

--------
Integrated using branch UE4-To-UE4-Orion (reversed) of change#2548128 by Marcus.Wassmer on 2015/05/12 18:35:46.

[CL 2590837 by David Ratti in Main branch]
2015-06-17 16:14:57 -04:00
Chris Bunner
8ff51ce5f7 Use previously imported/calculated tangents as initial value during skeletal fbx import smoothing step (better matches static behaviour). UE-16898
[CL 2590014 by Chris Bunner in Main branch]
2015-06-17 09:50:07 -04:00
Matt Kuhlenschmidt
c62dc3001a Added an option to not use MikkTSpace for tangent generation on import.
[CL 2587313 by Matt Kuhlenschmidt in Main branch]
2015-06-15 09:55:18 -04:00
Dmitriy Dyomin
75a817fba0 Fixed: HLOD ignores Build Scale when using Simplygon
UE-16327

[CL 2578085 by Dmitriy Dyomin in Main branch]
2015-06-04 23:44:52 -04:00
Matt Kuhlenschmidt
0712f1013e Removed experimental setting for large fbx file import. The improvements are always enabled now
Removed the limitation for how many materials a mesh can have.

[CL 2570812 by Matt Kuhlenschmidt in Main branch]
2015-05-29 14:09:53 -04:00
Martin Wilson
f067748902 Make sure ActiveBoneIndices is sorted on root lod when importing skeletal meshes
[CL 2548899 by Martin Wilson in Main branch]
2015-05-13 10:09:06 -04:00
Dmitriy Dyomin
50d5bf19de Fixed: Building HLOD assets warns that flag bUsedWithStaticLighting needs to be set
UE-15400

[CL 2546794 by Dmitriy Dyomin in Main branch]
2015-05-12 03:43:58 -04:00
Dmitriy Dyomin
30b0367133 Fixed: HLOD does not generate non-overlapping lightmaps UE-14609
[CL 2538672 by Dmitriy Dyomin in Main branch]
2015-05-06 00:36:28 -04:00
Lina Halper
6c9aca9e89 Log Material list before merging
#Code Review: Dmitriy.Dyomin

[CL 2532241 by Lina Halper in Main branch]
2015-04-30 14:10:51 -04:00
Dmitriy Dyomin
e417af4466 Fixed: Merge Actor tool overwrites multimaterial setup on static mesh LODs
UE-14650

[CL 2531437 by Dmitriy Dyomin in Main branch]
2015-04-30 02:26:01 -04:00
Dmitriy Dyomin
3f5bd10edb Material flattening functionality moved to a new module MaterialUtilities
[CL 2531273 by Dmitriy Dyomin in Main branch]
2015-04-29 22:39:01 -04:00
Dmitriy Dyomin
0b38a139e3 Exposed "Export specific LOD" to mesh merging dialog
Some cleanup for MeshMerging functionality

[CL 2526530 by Dmitriy Dyomin in Main branch]
2015-04-27 02:01:18 -04:00
Dmitriy Dyomin
edb085e6ad Fixed: Merge materails will no longer try to merge non-opaque materials
Fixed: Merge materials UV wrapping was changing UVs [1,1] to [0,0]
#codereview Lina.Halper

[CL 2523945 by Dmitriy Dyomin in Main branch]
2015-04-24 02:23:55 -04:00
Lina Halper
8299337c54 #HLOD: Fixed crash with merge actor feature
[CL 2523331 by Lina Halper in Main branch]
2015-04-23 16:57:37 -04:00
Lina Halper
9694602508 #HLOD
Fixed material flattening UV bug where input is out of range, it doesn't work.
Validated the input to be in the right range.

#code review: Dmitriy.Dyomin

[CL 2521700 by Lina Halper in Main branch]
2015-04-22 16:38:07 -04:00
Lina Halper
af44895190 #HLOD
- Added build of UseLOD
- This allows user to merge actor using certain LOD as base

#code review: Dmitriy.Dyomin

[CL 2521575 by Lina Halper in Main branch]
2015-04-22 15:37:32 -04:00
Lina Halper
c86a13f6ae #HLOD
- Made sure saving/loading works fine
- Packages are not created internally for merge actor if Outer exists - in this case, map
- It won't be visible in CB

#code review: Dmitriy.Dyomin

[CL 2521472 by Lina Halper in Main branch]
2015-04-22 14:57:46 -04:00
Lina Halper
72342224e2 #Fixed Merge Actor to use LongPackage Name for package name
#Code review: Dmitriy.Dyomin

[CL 2521359 by Lina Halper in Main branch]
2015-04-22 14:04:44 -04:00
Dmitriy Dyomin
d95b3b3ced Added support for material merging to actor merging utility (supports only opaque materials)
[CL 2518824 by Dmitriy Dyomin in Main branch]
2015-04-21 03:07:26 -04:00