Commit Graph

11 Commits

Author SHA1 Message Date
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
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
lonnie li
52797a98be ModelingTools: Add support for Object space source normal maps to BakeTexture.
#rb jimmy.andrews matija.kecman
#jira none
#preflight 620ffdc64d39023e82a40fa2

[CL 19056004 by lonnie li in ue5-main branch]
2022-02-18 15:34:48 -05:00
lonnie li
93574de8d4 GeometryScript: Add BakeTexture support to GeometryScript.
#rb michael.balzer
#rnx
#jira none
#preflight 620427cfd619b08d92f8349f

[CL 18924394 by lonnie li in ue5-main branch]
2022-02-09 16:17:31 -05:00
lonnie li
18bf5bd184 ModelingTools: Minor Bake tools rename pass.
#rb trivial
#rnx
#jira none
#preflight 619ed10b801b361978d28665

#ROBOMERGE-AUTHOR: lonnie.li
#ROBOMERGE-SOURCE: CL 18290923 in //UE5/Release-5.0/... via CL 18290931
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18290938 by lonnie li in ue5-release-engine-test branch]
2021-11-24 19:19:10 -05:00
lonnie li
1a58daa8ac ModelingTools: Add analytics to BakeTx and BakeAll.
#rb michael.balzer
#rnx
#jira none
#preflight 618156394d1db700016f18b7

#ROBOMERGE-AUTHOR: lonnie.li
#ROBOMERGE-SOURCE: CL 18022043 in //UE5/Release-5.0/... via CL 18022262
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v885-17909292)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 18022377 by lonnie li in ue5-release-engine-test branch]
2021-11-02 13:58:07 -04:00
lonnie li
b9e683b2a7 ModelingTools: Fix crash in BakeVertex tool.
- Fix curvature settings in BakeVertex in per-channel mode.
- Fix erroneous ensure when in Identity correspondence mode.
- Remove remnants of previous Detail mesh system.
- Minor FMeshMapBaker interface updates.

#rb trivial
#rnx
#jira none
#preflight 6142689b3c7c670001add3ce

#ROBOMERGE-AUTHOR: lonnie.li
#ROBOMERGE-SOURCE: CL 17530703 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17530722 by lonnie li in ue5-release-engine-test branch]
2021-09-15 20:13:36 -04:00
lonnie li
90f5344d22 ModelingTools: Add N-to-1 detail mesh bake tool
- Added new FindNearestHitTriangle overload with bary coords.
- Refactored BakeMeshAttributeMapsTool into common base class with new MultiMesh (N-to-1) variant.
- Extended MeshDescriptionAdapter to support UVs.
- Added new queries on IMeshSpatialWrapper for mesh attributes.

#rb ryan.schmidt
#rnx
#jira UETOOL-3395
#preflight 613fb4c3a70fa0000131ff77

#ROBOMERGE-AUTHOR: lonnie.li
#ROBOMERGE-SOURCE: CL 17497155 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17497176 by lonnie li in ue5-release-engine-test branch]
2021-09-13 17:51:19 -04:00
lonnie li
7b0c2454ee ModelingTools: Bake tool detail mesh sampling abstraction
- Refactored direct detail mesh sampling queries into an abstract base interface for repurposing to alternative detail mesh constucts other than DynamicMesh3 (including N-to-1).
- Move IsTriangle tests out of evaluators and into the core bake loop.

#rb jimmy.andrews
#rnx
#jira UETOOL-3395
#preflight 6137d813d9c85a000150d95a

#ROBOMERGE-AUTHOR: lonnie.li
#ROBOMERGE-SOURCE: CL 17451759 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17451812 by lonnie li in ue5-release-engine-test branch]
2021-09-07 19:06:34 -04:00
lonnie li
e9839fc587 ModelingTools: Add texture filtering support to BakeTexture.
#rb michael.balzer
#rnx
#jira UETOOL-3818
#preflight 610da9df6c6eb00001b677c3

#ROBOMERGE-SOURCE: CL 17102582 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v853-17066230)

[CL 17102588 by lonnie li in ue5-release-engine-test branch]
2021-08-09 10:50:14 -04:00
michael balzer
ba195473cd GeometryProcessing: Move plugin from Experimental to Runtime
#jira UETOOL-3823
#rb ryan.schmidt

#ROBOMERGE-SOURCE: CL 16958628 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16958640 by michael balzer in ue5-release-engine-test branch]
2021-07-26 14:07:13 -04:00