Commit Graph

207 Commits

Author SHA1 Message Date
Josie Yang
6b15506e58 Replace direct access to SkeletalMesh object from USkinnedMeshComponent with GetSkeletalMesh function
#rb kriss.gossart
#preflight 62aafc9ada0af39a4783930a

[CL 20686007 by Josie Yang in ue5-main branch]
2022-06-16 09:14:04 -04:00
semion piskarev
81fcb14aec MeshModelingTools: Fix crash in XForm tool when using hotkeys while snap dragging.
#rb Lonnie.Li, Nathan.Mitchell
#jira UE-153174
#preflight 62aa11efa4249cd7409cd70a

#ROBOMERGE-AUTHOR: semion.piskarev
#ROBOMERGE-SOURCE: CL 20673459 in //UE5/Release-5.0/... via CL 20674551
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v955-20579017)

[CL 20676101 by semion piskarev in ue5-main branch]
2022-06-15 16:00:47 -04:00
matija kecman
6f80932e2b Render Capture Baking: Add messages warning users about missing tangents or UVs
#rnx
#rb lonnie.li
#jira none
#preflight 62a72d695a44fbc402908e21

[CL 20626847 by matija kecman in ue5-main branch]
2022-06-13 10:27:34 -04:00
Ryan Schmidt
c6c930536b GeometryProcessing: add FMeshResolveTJunctions, tries to fix cases where a boundary vertex lies on the interior of some other boundary edge, via edge splits, so that a Weld will work on the new set of boundary edges.
ModelingTools: Add option to Weld Tool to try to resolve T-junctions. Add feedback to report back the initial and final number of open boundary edges.
#rb jimmy.andrews
#preflight 62a260e48b67b148f2600dd8

[CL 20585253 by Ryan Schmidt in ue5-main branch]
2022-06-09 17:40:10 -04:00
Ryan Schmidt
bc8042333e Add additional capture locations to FSceneCapturePhotoSet::AddStandardExteriorCapturesFromBoundingBox(), on upper and side box edge midpoints. Enable by default in Approximate Actors and BakeRenderCaptureTool.
#rb jimmy.andrews
#preflight 62a11612e820a589df5e36dd
#fyi matija.kecman

[CL 20570945 by Ryan Schmidt in ue5-main branch]
2022-06-08 23:39:09 -04:00
Ryan Schmidt
050edd4706 Geometry: Expose Remesh function in Geometry Script, and add basic convergence check to queue remesher
- add FQueueRemesher::MinActiveEdgeFraction. If fraction of modified/total edges in remesh pass is below this parameter (default 1%), consider result converged.
- Expose as option in FRemeshMeshOp, and add sane defaults for all parameters of Op
- move CalculateTargetEdgeLength function from RemeshMeshTool to static function in FRemeshMeshOp, update Tool
- add Geometry Script function ApplyUniformRemesh
#rb jimmy.andrews
#preflight 62a0f1923f1e313c6ad23c21

[CL 20562425 by Ryan Schmidt in ue5-main branch]
2022-06-08 15:29:16 -04:00
matija kecman
efacd04a11 Render Capture Baking: Add analytics to render capture baking tool
#rb lonnie.li
#rnx
#jira none
#preflight 629f7e2cf73a9b013dc2f0b5

[CL 20547131 by matija kecman in ue5-main branch]
2022-06-07 18:55:16 -04:00
matija kecman
e5cd54f37d Render Capture Baking: Refactor render capture evaluator, to better support analytics and address some tech debt
#rb lonnie.li
#rnx
#jira none
#preflight 629f78d3410219bf1b2e4eee

[CL 20540003 by matija kecman in ue5-main branch]
2022-06-07 12:31:42 -04:00
matija kecman
85a44f52c7 Render Capture Baking: Refactor tool properties so that only genuine render capture options trigger game thread recomputes, also improve names
#rb lonnie.li
#rnx
#jira none
#preflight 6296351cfe779f23c8e74e17

[CL 20438207 by matija kecman in ue5-main branch]
2022-05-31 12:08:54 -04:00
tyson brochu
e78697a2c1 SetCollisionGeometryTool: add Mesh to Level Set / SDF conversion
#rb jimmy.andrews
#preflight 62952aa7e61254772f6b4b5e

[CL 20432875 by tyson brochu in ue5-main branch]
2022-05-30 16:48:48 -04:00
matija kecman
c0efeb5f4f Render Capture Baking: Add FScopedSlowTask to give user progress feedback on game thread scene capture
#rb lonnie.li
#rnx
#jira none
#preflight 62822298046b81bf9399584e

[CL 20221812 by matija kecman in ue5-main branch]
2022-05-16 06:50:35 -04:00
matija kecman
b47e74f1a8 Render Capture Baking: Move visibility raycast from evaluators to detail sampler
Benchmark configuration:
- Test scene with 4 meshes: a mossy stone nanite mesh, a beach ball, a ball with an emissive blue cross and a hut mesh
- Target mesh: 11.8k triangles mesh, created by voxel wrapping the meshes in the test scene elements
- 4096x4096 output texture with 16x multisampling baking BaseColor, Emissive, PackedMRS and Normal maps
- 4096x4096 photo capture resolution

Unreal Insights reports the following times for the Bake call:
- Before this change: 2 mins 45 seconds
- After this change: 55.9 seconds

Aside: (Unaffected by this change) In both cases the photo capture, which is done on the game thread, took about 1 min

#jira none
#rb
#rnx
#preflight 627e64e01748fbc85bb24a42

[CL 20221383 by matija kecman in ue5-main branch]
2022-05-16 05:13:25 -04:00
Jimmy Andrews
10153ffb90 Deprecate TTransformSRT3::Inverse() and attempt to fix usages of it and also FTransform::Inverse() in the modeling code
#rb david.hill
#preflight 627d2b99a82f3adab87fb87f

[CL 20165573 by Jimmy Andrews in ue5-main branch]
2022-05-12 12:08:26 -04:00
Jimmy Andrews
525173d5ea Prevent BakeRS UI from allowing user to try baking only rotation w/ a rotation+non-uniform scale, as UE transforms don't support this
#jira UE-151507
#rb lonnie.li
#preflight 627af39d0a5817c9d918b1bd

[CL 20132493 by Jimmy Andrews in ue5-main branch]
2022-05-10 20:29:48 -04:00
matija kecman
998174e108 Render Capture Baking: Reimplement infill in new baking framework using callbacks
#rb lonnie.li
#rnx
#preflight 627a5feffc07e0a9b4fda490
#jira none

[CL 20121863 by matija kecman in ue5-main branch]
2022-05-10 09:01:17 -04:00
Jimmy Andrews
e64bf36163 expose min part thickness parameter in convex decomposition algorithm out to Msh2Coll tool and Geometry Script api
#preflight 6279639976015d2d65df0f45
#rb rinat.abdrashitov

[CL 20110648 by Jimmy Andrews in ue5-main branch]
2022-05-09 16:41:33 -04:00
matija kecman
929525effb Render Capture Baking: Support correspondence sample validity checking, use BSpline filtering and enable multisampling
#rb lonnie.li
#rnx
#jira none
#preflight 6262d4dbd558dfdec3934905

[CL 19899614 by matija kecman in ue5-main branch]
2022-04-25 05:41:52 -04:00
jimmy andrews
8383d20898 #jira UE-146998
Make split/mshmrg preserve mesh pivots so users can round-trip through them w/out losing the pivot location

#rb lonnie.li
#preflight 6262f6f6d929bc34a3370ae4

#ROBOMERGE-AUTHOR: jimmy.andrews
#ROBOMERGE-SOURCE: CL 19870983 in //UE5/Release-5.0/... via CL 19873739
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v940-19807014)

[CL 19878005 by jimmy andrews in ue5-main branch]
2022-04-22 19:55:01 -04:00
lonnie li
e8f178c3a1 ModelingTools: Fix PVSStudio static analysis warning in BakeAll.
#rb none
#jira UE-149941
#preflight 626309c6cf17922036dade6f

[CL 19872905 by lonnie li in ue5-main branch]
2022-04-22 16:50:50 -04:00
Jimmy Andrews
97659cdfcb add a "Random Colors" option to the collision geometry visualizations
#rb rinat.abdrashitov
#preflight 6262fd04f606b184f0a24e03

[CL 19870471 by Jimmy Andrews in ue5-main branch]
2022-04-22 15:40:09 -04:00
tyson brochu
087f3b0d0f Remesh Tool: initial implementation of (optional) boundary constraint projection:
- Constrained edges along a boundary are allowed to collapse, and vertices are allowed to move, but they are projected back to the original boundary curve geometry
- Additionally, vertices at boundary "corners" (defined using an angle threshold criterion) are constrained to not move or be deleted


#jira UE-149616
#rb rinat.abdrashitov
#preflight
#preflight 6262dc97e87284a93cd6bd44

[CL 19867177 by tyson brochu in ue5-main branch]
2022-04-22 12:56:47 -04:00
lonnie li
d220cbde66 ModelingTools: Add ObjectSpaceNormal and Position output types to BakeAll tool.
#rb none
#jira none
#preflight 6262bb3fd929bc34a32a6358

[CL 19865051 by lonnie li in ue5-main branch]
2022-04-22 10:35:38 -04:00
semion piskarev
c282c27616 MeshModelingTools: Allow user to create a new asset in CubeGrid tool if underlying asset is deleted.
#rb Jimmy.Andrews, Ryan.Schmidt
#jira UE-148700
#preflight 626032cd35680893eefc29c3

[CL 19855556 by semion piskarev in ue5-main branch]
2022-04-21 16:41:57 -04:00
lonnie li
b122380ffe ModelingTools: Fixed BakeAll TangentNormal compute by ensuring that the normals are transformed into the correct space.
#rb matija.kecman
#jira UE-149792
#preflight 62610382080c660063683f7e

[CL 19851907 by lonnie li in ue5-main branch]
2022-04-21 13:18:38 -04:00
lonnie li
a7ff03f785 ModelingTools: Update TargetMesh property in BakeAll for skeletal and dynamic mesh targets.
#rb none
#jira none
#preflight 6260a61e886befa9a5d3ef89

[CL 19843481 by lonnie li in ue5-main branch]
2022-04-20 21:32:46 -04:00