Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
Assembly: Visual3D.Physics (in Visual3D.Physics.dll) Version: 1.0.0.0 (1.0.0.0)
The BvhTriangleMeshShape is a static-triangle mesh shape with several optimizations, such as bounding volume hierarchy and cache friendly traversal for PlayStation 3 Cell SPU.
It is recommended to enable UseQuantizedAabbCompression for better memory usage.
It takes a triangle mesh as input, for example a TriangleMesh or TriangleIndexVertexArray.
The BvhTriangleMeshShape class allows for triangle mesh deformations by a refit or PartialRefit method.
Instead of building the bounding volume hierarchy acceleration structure,
it is also possible to serialize (save) and deserialize (load) the structure from disk.
See Demos\ConcaveDemo\ConcavePhysicsDemo.cpp for an example.
Namespace: Visual3D.Physics.BulletXAssembly: Visual3D.Physics (in Visual3D.Physics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# | Visual Basic |
public class BvhTriangleMeshShape : TriangleMeshShape
Public Class BvhTriangleMeshShape _ Inherits TriangleMeshShape
Members
| All Members | Constructors | Properties | Methods |
Inheritance Hierarchy
System..::..Object
Visual3D.Physics.BulletX..::..CollisionShape
Visual3D.Physics.BulletX..::..ConcaveShape
Visual3D.Physics.BulletX..::..TriangleMeshShape
Visual3D.Physics.BulletX..::..BvhTriangleMeshShape
Visual3D.PhysicsNew.Terrain..::..PhysicalTerrainShape
Visual3D.Physics.BulletX..::..CollisionShape
Visual3D.Physics.BulletX..::..ConcaveShape
Visual3D.Physics.BulletX..::..TriangleMeshShape
Visual3D.Physics.BulletX..::..BvhTriangleMeshShape
Visual3D.PhysicsNew.Terrain..::..PhysicalTerrainShape