|
|
|
@ -60,6 +60,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
#ifndef AI_CONFIG_H_INC
|
|
|
|
|
#define AI_CONFIG_H_INC
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ###########################################################################
|
|
|
|
|
// LIBRARY SETTINGS
|
|
|
|
|
// General, global settings
|
|
|
|
@ -75,8 +76,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
*
|
|
|
|
|
* Property type: bool. Default value: false.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_GLOB_MEASURE_TIME \
|
|
|
|
|
"GLOB_MEASURE_TIME"
|
|
|
|
|
#define AI_CONFIG_GLOB_MEASURE_TIME \
|
|
|
|
|
"GLOB_MEASURE_TIME"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Global setting to disable generation of skeleton dummy meshes
|
|
|
|
@ -87,9 +89,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
*/
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
#define AI_CONFIG_IMPORT_NO_SKELETON_MESHES \
|
|
|
|
|
"IMPORT_NO_SKELETON_MESHES"
|
|
|
|
|
"IMPORT_NO_SKELETON_MESHES"
|
|
|
|
|
|
|
|
|
|
#if 0 // not implemented yet
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# if 0 // not implemented yet
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Set Assimp's multithreading policy.
|
|
|
|
|
*
|
|
|
|
@ -105,8 +109,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
* For more information, see the @link threading Threading page@endlink.
|
|
|
|
|
* Property type: int, default value: -1.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_GLOB_MULTITHREADING \
|
|
|
|
|
"GLOB_MULTITHREADING"
|
|
|
|
|
#define AI_CONFIG_GLOB_MULTITHREADING \
|
|
|
|
|
"GLOB_MULTITHREADING"
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
// ###########################################################################
|
|
|
|
@ -114,6 +118,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
// Various stuff to fine-tune the behavior of a specific post processing step.
|
|
|
|
|
// ###########################################################################
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Maximum bone count per mesh for the SplitbyBoneCount step.
|
|
|
|
|
*
|
|
|
|
@ -124,13 +129,15 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
*/
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
#define AI_CONFIG_PP_SBBC_MAX_BONES \
|
|
|
|
|
"PP_SBBC_MAX_BONES"
|
|
|
|
|
"PP_SBBC_MAX_BONES"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// default limit for bone count
|
|
|
|
|
#if (!defined AI_SBBC_DEFAULT_MAX_BONES)
|
|
|
|
|
#define AI_SBBC_DEFAULT_MAX_BONES 60
|
|
|
|
|
# define AI_SBBC_DEFAULT_MAX_BONES 60
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Specifies the maximum angle that may be between two vertex tangents
|
|
|
|
|
* that their tangents and bi-tangents are smoothed.
|
|
|
|
@ -140,7 +147,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
* Property type: float. Default value: 45 degrees
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_PP_CT_MAX_SMOOTHING_ANGLE \
|
|
|
|
|
"PP_CT_MAX_SMOOTHING_ANGLE"
|
|
|
|
|
"PP_CT_MAX_SMOOTHING_ANGLE"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Source UV channel for tangent space computation.
|
|
|
|
@ -150,7 +157,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
*/
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
#define AI_CONFIG_PP_CT_TEXTURE_CHANNEL_INDEX \
|
|
|
|
|
"PP_CT_TEXTURE_CHANNEL_INDEX"
|
|
|
|
|
"PP_CT_TEXTURE_CHANNEL_INDEX"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Specifies the maximum angle that may be between two face normals
|
|
|
|
@ -165,7 +172,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
* the output quality may be reduced.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_PP_GSN_MAX_SMOOTHING_ANGLE \
|
|
|
|
|
"PP_GSN_MAX_SMOOTHING_ANGLE"
|
|
|
|
|
"PP_GSN_MAX_SMOOTHING_ANGLE"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Sets the colormap (= palette) to be used to decode embedded
|
|
|
|
@ -177,8 +185,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
* a default palette (from Quake 1) is used.
|
|
|
|
|
* Property type: string.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_IMPORT_MDL_COLORMAP \
|
|
|
|
|
"IMPORT_MDL_COLORMAP"
|
|
|
|
|
#define AI_CONFIG_IMPORT_MDL_COLORMAP \
|
|
|
|
|
"IMPORT_MDL_COLORMAP"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Configures the #aiProcess_RemoveRedundantMaterials step to
|
|
|
|
@ -199,8 +207,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
* @note Linefeeds, tabs or carriage returns are treated as whitespace.
|
|
|
|
|
* Material names are case sensitive.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_PP_RRM_EXCLUDE_LIST \
|
|
|
|
|
"PP_RRM_EXCLUDE_LIST"
|
|
|
|
|
#define AI_CONFIG_PP_RRM_EXCLUDE_LIST \
|
|
|
|
|
"PP_RRM_EXCLUDE_LIST"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Configures the #aiProcess_PreTransformVertices step to
|
|
|
|
@ -214,8 +222,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
* any transformations.
|
|
|
|
|
* Property type: bool. Default value: false.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_PP_PTV_KEEP_HIERARCHY \
|
|
|
|
|
"PP_PTV_KEEP_HIERARCHY"
|
|
|
|
|
#define AI_CONFIG_PP_PTV_KEEP_HIERARCHY \
|
|
|
|
|
"PP_PTV_KEEP_HIERARCHY"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Configures the #aiProcess_PreTransformVertices step to normalize
|
|
|
|
@ -224,8 +232,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
* meshes are scaled appropriately (uniformly of course!).
|
|
|
|
|
* This might be useful if you don't know the spatial dimension of the input
|
|
|
|
|
* data*/
|
|
|
|
|
#define AI_CONFIG_PP_PTV_NORMALIZE \
|
|
|
|
|
"PP_PTV_NORMALIZE"
|
|
|
|
|
#define AI_CONFIG_PP_PTV_NORMALIZE \
|
|
|
|
|
"PP_PTV_NORMALIZE"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Configures the #aiProcess_PreTransformVertices step to use
|
|
|
|
@ -233,8 +241,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
* transforming vertices.
|
|
|
|
|
* Property type: bool. Default value: false.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_PP_PTV_ADD_ROOT_TRANSFORMATION \
|
|
|
|
|
"PP_PTV_ADD_ROOT_TRANSFORMATION"
|
|
|
|
|
#define AI_CONFIG_PP_PTV_ADD_ROOT_TRANSFORMATION \
|
|
|
|
|
"PP_PTV_ADD_ROOT_TRANSFORMATION"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Configures the #aiProcess_PreTransformVertices step to use
|
|
|
|
@ -243,8 +251,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
* of the transformation matrix.
|
|
|
|
|
* Property type: aiMatrix4x4.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_PP_PTV_ROOT_TRANSFORMATION \
|
|
|
|
|
"PP_PTV_ROOT_TRANSFORMATION"
|
|
|
|
|
#define AI_CONFIG_PP_PTV_ROOT_TRANSFORMATION \
|
|
|
|
|
"PP_PTV_ROOT_TRANSFORMATION"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Configures the #aiProcess_FindDegenerates step to
|
|
|
|
@ -257,7 +265,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
* Property type: bool. Default value: false.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_PP_FD_REMOVE \
|
|
|
|
|
"PP_FD_REMOVE"
|
|
|
|
|
"PP_FD_REMOVE"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/**
|
|
|
|
@ -266,7 +274,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
* be removed if #AI_CONFIG_PP_FD_REMOVE is set to true.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_PP_FD_CHECKAREA \
|
|
|
|
|
"PP_FD_CHECKAREA"
|
|
|
|
|
"PP_FD_CHECKAREA"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Configures the #aiProcess_OptimizeGraph step to preserve nodes
|
|
|
|
@ -286,8 +294,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
* @note Linefeeds, tabs or carriage returns are treated as whitespace.
|
|
|
|
|
* Node names are case sensitive.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_PP_OG_EXCLUDE_LIST \
|
|
|
|
|
"PP_OG_EXCLUDE_LIST"
|
|
|
|
|
#define AI_CONFIG_PP_OG_EXCLUDE_LIST \
|
|
|
|
|
"PP_OG_EXCLUDE_LIST"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Set the maximum number of triangles in a mesh.
|
|
|
|
@ -298,11 +306,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
* Property type: integer.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_PP_SLM_TRIANGLE_LIMIT \
|
|
|
|
|
"PP_SLM_TRIANGLE_LIMIT"
|
|
|
|
|
"PP_SLM_TRIANGLE_LIMIT"
|
|
|
|
|
|
|
|
|
|
// default value for AI_CONFIG_PP_SLM_TRIANGLE_LIMIT
|
|
|
|
|
#if (!defined AI_SLM_DEFAULT_MAX_TRIANGLES)
|
|
|
|
|
#define AI_SLM_DEFAULT_MAX_TRIANGLES 1000000
|
|
|
|
|
# define AI_SLM_DEFAULT_MAX_TRIANGLES 1000000
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
@ -314,11 +322,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
* Property type: integer.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_PP_SLM_VERTEX_LIMIT \
|
|
|
|
|
"PP_SLM_VERTEX_LIMIT"
|
|
|
|
|
"PP_SLM_VERTEX_LIMIT"
|
|
|
|
|
|
|
|
|
|
// default value for AI_CONFIG_PP_SLM_VERTEX_LIMIT
|
|
|
|
|
#if (!defined AI_SLM_DEFAULT_MAX_VERTICES)
|
|
|
|
|
#define AI_SLM_DEFAULT_MAX_VERTICES 1000000
|
|
|
|
|
# define AI_SLM_DEFAULT_MAX_VERTICES 1000000
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
@ -327,12 +335,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
* This is used by the #aiProcess_LimitBoneWeights PostProcess-Step.
|
|
|
|
|
* @note The default value is AI_LMW_MAX_WEIGHTS
|
|
|
|
|
* Property type: integer.*/
|
|
|
|
|
#define AI_CONFIG_PP_LBW_MAX_WEIGHTS \
|
|
|
|
|
"PP_LBW_MAX_WEIGHTS"
|
|
|
|
|
#define AI_CONFIG_PP_LBW_MAX_WEIGHTS \
|
|
|
|
|
"PP_LBW_MAX_WEIGHTS"
|
|
|
|
|
|
|
|
|
|
// default value for AI_CONFIG_PP_LBW_MAX_WEIGHTS
|
|
|
|
|
#if (!defined AI_LMW_MAX_WEIGHTS)
|
|
|
|
|
#define AI_LMW_MAX_WEIGHTS 0x4
|
|
|
|
|
# define AI_LMW_MAX_WEIGHTS 0x4
|
|
|
|
|
#endif // !! AI_LMW_MAX_WEIGHTS
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
@ -342,11 +350,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
* @note The default value is AI_DEBONE_THRESHOLD
|
|
|
|
|
* Property type: float.*/
|
|
|
|
|
#define AI_CONFIG_PP_DB_THRESHOLD \
|
|
|
|
|
"PP_DB_THRESHOLD"
|
|
|
|
|
"PP_DB_THRESHOLD"
|
|
|
|
|
|
|
|
|
|
// default value for AI_CONFIG_PP_LBW_MAX_WEIGHTS
|
|
|
|
|
#if (!defined AI_DEBONE_THRESHOLD)
|
|
|
|
|
#define AI_DEBONE_THRESHOLD 1.0f
|
|
|
|
|
# define AI_DEBONE_THRESHOLD 1.0f
|
|
|
|
|
#endif // !! AI_DEBONE_THRESHOLD
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
@ -356,12 +364,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
* @note The default value is 0
|
|
|
|
|
* Property type: bool.*/
|
|
|
|
|
#define AI_CONFIG_PP_DB_ALL_OR_NONE \
|
|
|
|
|
"PP_DB_ALL_OR_NONE"
|
|
|
|
|
"PP_DB_ALL_OR_NONE"
|
|
|
|
|
|
|
|
|
|
/** @brief Default value for the #AI_CONFIG_PP_ICL_PTCACHE_SIZE property
|
|
|
|
|
*/
|
|
|
|
|
#ifndef PP_ICL_PTCACHE_SIZE
|
|
|
|
|
#define PP_ICL_PTCACHE_SIZE 12
|
|
|
|
|
# define PP_ICL_PTCACHE_SIZE 12
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
@ -375,7 +383,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
* performance improvements for most nVidia/AMD cards since 2002.
|
|
|
|
|
* Property type: integer.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_PP_ICL_PTCACHE_SIZE "PP_ICL_PTCACHE_SIZE"
|
|
|
|
|
#define AI_CONFIG_PP_ICL_PTCACHE_SIZE "PP_ICL_PTCACHE_SIZE"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Enumerates components of the aiScene and aiMesh data structures
|
|
|
|
@ -383,71 +391,73 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
*
|
|
|
|
|
* See the documentation to #aiProcess_RemoveComponent for more details.
|
|
|
|
|
*/
|
|
|
|
|
enum aiComponent {
|
|
|
|
|
/** Normal vectors */
|
|
|
|
|
enum aiComponent
|
|
|
|
|
{
|
|
|
|
|
/** Normal vectors */
|
|
|
|
|
#ifdef SWIG
|
|
|
|
|
aiComponent_NORMALS = 0x2,
|
|
|
|
|
#else
|
|
|
|
|
aiComponent_NORMALS = 0x2u,
|
|
|
|
|
aiComponent_NORMALS = 0x2u,
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/** Tangents and bitangents go always together ... */
|
|
|
|
|
/** Tangents and bitangents go always together ... */
|
|
|
|
|
#ifdef SWIG
|
|
|
|
|
aiComponent_TANGENTS_AND_BITANGENTS = 0x4,
|
|
|
|
|
#else
|
|
|
|
|
aiComponent_TANGENTS_AND_BITANGENTS = 0x4u,
|
|
|
|
|
aiComponent_TANGENTS_AND_BITANGENTS = 0x4u,
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/** ALL color sets
|
|
|
|
|
/** ALL color sets
|
|
|
|
|
* Use aiComponent_COLORn(N) to specify the N'th set */
|
|
|
|
|
aiComponent_COLORS = 0x8,
|
|
|
|
|
aiComponent_COLORS = 0x8,
|
|
|
|
|
|
|
|
|
|
/** ALL texture UV sets
|
|
|
|
|
/** ALL texture UV sets
|
|
|
|
|
* aiComponent_TEXCOORDn(N) to specify the N'th set */
|
|
|
|
|
aiComponent_TEXCOORDS = 0x10,
|
|
|
|
|
aiComponent_TEXCOORDS = 0x10,
|
|
|
|
|
|
|
|
|
|
/** Removes all bone weights from all meshes.
|
|
|
|
|
/** Removes all bone weights from all meshes.
|
|
|
|
|
* The scenegraph nodes corresponding to the bones are NOT removed.
|
|
|
|
|
* use the #aiProcess_OptimizeGraph step to do this */
|
|
|
|
|
aiComponent_BONEWEIGHTS = 0x20,
|
|
|
|
|
aiComponent_BONEWEIGHTS = 0x20,
|
|
|
|
|
|
|
|
|
|
/** Removes all node animations (aiScene::mAnimations).
|
|
|
|
|
/** Removes all node animations (aiScene::mAnimations).
|
|
|
|
|
* The corresponding scenegraph nodes are NOT removed.
|
|
|
|
|
* use the #aiProcess_OptimizeGraph step to do this */
|
|
|
|
|
aiComponent_ANIMATIONS = 0x40,
|
|
|
|
|
aiComponent_ANIMATIONS = 0x40,
|
|
|
|
|
|
|
|
|
|
/** Removes all embedded textures (aiScene::mTextures) */
|
|
|
|
|
aiComponent_TEXTURES = 0x80,
|
|
|
|
|
/** Removes all embedded textures (aiScene::mTextures) */
|
|
|
|
|
aiComponent_TEXTURES = 0x80,
|
|
|
|
|
|
|
|
|
|
/** Removes all light sources (aiScene::mLights).
|
|
|
|
|
/** Removes all light sources (aiScene::mLights).
|
|
|
|
|
* The corresponding scenegraph nodes are NOT removed.
|
|
|
|
|
* use the #aiProcess_OptimizeGraph step to do this */
|
|
|
|
|
aiComponent_LIGHTS = 0x100,
|
|
|
|
|
aiComponent_LIGHTS = 0x100,
|
|
|
|
|
|
|
|
|
|
/** Removes all cameras (aiScene::mCameras).
|
|
|
|
|
/** Removes all cameras (aiScene::mCameras).
|
|
|
|
|
* The corresponding scenegraph nodes are NOT removed.
|
|
|
|
|
* use the #aiProcess_OptimizeGraph step to do this */
|
|
|
|
|
aiComponent_CAMERAS = 0x200,
|
|
|
|
|
aiComponent_CAMERAS = 0x200,
|
|
|
|
|
|
|
|
|
|
/** Removes all meshes (aiScene::mMeshes). */
|
|
|
|
|
aiComponent_MESHES = 0x400,
|
|
|
|
|
/** Removes all meshes (aiScene::mMeshes). */
|
|
|
|
|
aiComponent_MESHES = 0x400,
|
|
|
|
|
|
|
|
|
|
/** Removes all materials. One default material will
|
|
|
|
|
/** Removes all materials. One default material will
|
|
|
|
|
* be generated, so aiScene::mNumMaterials will be 1. */
|
|
|
|
|
aiComponent_MATERIALS = 0x800,
|
|
|
|
|
aiComponent_MATERIALS = 0x800,
|
|
|
|
|
|
|
|
|
|
/** This value is not used. It is just there to force the
|
|
|
|
|
|
|
|
|
|
/** This value is not used. It is just there to force the
|
|
|
|
|
* compiler to map this enum to a 32 Bit integer. */
|
|
|
|
|
#ifndef SWIG
|
|
|
|
|
_aiComponent_Force32Bit = 0x9fffffff
|
|
|
|
|
_aiComponent_Force32Bit = 0x9fffffff
|
|
|
|
|
#endif
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// Remove a specific color channel 'n'
|
|
|
|
|
#define aiComponent_COLORSn(n) (1u << (n + 20u))
|
|
|
|
|
#define aiComponent_COLORSn(n) (1u << (n+20u))
|
|
|
|
|
|
|
|
|
|
// Remove a specific UV channel 'n'
|
|
|
|
|
#define aiComponent_TEXCOORDSn(n) (1u << (n + 25u))
|
|
|
|
|
#define aiComponent_TEXCOORDSn(n) (1u << (n+25u))
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Input parameter to the #aiProcess_RemoveComponent step:
|
|
|
|
@ -461,8 +471,8 @@ enum aiComponent {
|
|
|
|
|
* of the flags defined above) the import FAILS. Mainly because there is
|
|
|
|
|
* no data to work on anymore ...
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_PP_RVC_FLAGS \
|
|
|
|
|
"PP_RVC_FLAGS"
|
|
|
|
|
#define AI_CONFIG_PP_RVC_FLAGS \
|
|
|
|
|
"PP_RVC_FLAGS"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Input parameter to the #aiProcess_SortByPType step:
|
|
|
|
@ -473,8 +483,8 @@ enum aiComponent {
|
|
|
|
|
* be to exclude all line and point meshes from the import. This
|
|
|
|
|
* is an integer property, its default value is 0.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_PP_SBP_REMOVE \
|
|
|
|
|
"PP_SBP_REMOVE"
|
|
|
|
|
#define AI_CONFIG_PP_SBP_REMOVE \
|
|
|
|
|
"PP_SBP_REMOVE"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Input parameter to the #aiProcess_FindInvalidData step:
|
|
|
|
@ -485,8 +495,16 @@ enum aiComponent {
|
|
|
|
|
* abs(n0-n1)>epsilon holds true for all vector respectively quaternion
|
|
|
|
|
* components. The default value is 0.f - comparisons are exact then.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_PP_FID_ANIM_ACCURACY \
|
|
|
|
|
"PP_FID_ANIM_ACCURACY"
|
|
|
|
|
#define AI_CONFIG_PP_FID_ANIM_ACCURACY \
|
|
|
|
|
"PP_FID_ANIM_ACCURACY"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Input parameter to the #aiProcess_FindInvalidData step:
|
|
|
|
|
* Set to true to ignore texture coordinates. This may be useful if you have
|
|
|
|
|
* to assign different kind of textures like one for the summer or one for the winter.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_PP_FID_IGNORE_TEXTURECOORDS \
|
|
|
|
|
"PP_FID_IGNORE_TEXTURECOORDS"
|
|
|
|
|
|
|
|
|
|
// TransformUVCoords evaluates UV scalings
|
|
|
|
|
#define AI_UVTRAFO_SCALING 0x1
|
|
|
|
@ -500,14 +518,6 @@ enum aiComponent {
|
|
|
|
|
// Everything baked together -> default value
|
|
|
|
|
#define AI_UVTRAFO_ALL (AI_UVTRAFO_SCALING | AI_UVTRAFO_ROTATION | AI_UVTRAFO_TRANSLATION)
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Input parameter to the #aiProcess_FindInvalidData step:
|
|
|
|
|
* Set to true to ignore texture coordinates. This may be useful if you have
|
|
|
|
|
* to assign different kind of textures like one for the summer or one for the winter.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_PP_FID_IGNORE_TEXTURECOORDS \
|
|
|
|
|
"PP_FID_IGNORE_TEXTURECOORDS"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Input parameter to the #aiProcess_TransformUVCoords step:
|
|
|
|
|
* Specifies which UV transformations are evaluated.
|
|
|
|
@ -516,8 +526,8 @@ enum aiComponent {
|
|
|
|
|
* property, of course). By default all transformations are enabled
|
|
|
|
|
* (AI_UVTRAFO_ALL).
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_PP_TUV_EVALUATE \
|
|
|
|
|
"PP_TUV_EVALUATE"
|
|
|
|
|
#define AI_CONFIG_PP_TUV_EVALUATE \
|
|
|
|
|
"PP_TUV_EVALUATE"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief A hint to assimp to favour speed against import quality.
|
|
|
|
@ -528,14 +538,16 @@ enum aiComponent {
|
|
|
|
|
* This property is expected to be an integer, != 0 stands for true.
|
|
|
|
|
* The default value is 0.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_FAVOUR_SPEED \
|
|
|
|
|
"FAVOUR_SPEED"
|
|
|
|
|
#define AI_CONFIG_FAVOUR_SPEED \
|
|
|
|
|
"FAVOUR_SPEED"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ###########################################################################
|
|
|
|
|
// IMPORTER SETTINGS
|
|
|
|
|
// Various stuff to fine-tune the behaviour of specific importer plugins.
|
|
|
|
|
// ###########################################################################
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Set whether the fbx importer will merge all geometry layers present
|
|
|
|
|
* in the source file or take only the first.
|
|
|
|
@ -544,7 +556,7 @@ enum aiComponent {
|
|
|
|
|
* Property type: bool
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_IMPORT_FBX_READ_ALL_GEOMETRY_LAYERS \
|
|
|
|
|
"IMPORT_FBX_READ_ALL_GEOMETRY_LAYERS"
|
|
|
|
|
"IMPORT_FBX_READ_ALL_GEOMETRY_LAYERS"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Set whether the fbx importer will read all materials present in the
|
|
|
|
@ -556,7 +568,7 @@ enum aiComponent {
|
|
|
|
|
* Property type: bool
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_IMPORT_FBX_READ_ALL_MATERIALS \
|
|
|
|
|
"IMPORT_FBX_READ_ALL_MATERIALS"
|
|
|
|
|
"IMPORT_FBX_READ_ALL_MATERIALS"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Set whether the fbx importer will read materials.
|
|
|
|
@ -565,7 +577,7 @@ enum aiComponent {
|
|
|
|
|
* Property type: bool
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_IMPORT_FBX_READ_MATERIALS \
|
|
|
|
|
"IMPORT_FBX_READ_MATERIALS"
|
|
|
|
|
"IMPORT_FBX_READ_MATERIALS"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Set whether the fbx importer will read embedded textures.
|
|
|
|
@ -574,7 +586,7 @@ enum aiComponent {
|
|
|
|
|
* Property type: bool
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_IMPORT_FBX_READ_TEXTURES \
|
|
|
|
|
"IMPORT_FBX_READ_TEXTURES"
|
|
|
|
|
"IMPORT_FBX_READ_TEXTURES"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Set whether the fbx importer will read cameras.
|
|
|
|
@ -583,7 +595,7 @@ enum aiComponent {
|
|
|
|
|
* Property type: bool
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_IMPORT_FBX_READ_CAMERAS \
|
|
|
|
|
"IMPORT_FBX_READ_CAMERAS"
|
|
|
|
|
"IMPORT_FBX_READ_CAMERAS"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Set whether the fbx importer will read light sources.
|
|
|
|
@ -592,7 +604,7 @@ enum aiComponent {
|
|
|
|
|
* Property type: bool
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_IMPORT_FBX_READ_LIGHTS \
|
|
|
|
|
"IMPORT_FBX_READ_LIGHTS"
|
|
|
|
|
"IMPORT_FBX_READ_LIGHTS"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Set whether the fbx importer will read animations.
|
|
|
|
@ -601,7 +613,7 @@ enum aiComponent {
|
|
|
|
|
* Property type: bool
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_IMPORT_FBX_READ_ANIMATIONS \
|
|
|
|
|
"IMPORT_FBX_READ_ANIMATIONS"
|
|
|
|
|
"IMPORT_FBX_READ_ANIMATIONS"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Set whether the fbx importer will act in strict mode in which only
|
|
|
|
@ -613,7 +625,7 @@ enum aiComponent {
|
|
|
|
|
* Property type: bool
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_IMPORT_FBX_STRICT_MODE \
|
|
|
|
|
"IMPORT_FBX_STRICT_MODE"
|
|
|
|
|
"IMPORT_FBX_STRICT_MODE"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Set whether the fbx importer will preserve pivot points for
|
|
|
|
@ -624,7 +636,7 @@ enum aiComponent {
|
|
|
|
|
* Property type: bool
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_IMPORT_FBX_PRESERVE_PIVOTS \
|
|
|
|
|
"IMPORT_FBX_PRESERVE_PIVOTS"
|
|
|
|
|
"IMPORT_FBX_PRESERVE_PIVOTS"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Specifies whether the importer will drop empty animation curves or
|
|
|
|
@ -635,26 +647,26 @@ enum aiComponent {
|
|
|
|
|
* Property type: bool
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_IMPORT_FBX_OPTIMIZE_EMPTY_ANIMATION_CURVES \
|
|
|
|
|
"IMPORT_FBX_OPTIMIZE_EMPTY_ANIMATION_CURVES"
|
|
|
|
|
"IMPORT_FBX_OPTIMIZE_EMPTY_ANIMATION_CURVES"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Set whether the fbx importer will use the legacy embedded texture naming.
|
|
|
|
|
*
|
|
|
|
|
* The default value is false (0)
|
|
|
|
|
* Property type: bool
|
|
|
|
|
*/
|
|
|
|
|
*
|
|
|
|
|
* The default value is false (0)
|
|
|
|
|
* Property type: bool
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_IMPORT_FBX_EMBEDDED_TEXTURES_LEGACY_NAMING \
|
|
|
|
|
"AI_CONFIG_IMPORT_FBX_EMBEDDED_TEXTURES_LEGACY_NAMING"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Set wether the FBX importer shall not remove empty bones.
|
|
|
|
|
*
|
|
|
|
|
/** @brief Set wether the importer shall not remove empty bones.
|
|
|
|
|
*
|
|
|
|
|
* Empty bone are often used to define connections for other models.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_IMPORT_REMOVE_EMPTY_BONES \
|
|
|
|
|
"AI_CONFIG_IMPORT_REMOVE_EMPTY_BONES"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Set wether the FBX importer shall convert the unit from cm to m.
|
|
|
|
|
*/
|
|
|
|
@ -674,14 +686,14 @@ enum aiComponent {
|
|
|
|
|
* want to override the global setting).
|
|
|
|
|
* Property type: integer.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_IMPORT_GLOBAL_KEYFRAME "IMPORT_GLOBAL_KEYFRAME"
|
|
|
|
|
#define AI_CONFIG_IMPORT_GLOBAL_KEYFRAME "IMPORT_GLOBAL_KEYFRAME"
|
|
|
|
|
|
|
|
|
|
#define AI_CONFIG_IMPORT_MD3_KEYFRAME "IMPORT_MD3_KEYFRAME"
|
|
|
|
|
#define AI_CONFIG_IMPORT_MD2_KEYFRAME "IMPORT_MD2_KEYFRAME"
|
|
|
|
|
#define AI_CONFIG_IMPORT_MDL_KEYFRAME "IMPORT_MDL_KEYFRAME"
|
|
|
|
|
#define AI_CONFIG_IMPORT_MDC_KEYFRAME "IMPORT_MDC_KEYFRAME"
|
|
|
|
|
#define AI_CONFIG_IMPORT_SMD_KEYFRAME "IMPORT_SMD_KEYFRAME"
|
|
|
|
|
#define AI_CONFIG_IMPORT_UNREAL_KEYFRAME "IMPORT_UNREAL_KEYFRAME"
|
|
|
|
|
#define AI_CONFIG_IMPORT_MD3_KEYFRAME "IMPORT_MD3_KEYFRAME"
|
|
|
|
|
#define AI_CONFIG_IMPORT_MD2_KEYFRAME "IMPORT_MD2_KEYFRAME"
|
|
|
|
|
#define AI_CONFIG_IMPORT_MDL_KEYFRAME "IMPORT_MDL_KEYFRAME"
|
|
|
|
|
#define AI_CONFIG_IMPORT_MDC_KEYFRAME "IMPORT_MDC_KEYFRAME"
|
|
|
|
|
#define AI_CONFIG_IMPORT_SMD_KEYFRAME "IMPORT_SMD_KEYFRAME"
|
|
|
|
|
#define AI_CONFIG_IMPORT_UNREAL_KEYFRAME "IMPORT_UNREAL_KEYFRAME"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** Smd load multiple animations
|
|
|
|
@ -697,7 +709,7 @@ enum aiComponent {
|
|
|
|
|
* Property type: bool. Default value: true.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_IMPORT_AC_SEPARATE_BFCULL \
|
|
|
|
|
"IMPORT_AC_SEPARATE_BFCULL"
|
|
|
|
|
"IMPORT_AC_SEPARATE_BFCULL"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Configures whether the AC loader evaluates subdivision surfaces (
|
|
|
|
@ -707,8 +719,8 @@ enum aiComponent {
|
|
|
|
|
*
|
|
|
|
|
* * Property type: bool. Default value: true.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_IMPORT_AC_EVAL_SUBDIVISION \
|
|
|
|
|
"IMPORT_AC_EVAL_SUBDIVISION"
|
|
|
|
|
#define AI_CONFIG_IMPORT_AC_EVAL_SUBDIVISION \
|
|
|
|
|
"IMPORT_AC_EVAL_SUBDIVISION"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Configures the UNREAL 3D loader to separate faces with different
|
|
|
|
@ -717,7 +729,7 @@ enum aiComponent {
|
|
|
|
|
* * Property type: bool. Default value: true.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_IMPORT_UNREAL_HANDLE_FLAGS \
|
|
|
|
|
"UNREAL_HANDLE_FLAGS"
|
|
|
|
|
"UNREAL_HANDLE_FLAGS"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Configures the terragen import plugin to compute uv's for
|
|
|
|
@ -730,7 +742,7 @@ enum aiComponent {
|
|
|
|
|
* * Property type: bool. Default value: false.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_IMPORT_TER_MAKE_UVS \
|
|
|
|
|
"IMPORT_TER_MAKE_UVS"
|
|
|
|
|
"IMPORT_TER_MAKE_UVS"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Configures the ASE loader to always reconstruct normal vectors
|
|
|
|
@ -739,8 +751,8 @@ enum aiComponent {
|
|
|
|
|
* Some ASE files have carry invalid normals, other don't.
|
|
|
|
|
* * Property type: bool. Default value: true.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_IMPORT_ASE_RECONSTRUCT_NORMALS \
|
|
|
|
|
"IMPORT_ASE_RECONSTRUCT_NORMALS"
|
|
|
|
|
#define AI_CONFIG_IMPORT_ASE_RECONSTRUCT_NORMALS \
|
|
|
|
|
"IMPORT_ASE_RECONSTRUCT_NORMALS"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Configures the M3D loader to detect and process multi-part
|
|
|
|
@ -752,7 +764,7 @@ enum aiComponent {
|
|
|
|
|
* Property type: bool. Default value: true.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_IMPORT_MD3_HANDLE_MULTIPART \
|
|
|
|
|
"IMPORT_MD3_HANDLE_MULTIPART"
|
|
|
|
|
"IMPORT_MD3_HANDLE_MULTIPART"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Tells the MD3 loader which skin files to load.
|
|
|
|
@ -764,7 +776,7 @@ enum aiComponent {
|
|
|
|
|
* Property type: String. Default value: "default".
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_IMPORT_MD3_SKIN_NAME \
|
|
|
|
|
"IMPORT_MD3_SKIN_NAME"
|
|
|
|
|
"IMPORT_MD3_SKIN_NAME"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Specify the Quake 3 shader file to be used for a particular
|
|
|
|
@ -782,7 +794,7 @@ enum aiComponent {
|
|
|
|
|
* Property type: String. Default value: n/a.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_IMPORT_MD3_SHADER_SRC \
|
|
|
|
|
"IMPORT_MD3_SHADER_SRC"
|
|
|
|
|
"IMPORT_MD3_SHADER_SRC"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Configures the LWO loader to load just one layer from the model.
|
|
|
|
@ -795,8 +807,8 @@ enum aiComponent {
|
|
|
|
|
* layer name may not be empty.<br>
|
|
|
|
|
* Property type: Integer. Default value: all layers are loaded.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_IMPORT_LWO_ONE_LAYER_ONLY \
|
|
|
|
|
"IMPORT_LWO_ONE_LAYER_ONLY"
|
|
|
|
|
#define AI_CONFIG_IMPORT_LWO_ONE_LAYER_ONLY \
|
|
|
|
|
"IMPORT_LWO_ONE_LAYER_ONLY"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Configures the MD5 loader to not load the MD5ANIM file for
|
|
|
|
@ -809,8 +821,8 @@ enum aiComponent {
|
|
|
|
|
*
|
|
|
|
|
* * Property type: bool. Default value: false.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_IMPORT_MD5_NO_ANIM_AUTOLOAD \
|
|
|
|
|
"IMPORT_MD5_NO_ANIM_AUTOLOAD"
|
|
|
|
|
#define AI_CONFIG_IMPORT_MD5_NO_ANIM_AUTOLOAD \
|
|
|
|
|
"IMPORT_MD5_NO_ANIM_AUTOLOAD"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Defines the begin of the time range for which the LWS loader
|
|
|
|
@ -828,10 +840,10 @@ enum aiComponent {
|
|
|
|
|
*
|
|
|
|
|
* @see AI_CONFIG_IMPORT_LWS_ANIM_END - end of the imported time range
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_IMPORT_LWS_ANIM_START \
|
|
|
|
|
"IMPORT_LWS_ANIM_START"
|
|
|
|
|
#define AI_CONFIG_IMPORT_LWS_ANIM_END \
|
|
|
|
|
"IMPORT_LWS_ANIM_END"
|
|
|
|
|
#define AI_CONFIG_IMPORT_LWS_ANIM_START \
|
|
|
|
|
"IMPORT_LWS_ANIM_START"
|
|
|
|
|
#define AI_CONFIG_IMPORT_LWS_ANIM_END \
|
|
|
|
|
"IMPORT_LWS_ANIM_END"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Defines the output frame rate of the IRR loader.
|
|
|
|
@ -841,8 +853,8 @@ enum aiComponent {
|
|
|
|
|
* are returned by the converter.<br>
|
|
|
|
|
* Property type: integer. Default value: 100
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_IMPORT_IRR_ANIM_FPS \
|
|
|
|
|
"IMPORT_IRR_ANIM_FPS"
|
|
|
|
|
#define AI_CONFIG_IMPORT_IRR_ANIM_FPS \
|
|
|
|
|
"IMPORT_IRR_ANIM_FPS"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Ogre Importer will try to find referenced materials from this file.
|
|
|
|
@ -855,7 +867,7 @@ enum aiComponent {
|
|
|
|
|
* Property type: String. Default value: Scene.material.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_IMPORT_OGRE_MATERIAL_FILE \
|
|
|
|
|
"IMPORT_OGRE_MATERIAL_FILE"
|
|
|
|
|
"IMPORT_OGRE_MATERIAL_FILE"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Ogre Importer detect the texture usage from its filename.
|
|
|
|
@ -875,15 +887,15 @@ enum aiComponent {
|
|
|
|
|
* Property type: Bool. Default value: false.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_IMPORT_OGRE_TEXTURETYPE_FROM_FILENAME \
|
|
|
|
|
"IMPORT_OGRE_TEXTURETYPE_FROM_FILENAME"
|
|
|
|
|
"IMPORT_OGRE_TEXTURETYPE_FROM_FILENAME"
|
|
|
|
|
|
|
|
|
|
/** @brief Specifies whether the Android JNI asset extraction is supported.
|
|
|
|
|
/** @brief Specifies whether the Android JNI asset extraction is supported.
|
|
|
|
|
*
|
|
|
|
|
* Turn on this option if you want to manage assets in native
|
|
|
|
|
* Android application without having to keep the internal directory and asset
|
|
|
|
|
* manager pointer.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_ANDROID_JNI_ASSIMP_MANAGER_SUPPORT "AI_CONFIG_ANDROID_JNI_ASSIMP_MANAGER_SUPPORT"
|
|
|
|
|
#define AI_CONFIG_ANDROID_JNI_ASSIMP_MANAGER_SUPPORT "AI_CONFIG_ANDROID_JNI_ASSIMP_MANAGER_SUPPORT"
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/** @brief Specifies whether the IFC loader skips over IfcSpace elements.
|
|
|
|
@ -922,7 +934,7 @@ enum aiComponent {
|
|
|
|
|
|
|
|
|
|
// default value for AI_CONFIG_IMPORT_IFC_SMOOTHING_ANGLE
|
|
|
|
|
#if (!defined AI_IMPORT_IFC_DEFAULT_SMOOTHING_ANGLE)
|
|
|
|
|
#define AI_IMPORT_IFC_DEFAULT_SMOOTHING_ANGLE 10.0f
|
|
|
|
|
# define AI_IMPORT_IFC_DEFAULT_SMOOTHING_ANGLE 10.0f
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
@ -938,7 +950,7 @@ enum aiComponent {
|
|
|
|
|
|
|
|
|
|
// default value for AI_CONFIG_IMPORT_IFC_CYLINDRICAL_TESSELLATION
|
|
|
|
|
#if (!defined AI_IMPORT_IFC_DEFAULT_CYLINDRICAL_TESSELLATION)
|
|
|
|
|
#define AI_IMPORT_IFC_DEFAULT_CYLINDRICAL_TESSELLATION 32
|
|
|
|
|
# define AI_IMPORT_IFC_DEFAULT_CYLINDRICAL_TESSELLATION 32
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
@ -969,8 +981,12 @@ enum aiComponent {
|
|
|
|
|
|
|
|
|
|
#define AI_CONFIG_EXPORT_XFILE_64BIT "EXPORT_XFILE_64BIT"
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
/** @brief Specifies whether the assimp export shall be able to export point clouds
|
|
|
|
|
*
|
|
|
|
|
* When this flag is not defined the render data has to contain valid faces.
|
|
|
|
|
* Point clouds are only a collection of vertices which have nor spatial organization
|
|
|
|
|
* by a face and the validation process will remove them. Enabling this feature will
|
|
|
|
|
* switch off the flag and enable the functionality to export pure point clouds.
|
|
|
|
|
*/
|
|
|
|
|
#define AI_CONFIG_EXPORT_POINT_CLOUDS "EXPORT_POINT_CLOUDS"
|
|
|
|
|
|
|
|
|
@ -980,7 +996,7 @@ enum aiComponent {
|
|
|
|
|
#define AI_CONFIG_GLOBAL_SCALE_FACTOR_KEY "GLOBAL_SCALE_FACTOR"
|
|
|
|
|
|
|
|
|
|
#if (!defined AI_CONFIG_GLOBAL_SCALE_FACTOR_DEFAULT)
|
|
|
|
|
#define AI_CONFIG_GLOBAL_SCALE_FACTOR_DEFAULT 1.0f
|
|
|
|
|
# define AI_CONFIG_GLOBAL_SCALE_FACTOR_DEFAULT 1.0f
|
|
|
|
|
#endif // !! AI_DEBONE_THRESHOLD
|
|
|
|
|
|
|
|
|
|
#define AI_CONFIG_APP_SCALE_KEY "APP_SCALE_FACTOR"
|
|
|
|
@ -997,7 +1013,6 @@ enum aiComponent {
|
|
|
|
|
* Property type: Bool. Default value: undefined.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/* #cmakedefine ASSIMP_DOUBLE_PRECISION 1 */
|
|
|
|
|
/* #undef ASSIMP_DOUBLE_PRECISION */
|
|
|
|
|
|
|
|
|
|
#endif // !! AI_CONFIG_H_INC
|
|
|
|
|
|