Commit Graph

37 Commits

Author SHA1 Message Date
Uriel Doyon
ac9896ad80 Reversed Index Buffers. Depth only render pass now use the unified mesh when possible.
Can be disabled per staticmesh through the lod settings : "Build Reversed Index Buffer".
Can be dynamically toggled with command "ToggleReversedIndexBuffers".
#code_review: Brian.Karis

[CL 2687313 by Uriel Doyon in Main branch]
2015-09-10 19:22:12 -04:00
Joe Tidmarsh
d22d55ff18 [UE-19897] Continued. Added Static Mesh support. Sections can now be isolated in the Static Mesh Editor.
[CL 2675261 by Joe Tidmarsh in Main branch]
2015-09-01 07:17:25 -04:00
Andrew Rodham
1bb27e3999 Added customization for FAssetImportInfo
- FAssetImportInfo is now marked as USTRUCT and is stored as a member value on UAssetImportData rather than using inheritance. This makes customization writing much easier and better affords UObject interoperability.
 - Removed UAssetImportData::bDirty as it was only every used to enable/disable a button on the static mesh editor, and its presence caused confusion and inconsistency.
 - Fixed issue where timestamps did not get updated correctly
 - Fixed various reimport paths that were not updating their source file information correctly.

This addresses UETOOL-466 and UE-16406.

[CL 2646395 by Andrew Rodham in Main branch]
2015-08-06 10:04:50 -04:00
Richard TalbotWatkin
b020a0a318 Cancelling at the prompt to change LOD Group in the Static Mesh Editor now no longer changes the LOD group.
#jira UE-18325 - LODGroup in Static Mesh not properly set when cancelling confirmation

[CL 2626008 by Richard TalbotWatkin in Main branch]
2015-07-20 12:37:44 -04:00
Michael Noland
c8662fa435 Editor: Added responsive crushing of the XYZ labels and margin in property editor vector/rotator rows, allowing them to be editable at much lower widths
[CL 2620995 by Michael Noland in Main branch]
2015-07-14 17:48:50 -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
Matt Kuhlenschmidt
354227ac28 Add back in option to toggle MikkTSpace tangent space generation for static meshes
[CL 2519373 by Matt Kuhlenschmidt in Main branch]
2015-04-21 11:52:55 -04:00
Richard TalbotWatkin
e4d8d2d765 Fixed out of range array access for LOD Group names if LOD group not found.
#jira UE-12853 - Crash after Deleting Static Mesh LOD Group from BaseEngine.ini

[CL 2517579 by Richard TalbotWatkin in Main branch]
2015-04-20 10:31:58 -04:00
James Golding
72fa7c6508 Use new VHACD library for generating auto convex collision (only enabled on windows until other platforms can test)
#codereview ori.cohen, ben.marsh, michael.trepka, mark.satterthwaite, dmitry.rekman

[CL 2495503 by James Golding in Main branch]
2015-03-30 07:26:43 -04:00
Daniel Wright
90ae7ae647 Integrate - MinLOD setting for static mesh assets and an override on components
* Not yet implemented for foliage

[CL 2466523 by Daniel Wright in Main branch]
2015-03-02 13:07:20 -05:00
Richard TalbotWatkin
0100630a35 Fixed issue where LODs were deleted when changing the LOD group in the static mesh editor.
#jira UE-9102 - Setting LOD Group for Foliage wipes previous LOD data

[CL 2440040 by Richard TalbotWatkin in Main branch]
2015-02-10 13:26:36 -05:00
Daniel Wright
2b81899c19 Added support for DistanceFieldReplacementMesh under BuildSettings
[CL 2417950 by Daniel Wright in Main branch]
2015-01-24 17:10:19 -05:00
Nick Penwarden
1000b3f415 Use MikkTSpace as the default method for computing tangent space on static meshes.
[CL 2384616 by Nick Penwarden in Main branch]
2014-12-10 18:43:54 -05:00
Nick Darnell
90e793745c Slate - ESlateCheckBoxState has been renamed to ECheckBoxState.
[CL 2384008 by Nick Darnell in Main branch]
2014-12-10 14:24:09 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Cody Haskell
36d460dd90 #UE4
- Fixing compile error

[CL 2373862 by Cody Haskell in Main branch]
2014-12-02 12:32:41 -05:00
Nick Penwarden
b4ce93c93d Support for using MikkTSpace to compute tangent bases for static meshes. Currently off by default, must be enabled with r.MikkTSpace=1 until tested on existing art content.
[CL 2373808 by Nick Penwarden in Main branch]
2014-12-02 11:42:29 -05:00
Jamie Dale
f440490671 Converted the property editor to use FText
The display name, filter string, and tooltips for the property editor (and associated detail customizations) are now stored as FText rather than FString. This allows us to remove SLATE_TEXT_ARGUMENT from the detail customization widgets.

[CL 2372595 by Jamie Dale in Main branch]
2014-12-01 11:19:41 -05:00
Brian Karis
d285b406f3 fixed bug with bad src channel for auto lightmap UVs
[CL 2358654 by Brian Karis in Main branch]
2014-11-13 13:19:52 -05:00
Wes Hunt
31e2bb00ac Removed a bunch of stuff from Slate standard include, created SlateBasics.h
* Moved Slate.h into SlateBasics.h and began shifting less commonly used headers into SlateExtras.h.
* Slate.h now simply includes SlateBasics.h and SlateExtras.h.
* Slate.h includes a deprecated warning now to indicate that SlateBasics.h + specific includes should be used instead.
* Moved dozens of inlined functions using Slate widgets into .cpp files to avoid header dependencies.
* All code samples now include SlateBasics.h and SlateExtras.h so future shifts will not break most those projects, but not trigger the deprecation warning of including Slate.h.
#BUN

[CL 2329610 by Wes Hunt in Main branch]
2014-10-14 22:50:06 -04:00
Benn Gallagher
bcb59661de Fix to LOD screen sizes not working at small values, and delta shifting into negative values.
[CL 2300940 by Benn Gallagher in Main branch]
2014-09-17 09:45:51 -04:00
Brian Karis
9d26f950d0 Tore out D3DX generate UVs and the mesh editor tab for it.
[CL 2285473 by Brian Karis in Main branch]
2014-09-04 19:57:12 -04:00
Brian Karis
108371e776 Generate lightmap UVs on mesh import.
Moved layout UVs to static mesh build process.

[CL 2285439 by Brian Karis in Main branch]
2014-09-04 19:22:07 -04:00
Daniel Wright
f5238f04e1 Distance Field AO improvements
* Distance field building is now asynchronous and stored in the DDC separately from static mesh data.
* Added OcclusionMaxDistance and Contrast properties to Movable sky light
* Using the GBuffer normal instead of the generated distance field normal, fixes artifacts on two-sided materials and between modular pieces.  Also saves about .7ms / 4.5ms
* Points in the distance field are only considered 'inside' the mesh if > 50% of all rays traced hit a backface.  Most meshes can have a valid distance field generated with this heuristic.  Meshes without a distance field representation can receive occlusion.
* Fortnite two-sided foliage with world position offset animation works fine now
* Using the resulting bent normal for diffuse lighting, improves consistency in occluded corners
* Resulting bent normal is also used to occlude skylight specular using an approximate cone-cone intersection, prevents leaking where SSR is not available
* Fixed stationary skylights not getting lightmap mixing
* Reflection captures now work with the movable skylight, which adds its diffuse contribution to IndirectIrradiance so their lightmap mixing works
* Added new show flag to visualize mesh distance fields, which ray traces through the distance fields and gives a sense of their shape

[CL 2276435 by Daniel Wright in Main branch]
2014-08-28 13:54:31 -04:00
Andrew Brown
9678ba5a26 More modified analytics to include .Usage in the name
[CL 2244095 by Andrew Brown in Main branch]
2014-08-05 05:38:43 -04:00