Commit Graph

93 Commits

Author SHA1 Message Date
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
Zak Middleton
f7ce2bd92a #ue4 - Change use of FTransform::TransformFVector4() to FTransform::TransformPosition() where possible. This is faster.
[CL 2518532 by Zak Middleton in Main branch]
2015-04-20 19:14:11 -04:00
Dmitriy Dyomin
fc0b0ed644 Fixed material flattening which was produced bad normal maps and base colors in some cases
Fixed mesh merging which was not transforming mesh normals

[CL 2515400 by Dmitriy Dyomin in Main branch]
2015-04-16 23:49:20 -04:00
Lina Halper
8b479e261f #HLOD: make it silence for mege actor
[CL 2514424 by Lina Halper in Main branch]
2015-04-16 12:03:01 -04:00
Marc Audy
a523efb225 Fix shadowed variables
[CL 2510461 by Marc Audy in Main branch]
2015-04-13 12:42:09 -04:00
Marc Audy
a509e739ad Fix shadow variables
[CL 2508945 by Marc Audy in Main branch]
2015-04-10 16:47:24 -04:00
Mike Fricker
114458bf0f Clang warning fixes: Fixed missing 'override' specifiers
- Also removed some unreferenced functions that adding 'override' revealed

PR #1002 -- Thank you, Omar007!

[CL 2498415 by Mike Fricker in Main branch]
2015-04-01 07:20:55 -04:00
Steve Robb
cebf099231 TArray::Init deprecated, as it's not obvious from the name that it leaves elements unconstructed.
TArray::Init use replaced with SetNumUninitialized.

#codereview robert.manuszewski

[CL 2495011 by Steve Robb in Main branch]
2015-03-28 06:38:28 -04:00
Dan Oconnor
195086b1a5 Changes from PVS-Studio, these could introduce small behavior change.
Consistent null checks, fixes for copy/pasted conditions, copy pasted LOCTEXT identifiers, comparisons against literals of the wrong type, missing return statements, dead code, and some system calls that were ignoring their return value

[CL 2494390 by Dan Oconnor in Main branch]
2015-03-27 16:11:50 -04:00
Dmitriy Dyomin
a4b5b39b13 Fixed typo in static mesh to rawmesh exporting
[CL 2493122 by Dmitriy Dyomin in Main branch]
2015-03-26 22:39:18 -04:00
Dmitriy Dyomin
cb66c3e290 Fixed: Material flattening produces black diffuse textures on some materails
UE-10959

[CL 2493119 by Dmitriy Dyomin in Main branch]
2015-03-26 22:34:53 -04:00
Dan Oconnor
f4d3d65662 PR #968: Fixing PVS-Studio warnings (Contributed by PaulEremeeff)
These can be generally described as removing redundant condition checks, using logical operators instead of bitwise operators, removal of redundant parenthesis, and consistent use of pragma push and pragma pop. There is very little observable behavior change in this CL.

Changes that required further review are pending in 2489753

[CL 2489804 by Dan Oconnor in Main branch]
2015-03-24 15:51:28 -04:00
Dmitriy Dyomin
e9ca3ac05b 'Merge Actors' utility merges mesh LOD elements
[CL 2487436 by Dmitriy Dyomin in Main branch]
2015-03-22 23:02:28 -04:00
Dmitriy Dyomin
9330029260 Fixed: Merge Actors utility always recomputes normals on source static meshes
UE-11461

[CL 2479774 by Dmitriy Dyomin in Main branch]
2015-03-15 23:47:43 -04:00
Dmitriy Dyomin
5675d35d97 Mesh proxy supports Metallic, Roughness, Specular material properties
Landscape export LOD uses MaxLOD from landscape actor by default
Sub-levels LOD generation will be still accessible when sub-level has landscape actor but user has no Simplygon available, in this case all geometry except landscape will be stripped

[CL 2476499 by Dmitriy Dyomin in Main branch]
2015-03-12 04:04:40 -04:00
Gil Gribb
35cf42566a UE4 - merge GDC branch, code @2465640 to main
[CL 2468685 by Gil Gribb in Main branch]
2015-03-04 08:31:40 -05:00
Rolando Caloca
5c5c184efd UE4 - Fix crash when Simplygon is not installed
[CL 2458690 by Rolando Caloca in Main branch]
2015-02-24 12:43:47 -05:00
Rolando Caloca
e463935a85 UE4 - Save generated LODs for static meshes
#codereview Nick.Penwarden

[CL 2454746 by Rolando Caloca in Main branch]
2015-02-21 13:20:31 -05:00