Commit Graph

80 Commits

Author SHA1 Message Date
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
Jaroslaw Surowiec
beef593d5a Stats - Stats for async task running on the thread pool
[CL 2446649 by Jaroslaw Surowiec in Main branch]
2015-02-16 03:16:32 -05:00
Mikolaj Sieluzycki
a01571d213 Warning cleanup after limiting number of ways to construct UObjects.
#codereview Robert.Manuszewski

[CL 2429745 by Mikolaj Sieluzycki in Main branch]
2015-02-03 07:32:14 -05:00
Robert Manuszewski
e56a5b49ee Deprecating 'operator new' for UObjects.
[CL 2425600 by Robert Manuszewski in Main branch]
2015-01-30 08:30:03 -05:00
Brian Karis
40090403fd Large improvement to high poly mesh importing speed.
Disabled index buffer optimization when mesh has more than 50000 triangles. These won't be game meshes and the optimization time takes too long.

Also disabled adjacency buffer generation for high poly meshes. This would be better done as an import option.

[CL 2411296 by Brian Karis in Main branch]
2015-01-19 15:34:28 -05:00
Jaroslaw Surowiec
330c093072 Core - UE/UE-6813 - Confusing API: We have both FMemory::MemZero() and FMemory:Memzero()
[CL 2405765 by Jaroslaw Surowiec in Main branch]
2015-01-14 04:24:31 -05:00
Dmitriy Dyomin
79790f2ad9 Fixed crash during simplygon mesh proxy generation when one of the source meshes has no material
[CL 2400735 by Dmitriy Dyomin in Main branch]
2015-01-08 04:46:15 -05:00
Brian Karis
4f26cb8626 Fixed assert.
[CL 2400267 by Brian Karis in Main branch]
2015-01-07 16:46:35 -05:00
Lina Halper
ffb11d9481 Fixed importing Mixxamo Fuse characters with glitching
- Influence bones were imported when 0 weighted

[CL 2393322 by Lina Halper in Main branch]
2014-12-18 20:27:36 -05:00
Zak Middleton
e95939ba24 #ue4 - Convert all engine uses of GetComponents() to use TInlineComponentArray.
[CL 2393060 by Zak Middleton in Main branch]
2014-12-18 17:02:31 -05:00
Daniel Wright
57721a6245 Distance Field Global Illumination first working version
* Requires a Movable Skylight + 'r.DistanceFieldGI 1' + 'r.GenerateMeshDistanceFields' project setting enabled
* Provides a single bounce of Diffuse GI with bounce distance limited by OcclusionMaxDistance (default 6m)
* Virtual Point Lights are placed from the directional light by ray tracing the scene's distance fields, normal comes from SDF gradient
* Currently only placing 128*128 VPLs up to 40m from camera
* VPLs light irradiance cache samples using hemispherical disk light model, indirect shadowing is provided by the same cone traces used for Distance Field AO
* Irradiance is computed only at irradiance cache points (max every 8 pixels) and interpolated to the rest of the pixels
* Hardcoded half grey material color for now, and poor performance due to brute force VPL lighting

[CL 2390645 by Daniel Wright in Main branch]
2014-12-16 20:00:22 -05:00
Dmitriy Dyomin
f7f36d2253 LOD maps - option to save generated assets in separate packages
[CL 2385216 by Dmitriy Dyomin in Main branch]
2014-12-11 03:58:57 -05:00
Dmitriy Dyomin
e41302b468 Support spline meshes in Mesh proxy generation
UE-6299

[CL 2384878 by Dmitriy Dyomin in Main branch]
2014-12-10 21:38:56 -05:00
Dmitriy Dyomin
3edf9cb511 Landscape exports textures in correct color space UE-6379
Added export of landscape metallic maps and option for baking foliage into texture

[CL 2384871 by Dmitriy Dyomin in Main branch]
2014-12-10 21:33:56 -05:00