Commit Graph

117 Commits

Author SHA1 Message Date
Chris Bunner
c77ffa6d2b Back out CL 2590014, was causing mesh import issues and initial fix being tackled a different way. UE-19657
[CL 2646423 by Chris Bunner in Main branch]
2015-08-06 10:50:03 -04:00
Dmitriy Dyomin
5d111828b1 Added: Lightmap resolution option for MeshProxy tool
Added: Missing tooltips to MeshProxy options

[CL 2646129 by Dmitriy Dyomin in Main branch]
2015-08-06 01:55:42 -04:00
Chris Bunner
0b998c8aab Made Mikk tangent generation aware of degenerate triangle import flags (default path optimization). UE-16783
[CL 2634966 by Chris Bunner in Main branch]
2015-07-27 22:02:16 -04:00
Dmitriy Dyomin
ce06d329db Added ability to merge physics data (collision primitives) for Actor Merging tool
UE-14879

[CL 2625671 by Dmitriy Dyomin in Main branch]
2015-07-20 06:21:15 -04:00
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
Matt Kuhlenschmidt
dfc73950da Bumped the max mesh material count warning value
[CL 2566907 by Matt Kuhlenschmidt in Main branch]
2015-05-27 13:07:17 -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
Marc Audy
1a12e9cffe Add a matching PRAGMA_ENABLE_SHADOW_VARIABLE_WARNINGS for PRAGMA_DISABLE_SHADOW_VARIABLE_WARNINGS instead of using basic PRAGMA_POP
[CL 2548029 by Marc Audy in Main branch]
2015-05-12 17:41:47 -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
Lina Halper
4a8cd06fd8 #HLOD
- Renamed DesiredBoundSize to DesiredBoundRadius - more clear and it implies sphere
- MergeSetting is now exposed if you decide not to simplify
- Shrink after all done so that we don't use that reserved mass memory

[CL 2530639 by Lina Halper in Main branch]
2015-04-29 15:19:13 -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