Commit Graph

21 Commits

Author SHA1 Message Date
gerard martin
acab6d3761 [Mutable] Fix Instance LOD being set to early in the update process.
- Fixed Min Max LOD being commited to late during the Instance update process.
- Fixed Min Max LOD not being specified when creating an Instance.

[REVIEW] [at]alexei.lebedev, [at]pere.rifa

[CL 23287187 by gerard martin in ue5-main branch]
2022-11-28 07:21:35 -05:00
genis sole
e458c83219 [mutable] optimizations for bone and physics reshape operations and other improvements.
-Physics reshape methods have been reimplemented to be more robust, add more sampling points and have a better method of extracting the shape characteristics from those points.
-Bind data that does not track orientation has it's own more compact data type.
-Physics mesh merging will only merge when necessary.
-Physics asset creation does not create a duplicate which is slow but creates a new asset and populate it with relevant data.

#preflight 637fab33337745090038df61

#rb jordi.rovira

[CL 23264729 by genis sole in ue5-main branch]
2022-11-25 05:57:54 -05:00
alexei lebedev
ab2ecd3c7a #rnx
[CL 23259387 by alexei lebedev in ue5-main branch]
2022-11-24 10:07:28 -05:00
alexei lebedev
3ae58b38d1 #rnx
[CL 23232636 by alexei lebedev in ue5-main branch]
2022-11-22 04:57:22 -05:00
alexei lebedev
31fb627b18 [FYI] [at]pere.rifa, [at]max.garcia, [at]gerard.martin, [at]rachael.thompson, [at]story.martin
#rnx

[CL 23102243 by alexei lebedev in ue5-main branch]
2022-11-11 14:11:45 -05:00
pere rifa
2264831f93 [Mutable] Reduce the amount of skeletons to merge to avoid bone collisions.
+ Fix CO compilation error when using group projectors.
+ Fix generation issues on low-end platforms when lower LODs are discarded.

#rnx
#rb jordi.rovira
#preflight 63651173de2c4dbb5dad12cd

[CL 23008941 by pere rifa in ue5-main branch]
2022-11-07 04:57:31 -05:00
gerard martin
a537149814 [Mutable] Added support for Multidimensional Texture Parameters.
- Extended the Instance/Descriptor api to support setting a UTexture2D directly as a Texture Parameter.

[REVIEW] [at]alexei.lebedev
[FYI] [at]devlin.willis
#rnx
#preflight 6363f7671052c15f1395b033

[CL 22985536 by gerard martin in ue5-main branch]
2022-11-04 09:18:44 -04:00
gerard martin
7f476f173d [Mutable] Instance update minor improvements.
- Fixed issue where the Instance Preview Viewport was not showing the correct message overlay.
- Merged DoUpdateSkeletalMesh and DoUpdateSkeletalMeshAsync.
- Converted known alwyas valid pointers to references.
- Removed DoUpdateSkeletalMesh bAsync parameter (always was checked against true).

[REVIEW] [at]alexei.lebedev, [at]pere.rifa
#preflight 6362741954471d10beed4260

[CL 22959164 by gerard martin in ue5-main branch]
2022-11-03 14:23:46 -04:00
gerard martin
e2a46be9a1 [Mutable] Split ReloadParametersFromObject.
- Split into two funcitons:
    - GetParameters: Creates a Core Parameters object.
    - ReloadParameters: Copies parametres from the core.
- Fixed an issue where SetCurrentState was setting an incorrecte state index.
- Minor code improvements.
- Fix UCustomizableObjectInstance::PostLoad not calling ReloadParameters.

#preflight 635bfc4bdf01edd149f71e3d
[REVIEW] [at]alexei.lebedev, [at]pere.rifa
#rnx

[CL 22959099 by gerard martin in ue5-main branch]
2022-11-03 14:23:00 -04:00
gerard martin
940a5df983 [Mutable] Removed LOD from Descriptor hash used to cache Instances.
Now there are two kinds of hashes, one includes the LOD (Runtime) and the other does not. The Runtime Hash does not hash the LOD, being able to compare the already existing LODs.

[REVIEW] [at]alexei.lebedev, [at]pere.rifa
#preflight 6357ff2a2a65107e8b92c38d
#rnx

[CL 22802836 by gerard martin in ue5-main branch]
2022-10-26 22:18:24 -04:00
alexei lebedev
db09cdd2df #rnx
[CL 22705228 by alexei lebedev in ue5-main branch]
2022-10-21 19:53:30 -04:00
gerard martin
0529f32283 [mutable] Fix Instances not being updated due to LOD changes.
[REVIEW] [at]alexei.lebedev
#preflight 634930c3ce524ed356d2f5f8

[CL 22660769 by gerard martin in ue5-main branch]
2022-10-20 12:58:14 -04:00
gerard martin
705be4796f [mutable] Added new BeginUpdateDelegate.
- Removed old unused UpdateBeginDelegate (was commented).
- Standerized public delegates:
    - Renamed BeginDestroyNativeDelegate.
    - Created dynamic and native versions of existing delegates.

[REVIEW] [at]alexei.lebedev, [at]ricard.rovira
#preflight 63493087f622f6c4bb0d8c2d

[CL 22601909 by gerard martin in ue5-main branch]
2022-10-18 11:58:39 -04:00
jordi rovira
cca6a36b3f [mutable] Optimize mesh clip versus switching of clipping mesh.
Cleanup usage of most of STL from mutable runtime. Exception is string for now.
Cleanup a lot of unused code like reference implementations, node cloning boilerplate, etc.
#preflight 63441fcf7045f13c96b43bcf
[REVIEW] [at]max.garcia
[FYI] [at]alexei.lebedev
[FYI] genis.sole

[CL 22454093 by jordi rovira in ue5-main branch]
2022-10-11 05:14:05 -04:00
gerard martin
c132eb8153 [mutable] Instance Update optimization improvements.
Mutable:
- Moved Multilayer Projectors to the Instance Descriptor.
- Moved RealodParametersFromObject to the Instance Descriptor.
- Created new UpdateResult Instance and Component delegatres.
- Created Instance and Component Updated callbacks.
- Now when an Instance update is optimized Update delegates are also being called.
- Fixed a UCustomizableObjectInstance::Clone crash.

[REVIEW] [at]alexei.lebedev, [at]jordi.rovira
[FYI] [at]pere.rifa, [at]devlin.willis
#preflight 633c0bc7504797055668fd0d

[CL 22427469 by gerard martin in ue5-main branch]
2022-10-10 07:09:51 -04:00
gerard martin
0186498452 [mutable] Add bBuildParameterDecorations to the Instance Descriptor.
[REVIEW] [at]alexei.lebedev, [at]pere.rifa
#preflight 633db4984f06cf013c440f8c

[CL 22388133 by gerard martin in ue5-main branch]
2022-10-06 19:53:04 -04:00
alexei lebedev
dd5a5ed27f #rnx
[CL 22329341 by alexei lebedev in ue5-main branch]
2022-10-04 09:10:32 -04:00
jordi rovira
2345e30813 [mutable] Fix for progressive texturing matching of image surfaces.
#preflight 633b058cef7739456511716e
[REVIEW] [at]alexei.lebedev

[CL 22328711 by jordi rovira in ue5-main branch]
2022-10-04 07:53:49 -04:00
bryan sefcik
9f221af671 Ran IWYU on Mutable plugin
#jira
#preflight 6337f41a5c2225fe5fd4eddf

[CL 22293097 by bryan sefcik in ue5-main branch]
2022-10-02 10:56:02 -04:00
bryan sefcik
246a925968 Updated more paths in Mutable to contain the module name.
#jira

[CL 22288682 by bryan sefcik in ue5-main branch]
2022-10-01 02:06:09 -04:00
bryan sefcik
9448370848 Moved the Mutable plugin files to live under a directory named after the module. This allows us to get rid of long include paths that contain public and private folder names in the path and fixes header name conflicts.
#jira
[FYI] jordi.rovira

[CL 22288669 by bryan sefcik in ue5-main branch]
2022-10-01 02:04:57 -04:00