Commit Graph

157 Commits

Author SHA1 Message Date
nathan mitchell
3ba92badec UVEditor: Enable support for selection mechanics within in the 3D viewport.
#rb semion.piskarev
#preflight 62aa68f9102b5101ccdc6d13

[CL 20679008 by nathan mitchell in ue5-main branch]
2022-06-15 19:31:42 -04:00
rinat abdrashitov
b057b05a3d Initial implementation of the adaptive tessellation operator with one pattern implemented.
Currently only supports the generation of the new geometry without interpolating attributes.
Added GeometryScript function for adaptive tessellation.

#rb jimmy.andrews
#jira none
#preflight 62a8bd591f6754ac09b21d10

[CL 20653109 by rinat abdrashitov in ue5-main branch]
2022-06-14 13:42:37 -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
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
tyson brochu
03b4b2b9b2 New MeshPaths class. Given a set of edges on a mesh, finds the topology of simply connected edges and collects them into Spans.
#rb jimmy.andrews
#preflight 62a0c573232daff7b3efe3db

[CL 20557829 by tyson brochu in ue5-main branch]
2022-06-08 12:04: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
c5bc05a109 Render Capture Baking: Add a method exposing the evaluator data layout
This will be useful for the (upcoming) RenderCaptureMapEvaluator as it allows a pointer to the FMeshMapEvaluator base class to be statically cast to the right type even though that Evaluator must be a template class. Without this method we can't cast the base class pointer since we don't know the template parameter, but we want the template so that EvaluateSample can be branch free which is desirable since its called in hot loops

#rb lonnie.li
#rnx
#jira none
#preflight 629f2e39f73a9b013d9e9eb0

[CL 20538179 by matija kecman in ue5-main branch]
2022-06-07 10:50:05 -04:00
tyson brochu
178838db35 ContainmentTests: use full level set grid transform, not just translation
#jira UE-155269
#rb jimmy.andrews
#preflight 62967f5b9d75300f41bdee51

[CL 20444082 by tyson brochu in ue5-main branch]
2022-05-31 18:55:26 -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
David Hill
c7fdcbcbe8 Geometry: Intrinsic Triangulation and Geodesics. Fixed bugs related to the special case when an intrinsic triangle has only two distinct verts (as happens when an intrinsic triangle wraps the tip of a cone). Also added mesh reset methods and allowing the intrinsic mesh to optionally own a copy of the surface mesh it uses.
#preflight 6287de806c7692ac8cccee95
#rb Tyson.Brochu

[CL 20348622 by David Hill in ue5-main branch]
2022-05-24 11:10:33 -04:00
David Hill
92e5b04fa9 Remove extraneous debug code.
#preflight 62866a9615019f647746ed23
#jira none
#rnx

[CL 20284806 by David Hill in ue5-main branch]
2022-05-19 14:55:44 -04:00
David Hill
294f8cca41 Geometry Processing: Implement intrinsic mesh triangle and edge split using normal coordinates
#preflight 62851449614041edb7874304
#rb jimmy.andrews

[CL 20280431 by David Hill in ue5-main branch]
2022-05-19 10:43:03 -04:00
semion piskarev
51b6474352 MeshModelingTools: Make offset and inset work in pathological bowtie-related cases. Fix DisconnectTriangles in cases of bowties.
#rb Jimmy.Andrews, Rinat.Abdrashitov
#jira UE-150128, UE-150574
#preflight 6283abd4730e8423d125ff9a

[CL 20242223 by semion piskarev in ue5-main branch]
2022-05-17 10:13:11 -04:00
nuno leiria
6e1db907ec Misc fixes for console module builds
#preflight 6282fd37ed2c0847b0fc24ca
#rb david.harvey

[CL 20239787 by nuno leiria in ue5-main branch]
2022-05-17 05:24:02 -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
4993c96dfd Fix fracture messing up normals for some meshes by making the mesh boolean's simplifier preserve vertex normals
#jira UE-151297
#rb rinat.abdrashitov
#preflight 627d25564a05ef0394cc0592

[CL 20165579 by Jimmy Andrews in ue5-main branch]
2022-05-12 12:09:00 -04:00
nathan mitchell
cc0b68299f UVEditor: Enable support for polygroups and UDIMS in the AutoUV tool.
#rb semion.piskarev
#preflight 62685f23dd35c0d6cacdd455

[CL 20161755 by nathan mitchell in ue5-main branch]
2022-05-12 04:02: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
rinat abdrashitov
683a655fa6 Fixed the PVS static analyzer error caused by a dangling reference.
Added extra comments clarifying the expected lifetime of the passed objects to the FSparsePowerMethod class constructors and the CreateSparseMatrixOperator() static method.

#rb jimmy.andrews
#rnx
#jira UE-147203
#preflight 6279b6e34561731dbe2deefe

[CL 20115637 by rinat abdrashitov in ue5-main branch]
2022-05-09 21:05:46 -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
michael balzer
fc875e8500 GeometryCore: Fix static analysis warning in FDynamicMeshEditor
#jira UE-151285
#preflight 627553478a31599132b878a0

[CL 20082799 by michael balzer in ue5-main branch]
2022-05-06 15:39:11 -04:00
jimmy andrews
4165a87ce7 Fix crash in PolyEdit offset w/ bowties
#jira UE-150574
#preflight 626affbe6363134a0f999146
#rb tyson.brochu

#ROBOMERGE-AUTHOR: jimmy.andrews
#ROBOMERGE-SOURCE: CL 19969548 in //UE5/Release-5.0/... via CL 19970715
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19973326 by jimmy andrews in ue5-main branch]
2022-04-28 19:35:23 -04:00
jason walter
e8e7d051e5 Remove unnecessary pragma once
#jira UE-150255
#fyi matija.kecman, lonnie.li, kriss.gossart
#rb none
#preflight none

[CL 19942195 by jason walter in ue5-main branch]
2022-04-27 12:54: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
Jimmy Andrews
ef32c0bb0f return the default normal/occlusion for occlusion baker samples that have a degenerate normal
#rb lonnie.li
#preflight 626373236c1ac14c70790253

[CL 19886120 by Jimmy Andrews in ue5-main branch]
2022-04-22 23:46:52 -04:00