NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxConvexMeshCookingResult Struct Reference

NVIDIA PhysX API

PxConvexMeshCookingResult Struct Reference
[Cooking]

Result from convex cooking. More...

#include <PxCooking.h>

List of all members.


Public Types

enum  Enum {
  eSUCCESS,
  eZERO_AREA_TEST_FAILED,
  ePOLYGONS_LIMIT_REACHED,
  eFAILURE
}

Detailed Description

Result from convex cooking.

Member Enumeration Documentation

Enumerator:
eSUCCESS  Convex mesh cooking succeeded.
eZERO_AREA_TEST_FAILED  Convex mesh cooking failed, algorithm couldn't find 4 initial vertices without a small triangle.

See also:
PxCookingParams::areaTestEpsilon PxConvexFlag::eCHECK_ZERO_AREA_TRIANGLES

ePOLYGONS_LIMIT_REACHED  Convex mesh cooking succeeded, but the algorithm has reached the 255 polygons limit. The produced hull does not contain all input vertices. Try to simplify the input vertices or try to use the eINFLATE_CONVEX or the eQUANTIZE_INPUT flags.

See also:
PxConvexFlag::eINFLATE_CONVEX PxConvexFlag::eQUANTIZE_INPUT

eFAILURE  Something unrecoverable happened. Check the error stream to find out what.


The documentation for this struct was generated from the following file:



Copyright © 2008-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com