Commit Graph

227 Commits

Author SHA1 Message Date
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
robert manuszewski
f8a812a32f Converting hardcoded short class/enum names to pathnames ahead of ANY_PACKAGE removal
#rb trivial
#jira UE-99463
#preflight 6288fd998828ea88c8aef3d0

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 20314896 via CL 20314897 via CL 20314903 via CL 20314904
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)

[CL 20315214 by robert manuszewski in ue5-main branch]
2022-05-22 10:30:02 -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
semion piskarev
627333a3dd MeshModelingTools: Fix crash on CubeGrid tool completion when underlying asset is deleted.
#rb Jimmy.Andrews
#jira UE-148700
#preflight 62604806e30cb43e8cc46bb2

#ROBOMERGE-AUTHOR: semion.piskarev
#ROBOMERGE-SOURCE: CL 19835009 in //UE5/Release-5.0/... via CL 19838315
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v940-19807014)

[CL 19840628 by semion piskarev in ue5-main branch]
2022-04-20 18:55:50 -04:00
semion piskarev
1b58ea3351 MeshModelingTools: Fix crash in CubeGrid tool when undoing out of the tool after modifying the target.
#rb Jimmy.Andrews
#jira UE-148710
#preflight 62602d8bdd47b4ad2173c525

#ROBOMERGE-AUTHOR: semion.piskarev
#ROBOMERGE-SOURCE: CL 19833591 in //UE5/Release-5.0/... via CL 19836101
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v940-19807014)

[CL 19840040 by semion piskarev in ue5-main branch]
2022-04-20 18:33:27 -04:00
lonnie li
9e7daf6460 ModelingTools: Only enforce StaticMesh target requirement on source meshes in the BakeAll tool.
#rb tyson.brochu
#jira none
#preflight 62604ce773187d30d0bba0b4

[CL 19838037 by lonnie li in ue5-main branch]
2022-04-20 16:57:45 -04:00
semion piskarev
15ad078986 MeshModelingTools: Transact the bChangesMade flag in CubeGrid tool so that it is properly undone and redone.
#rb Jimmy.Andrews
#jira UE-148710
#preflight 626040fe35680893ee01dbd3

[CL 19833881 by semion piskarev in ue5-main branch]
2022-04-20 13:42:16 -04:00
tyson brochu
afd2b3b5c6 Fix crash when accepting Normal tool on a mesh with degenerate triangles
#jira UE-144819
#rb jimmy.andrews
#preflight 625ee1653e0f6f80adb59027

#ROBOMERGE-AUTHOR: tyson.brochu
#ROBOMERGE-SOURCE: CL 19811381 in //UE5/Release-5.0/... via CL 19816562
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v939-19570697)

[CL 19819524 by tyson brochu in ue5-main branch]
2022-04-19 18:10:11 -04:00
Jimmy Andrews
ac2e948ef5 make msh2coll build collision in background operator
#rb tyson.brochu
#preflight 625f0664d412434587011ad5

[CL 19815369 by Jimmy Andrews in ue5-main branch]
2022-04-19 15:48:15 -04:00
lonnie li
6d9773bf8d ModelingTools: Add support for blending when evaluating SampleFilterMask in BakeTexture/BakeAll
#rb jimmy.andrews
#jira none
#preflight 62576e3e1543022eed57ee1c

[CL 19749341 by lonnie li in ue5-main branch]
2022-04-13 21:13:17 -04:00