Preview Image for InstaMAT Mesh Intersect Node

Mesh Intersect

Mesh/Modifier

Performs a segment-triangle mesh intersection test against the specified mesh. A BVH acceleration structure can optionally be passed to the node to accelerate the intersection test. However, this should only be done if several tests are performed against the mesh as there is an overhead to computing the BVH. The BVH can be computed using the 'Mesh Compute BVH' node.

Input Parameters

  • Mesh Mesh
  • RayStart Vec3
  • RayEnd Vec3
  • NormalizedPosition Boolean
  • BVH Resource

Output Parameters

  • Output Mesh
  • Position Vec3
  • Normal Vec3
  • Binormal Vec3
  • Tangent Vec3
  • TexCoord Vec2
  • Color Vec4
  • T Float
  • Barycentric Vec3
  • PolygonIndex Uint
  • DidIntersect Boolean

Meta

AuthorInstaMaterial GmbH
CategoryMesh/Modifier
TooltipPerforms a segment-triangle mesh intersection test against the specified mesh. A BVH acceleration structure can optionally be passed to the node to accelerate the intersection test. However, this should only be done if several tests are performed against the mesh as there is an overhead to computing the BVH. The BVH can be computed using the 'Mesh Compute BVH' node.
NameMesh Intersect
Version1.0
IDdeadc0de-0c01-0000-0000-000000000007