Commit Graph

72 Commits

Author SHA1 Message Date
pere rifa
7277d848c1 [Mutable] Reuse textures between LODs when using AutoLODs from mesh
#rnx
#rb jordi.rovira
#rb alexei.lebedev

[CL 25402615 by pere rifa in ue5-main branch]
2023-05-10 08:29:50 -04:00
pere rifa
05693316de [Mutable] Add per surface BoneMaps to reduce the required bones per section on the final mesh.
+ Addapt MutableMeshPreviewUtils and related classes to use the new BoneMaps structure.
+ Remove the need to specify a reference skeletal mesh to generate the meshes in the debugger.
+ Fix MutableMeshViewport FOV.
+ Change the naming of some variables to follow the UE standards.

#rnx
#rb jordi.rovira

[CL 25402031 by pere rifa in ue5-main branch]
2023-05-10 07:27:16 -04:00
gerard martin
769e4c253a [Mutable] Fix mutable.StreamingCacheMemory 0 case.
[REVIEW] [at]jordi.rovira
[FYI] [at]genis.sole
#rnx

[CL 25385400 by gerard martin in ue5-main branch]
2023-05-09 07:39:18 -04:00
jordi rovira
3e18196b21 [mutable] Support texture references in the core.
#rnx
[REVIEW] [at]alexei.lebedev
[REVIEW] [at]pere.rifa
#preflight 644a7512693defa68d5eacb7

[CL 25238804 by jordi rovira in ue5-main branch]
2023-04-28 15:57:31 -04:00
daniel broder
3f1d475f05 Fixed compile error in non-Editor builds.
#UE5

[CL 25219903 by daniel broder in ue5-main branch]
2023-04-27 14:07:44 -04:00
daniel broder
4cedc533f6 Added logging an Error to UCustomizableObjectSystem::AddUncompiledCOWarning, and also added an optional parameter for the caller to add more info to the log (so we can easily log the source of the call to figure out what is being called that is trying to use a CO that hasn't been compiled yet).
Created a private helper function FCustomizableObjectInstanceDescriptor::AddUncompiledCOWarning(...), which makes sure the System exists, is valid, and isn't being destroyed before calling to AddUncompiledCOWarning on the System.

SetIntParameterSelectedOption(FString ParameterName,...) now ensures and calls to AddUncompiledCOWarning (which logs an error, makes an on-screen display, and sends a notfiication in Editor) if the CO that the descriptor is associated with is not compiled.  If it is compiled, but the named parameter is not found, it ensures (in non-shipping builds only) and logs an error (in all builds).

SetIntParameterSelectedOption((const int32 IntParamIndex, ...) now also ensure and calls AddUncompiledCOWarning  as the string version does if its CO is not compiled.  If it is compiled, but the IntParamIndex is invalid, it logs an error and bails.

(We should make similar ensure/logging changes to all other parameter type setters.
 I'll investigate that in the near future.)

#RB Joel.Anderson, Pere.Rifa



#UE5

[CL 25219708 by daniel broder in ue5-main branch]
2023-04-27 14:01:55 -04:00
alexei lebedev
3219e7149e [FYI] [at]henry.falconer, [at]ricard.rovira
#rnx

[CL 25211778 by alexei lebedev in ue5-main branch]
2023-04-27 05:10:23 -04:00
jordi rovira
61ca16c911 [mutable] Remove parameter decorations. Restore parameter relevancy calculations.
#rnx
[REVIEW] [at]gerard.martin
[REVIEW] [at]ricard.rovira
#preflight 644792c8773f23812d7d14d4

[CL 25177733 by jordi rovira in ue5-main branch]
2023-04-25 06:07:49 -04:00
alexei lebedev
ea35c16644 [FYI] [at]todd.eckert
#rnx

[CL 25174975 by alexei lebedev in ue5-main branch]
2023-04-24 22:59:10 -04:00
gerard martin
a66f50f3a9 [Mutable] Fix incorrect Task scope.
#rnx

[CL 25018248 by gerard martin in ue5-main branch]
2023-04-12 19:01:48 -04:00
gerard martin
9127ca710a [Mutable] Added new UpdateSkeletalMesh functoin with result callback.
Allows the user to know when an update has finished.

- Created a new UpdateSkeletalMeshAsync delegate which allways calls the Callback, even if there is an error.
- Added a common en point to the update process (EndUpdate).
- Minor simplifications of the update flow.
- Fixed the update result. No longer depends on the SkeletalMeshStatus flag.
- Removed unused functions.
- Removed unused InstanceUpdated.

[REVIEW] [at]alexei.lebedev, [at]pere.rifa
[FYI] [at]joel.anderson
#rnx

[CL 24956577 by gerard martin in ue5-main branch]
2023-04-06 16:56:51 -04:00
henry falconer
e8e58b00dd First version of Mutable extension API
#rb jordi.rovira,gerard.martin
#preflight 642d54a6c6769c6082c090ca

[CL 24928760 by henry falconer in ue5-main branch]
2023-04-05 11:20:44 -04:00
jordi rovira
f3bc7f440e [mutable] code cleanup to ease backports.
#rnx
#preflight 642bc979f376ab43d25985a3
[REVIEW] [at]gerard.martin

[CL 24908041 by jordi rovira in ue5-main branch]
2023-04-04 06:06:06 -04:00
gerard martin
d2faad9b5b [Mutable] Improved System tasks CPU scopes.
[FYI] [at]pere.rifa
#rnx

[CL 24760290 by gerard martin in ue5-main branch]
2023-03-23 08:20:51 -04:00
gerard martin
dfbb46c9df [Mutable] Fix mutable.ClearStreamingCacheOnUpdateEnd CVar typo.
[FYI] [at]alexei.lebedev
#rnx

[CL 24686454 by gerard martin in ue5-main branch]
2023-03-17 07:19:57 -04:00
gerard martin
05723aeb7f [Mutable] Fix clear cache modifying the Disable Image cache CVar.
- Fix compilation error non-editor targets.

[FYI] [at]alexei.lebedev, [at]max.garcia
#rnx

[CL 24686120 by gerard martin in ue5-main branch]
2023-03-17 06:25:19 -04:00
gerard martin
9384ff86f0 [Mutable] Added CVar to disable Image Cache.
[REVIEW] [at]alexei.lebedev, [at]max.garcia
#rnx

[CL 24686101 by gerard martin in ue5-main branch]
2023-03-17 06:24:34 -04:00
alexei lebedev
cd8f9f5723 #rnx
[CL 24673825 by alexei lebedev in ue5-main branch]
2023-03-16 13:03:00 -04:00
alexei lebedev
440517e565 #rnx
[CL 24652683 by alexei lebedev in ue5-main branch]
2023-03-15 07:39:39 -04:00
gerard martin
d36615f9d8 [Mutable] Fix wrong CVar mutable.StreamingCacheMemory description.
[REVIEW] [at]alexei.lebedev
#rnx

[CL 24633288 by gerard martin in ue5-main branch]
2023-03-14 07:59:06 -04:00
alexei lebedev
3c8371a31f #rnx
[CL 24589185 by alexei lebedev in ue5-main branch]
2023-03-10 05:20:20 -05:00
jordi rovira
20c8d3ef36 [mutable] Initial implementation of code execution heuristic to minimize memory usage.
Extended option that controls per-state texture compression, to support uncompressed textures when no runtime parameter is used.
Removed deprecated operation "MeshSubtract".
Removed unused NodeObjectState.
#preflight 640839b58c0039bbf7151c88
#rnx

[CL 24556449 by jordi rovira in ue5-main branch]
2023-03-08 04:37:54 -05:00
gerard martin
3f569672e3 [Mutable] Empty the Streaming CacheCore once the generation has completed.
- Renamed b.MutableStreamingMemory CVAR.

[REVIEW] [at]alexei.lebedev, [at]jordi.rovira
#rnx

[CL 24543033 by gerard martin in ue5-main branch]
2023-03-07 12:43:38 -05:00
alexei lebedev
c16b8a7b5d #rnx
[CL 24525443 by alexei lebedev in ue5-main branch]
2023-03-06 13:06:53 -05:00
gerard martin
4c7cc7a10c [Mutable] Fix recurrent warning due to a null world.
[REVIEW] [at]alexei.lebedev
#rnx

[CL 24522649 by gerard martin in ue5-main branch]
2023-03-06 10:30:12 -05:00