diff options
| author | sschirm <[email protected]> | 2017-01-06 14:45:46 +0100 |
|---|---|---|
| committer | sschirm <[email protected]> | 2017-01-06 14:45:46 +0100 |
| commit | c7a921796332e8fcd51f3e05c1a318a41282e1e2 (patch) | |
| tree | 770db0c76e954045fe5178a36a7519b26df6942a /PhysX_3.4/Documentation/PhysXGuide/_sources | |
| parent | PhysX 3.4, APEX 1.4 release candidate update: @21511067-21511214 (diff) | |
| download | physx-3.4-c7a921796332e8fcd51f3e05c1a318a41282e1e2.tar.xz physx-3.4-c7a921796332e8fcd51f3e05c1a318a41282e1e2.zip | |
PhysX 3.4, APEX 1.4 release candidate update: @21542069
Diffstat (limited to 'PhysX_3.4/Documentation/PhysXGuide/_sources')
| -rw-r--r-- | PhysX_3.4/Documentation/PhysXGuide/_sources/Manual/Geometry.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PhysX_3.4/Documentation/PhysXGuide/_sources/Manual/Geometry.txt b/PhysX_3.4/Documentation/PhysXGuide/_sources/Manual/Geometry.txt index 2e414684..9b68f20a 100644 --- a/PhysX_3.4/Documentation/PhysXGuide/_sources/Manual/Geometry.txt +++ b/PhysX_3.4/Documentation/PhysXGuide/_sources/Manual/Geometry.txt @@ -171,7 +171,7 @@ This routine can sometimes fail when the source data is geometrically challengin If PxConvexFlag::eCHECK_ZERO_AREA_TRIANGLES is used, the algorithm does not include triangles with an area less than PxCookingParams::areaTestEpsilon. If the algorithm cannot find 4 initial vertices without a small triangle, PxConvexMeshCookingResult::eZERO_AREA_TEST_FAILED is returned. This means that the provided vertices were in a very small area and the cooker could not produce a valid hull. The toolkit helper function PxToolkit::createConvexMeshSafe illustrates the most robust strategy for convex mesh cooking. First it tries to create the hull without inflation. If that fails it tries inflation, and if that also fails, uses an AABB or OBB. -It is recommended to provide vertices around origin and put transformation in PxShape. +It is recommended to provide vertices around origin and put transformation in PxShape, otherwise addional PxConvexFlag::eSHIFT_VERTICES flag for the mesh computation. If huge amount of input vertices are provided, it might be useful to quantize the input vertices, in this case use PxConvexFlag::eQUANTIZE_INPUT and set the required PxConvexMeshDesc::quantizedCount. |