Assimp
v4.1. (December 2018)
|
Defines constants for configurable properties for the library. More...
Enumerations | |
enum | aiComponent : uint { NORMALS = 0x2, TANGENTS_AND_BITANGENTS = 0x4, COLORS = 0x8, TEXCOORDS = 0x10, BONEWEIGHTS = 0x20, ANIMATIONS = 0x40, TEXTURES = 0x80, LIGHTS = 0x100, CAMERAS = 0x200, MESHES = 0x400, MATERIALS = 0x800 } |
Components of the aiScene and aiMesh data structures that can be excluded from the import by using the RemoveComponent step. More... | |
Functions | |
uint | aiComponent_COLORSn (uint n) |
Specifies a certain color channel to remove. More... | |
uint | aiComponent_TEXCOORDSn (uint n) |
Specifies a certain UV coordinate channel to remove. More... | |
version (none) | |
Variables | |
const char * | AI_CONFIG_FAVOUR_SPEED = "FAVOUR_SPEED" |
A hint to assimp to favour speed against import quality. More... | |
const char * | AI_CONFIG_IMPORT_AC_SEPARATE_BFCULL = "IMPORT_AC_SEPARATE_BFCULL" |
Configures the AC loader to collect all surfaces which have the "Backface cull" flag set in separate meshes. More... | |
const char * | AI_CONFIG_IMPORT_ASE_RECONSTRUCT_NORMALS = "IMPORT_ASE_RECONSTRUCT_NORMALS" |
Configures the ASE loader to always reconstruct normal vectors basing on the smoothing groups loaded from the file. More... | |
const char * | AI_CONFIG_IMPORT_GLOBAL_KEYFRAME = "IMPORT_GLOBAL_KEYFRAME" |
Set the vertex animation keyframe to be imported. More... | |
const char * | AI_CONFIG_IMPORT_IRR_ANIM_FPS = "IMPORT_IRR_ANIM_FPS" |
Defines the output frame rate of the IRR loader. More... | |
const char * | AI_CONFIG_IMPORT_LWO_ONE_LAYER_ONLY = "IMPORT_LWO_ONE_LAYER_ONLY" |
Configures the LWO loader to load just one layer from the model. More... | |
const char * | AI_CONFIG_IMPORT_LWS_ANIM_END = "IMPORT_LWS_ANIM_END" |
const char * | AI_CONFIG_IMPORT_LWS_ANIM_START = "IMPORT_LWS_ANIM_START" |
Defines the begin of the time range for which the LWS loader evaluates animations and computes aiNodeAnim s. More... | |
const char * | AI_CONFIG_IMPORT_MD2_KEYFRAME = "IMPORT_MD2_KEYFRAME" |
const char * | AI_CONFIG_IMPORT_MD3_HANDLE_MULTIPART = "IMPORT_MD3_HANDLE_MULTIPART" |
Configures the M3D loader to detect and process multi-part Quake player models. More... | |
const char * | AI_CONFIG_IMPORT_MD3_KEYFRAME = "IMPORT_MD3_KEYFRAME" |
const char * | AI_CONFIG_IMPORT_MD3_SHADER_SRC = "IMPORT_MD3_SHADER_SRC" |
Specify the Quake 3 shader file to be used for a particular MD3 file. More... | |
const char * | AI_CONFIG_IMPORT_MD3_SKIN_NAME = "IMPORT_MD3_SKIN_NAME" |
Tells the MD3 loader which skin files to load. More... | |
const char * | AI_CONFIG_IMPORT_MD5_NO_ANIM_AUTOLOAD = "IMPORT_MD5_NO_ANIM_AUTOLOAD" |
Configures the MD5 loader to not load the MD5ANIM file for a MD5MESH file automatically. More... | |
const char * | AI_CONFIG_IMPORT_MDC_KEYFRAME = "IMPORT_MDC_KEYFRAME" |
const char * | AI_CONFIG_IMPORT_MDL_COLORMAP = "IMPORT_MDL_COLORMAP" |
Sets the colormap (= palette) to be used to decode embedded textures in MDL (Quake or 3DGS) files. More... | |
const char * | AI_CONFIG_IMPORT_MDL_KEYFRAME = "IMPORT_MDL_KEYFRAME" |
const char * | AI_CONFIG_IMPORT_OGRE_MATERIAL_FILE = "IMPORT_OGRE_MATERIAL_FILE" |
Ogre Importer will try to load this material file. More... | |
const char * | AI_CONFIG_IMPORT_SMD_KEYFRAME = "IMPORT_SMD_KEYFRAME" |
const char * | AI_CONFIG_IMPORT_TER_MAKE_UVS = "IMPORT_TER_MAKE_UVS" |
Configures the terragen import plugin to compute uv's for terrains, if not given. More... | |
const char * | AI_CONFIG_IMPORT_UNREAL_HANDLE_FLAGS = "UNREAL_HANDLE_FLAGS" |
Configures the UNREAL 3D loader to separate faces with different surface flags (e.g. More... | |
const char * | AI_CONFIG_IMPORT_UNREAL_KEYFRAME = "IMPORT_UNREAL_KEYFRAME" |
const char * | AI_CONFIG_PP_CT_MAX_SMOOTHING_ANGLE = "PP_CT_MAX_SMOOTHING_ANGLE" |
Specifies the maximum angle that may be between two vertex tangents that their tangents and bitangents are smoothed. More... | |
const char * | AI_CONFIG_PP_FD_REMOVE = "PP_FD_REMOVE" |
Configures the FindDegenerates step to remove degenerated primitives from the import – immediately. More... | |
const char * | AI_CONFIG_PP_FID_ANIM_ACCURACY = "PP_FID_ANIM_ACCURACY" |
Input parameter to the FindInvalidData step: Specifies the floating-point accuracy for animation values. More... | |
const char * | AI_CONFIG_PP_GSN_MAX_SMOOTHING_ANGLE = "PP_GSN_MAX_SMOOTHING_ANGLE" |
Specifies the maximum angle that may be between two face normals at the same vertex position that their are smoothed together. More... | |
const char * | AI_CONFIG_PP_ICL_PTCACHE_SIZE = "PP_ICL_PTCACHE_SIZE" |
Sets the size of the post-transform vertex cache to optimize the vertices for. More... | |
const char * | AI_CONFIG_PP_LBW_MAX_WEIGHTS = "PP_LBW_MAX_WEIGHTS" |
Sets the maximum number of bones affecting a single vertex. More... | |
const char * | AI_CONFIG_PP_OG_EXCLUDE_LIST = "PP_OG_EXCLUDE_LIST" |
Configures the OptimizeGraph step to preserve nodes matching a name in a given list. More... | |
const char * | AI_CONFIG_PP_PTV_KEEP_HIERARCHY = "PP_PTV_KEEP_HIERARCHY" |
Configures the PretransformVertices step to keep the scene hierarchy. More... | |
const char * | AI_CONFIG_PP_PTV_NORMALIZE = "PP_PTV_NORMALIZE" |
Configures the PretransformVertices step to normalize all vertex components into the -1...1 range. More... | |
const char * | AI_CONFIG_PP_RRM_EXCLUDE_LIST = "PP_RRM_EXCLUDE_LIST" |
Configures the RemoveRedundantMaterials step to keep materials matching a name in a given list. More... | |
const char * | AI_CONFIG_PP_RVC_FLAGS = "PP_RVC_FLAGS" |
Input parameter to the RemoveComponent step: Specifies the parts of the data structure to be removed. More... | |
const char * | AI_CONFIG_PP_SBP_REMOVE = "PP_SBP_REMOVE" |
Input parameter to the SortByPType step: Specifies which primitive types are removed by the step. More... | |
const char * | AI_CONFIG_PP_SLM_TRIANGLE_LIMIT = "PP_SLM_TRIANGLE_LIMIT" |
Sets the maximum number of triangles in a mesh. More... | |
const char * | AI_CONFIG_PP_SLM_VERTEX_LIMIT = "PP_SLM_VERTEX_LIMIT" |
Sets the maximum number of vertices in a mesh. More... | |
const char * | AI_CONFIG_PP_TUV_EVALUATE = "PP_TUV_EVALUATE" |
Input parameter to the TransformUVCoords step: Specifies which UV transformations are evaluated. More... | |
const | AI_LMW_MAX_WEIGHTS = 0x4 |
The default value for the AI_CONFIG_PP_LBW_MAX_WEIGHTS setting. More... | |
const | AI_SLM_DEFAULT_MAX_TRIANGLES = 1000000 |
The default value for the AI_CONFIG_PP_SLM_TRIANGLE_LIMIT setting. More... | |
const | AI_SLM_DEFAULT_MAX_VERTICES = 1000000 |
The default value for the AI_CONFIG_PP_SLM_VERTEX_LIMIT setting. More... | |
const | AI_UVTRAFO_ALL |
The TransformUVCoords step evaluates all UV translations. More... | |
const | AI_UVTRAFO_ROTATION = 0x2 |
The TransformUVCoords step evaluates UV rotations. More... | |
const | AI_UVTRAFO_SCALING = 0x1 |
The TransformUVCoords step evaluates UV scalings. More... | |
const | AI_UVTRAFO_TRANSLATION = 0x4 |
The TransformUVCoords step evaluates UV translation. More... | |
C | |
const | PP_ICL_PTCACHE_SIZE = 12 |
The default value for the AI_CONFIG_PP_ICL_PTCACHE_SIZE config option. More... | |
Defines constants for configurable properties for the library.
These are set via aiSetImportPropertyInteger()
, aiSetImportPropertyFloat()
and aiSetImportPropertyString()
.
enum assimp::config::aiComponent : uint |
Components of the aiScene
and aiMesh
data structures that can be excluded from the import by using the RemoveComponent
step.
See the documentation to RemoveComponent
for more details.
Enumerator | |
---|---|
NORMALS | Normal vectors. |
TANGENTS_AND_BITANGENTS | Tangents and bitangents. |
COLORS | All color sets. Use aiComponent_COLORSn( N ) to specify the N'th set. |
TEXCOORDS | All texture UV coordinate sets. Use aiComponent_TEXCOORDn( N ) to specify the N'th set. |
BONEWEIGHTS | Bone weights from all meshes. The corresponding scenegraph nodes are not removed. Use the |
ANIMATIONS | Node animations ( The corresponding scenegraph nodes are not removed. Use the |
TEXTURES | Embedded textures ( |
LIGHTS | Light sources ( The corresponding scenegraph nodes are not removed. Use the |
CAMERAS | Cameras ( The corresponding scenegraph nodes are not removed. Use the |
MESHES | Meshes ( |
MATERIALS | Materials. One default material will be generated, so |
uint assimp::config::aiComponent_COLORSn | ( | uint | n | ) |
Specifies a certain color channel to remove.
uint assimp::config::aiComponent_TEXCOORDSn | ( | uint | n | ) |
Specifies a certain UV coordinate channel to remove.
assimp::config::version | ( | none | ) |
Set Assimp's multithreading policy.
This setting is ignored if Assimp was built without boost.thread support (ASSIMP_BUILD_NO_THREADING
, which is implied by ASSIMP_BUILD_BOOST_WORKAROUND
).
Possible values are: -1 to let Assimp decide what to do, 0 to disable multithreading entirely and any number larger than 0 to force a specific number of threads. Assimp is always free to ignore this settings, which is merely a hint. Usually, the default value (-1) will be fine. However, if Assimp is used concurrently from multiple user threads, it might be useful to limit each Importer instance to a specific number of cores.
For more information, see the threading page in the main Assimp docs.
Property type: int, default value: -1.
const char* assimp::config::AI_CONFIG_FAVOUR_SPEED = "FAVOUR_SPEED" |
A hint to assimp to favour speed against import quality.
Enabling this option may result in faster loading, but it needn't. It represents just a hint to loaders and post-processing steps to use faster code paths, if possible.
Default value: false.
Property type: bool.
const char* assimp::config::AI_CONFIG_IMPORT_AC_SEPARATE_BFCULL = "IMPORT_AC_SEPARATE_BFCULL" |
Configures the AC loader to collect all surfaces which have the "Backface cull" flag set in separate meshes.
Default value: true.
Property type: bool.
const char* assimp::config::AI_CONFIG_IMPORT_ASE_RECONSTRUCT_NORMALS = "IMPORT_ASE_RECONSTRUCT_NORMALS" |
Configures the ASE loader to always reconstruct normal vectors basing on the smoothing groups loaded from the file.
Many ASE files have invalid normals (they're not orthonormal).
Default value: true.
Property type: bool.
const char* assimp::config::AI_CONFIG_IMPORT_GLOBAL_KEYFRAME = "IMPORT_GLOBAL_KEYFRAME" |
Set the vertex animation keyframe to be imported.
Assimp does not support vertex keyframes (only bone animation is supported). The library reads only one frame of models with vertex animations.
Default value: 0 (first frame).
Property type: integer.
Note: This option applies to all importers. However, it is also possible to override the global setting for a specific loader. You can use the AI_CONFIG_IMPORT_XXX_KEYFRAME options (where XXX is a placeholder for the file format for which you want to override the global setting).
const char* assimp::config::AI_CONFIG_IMPORT_IRR_ANIM_FPS = "IMPORT_IRR_ANIM_FPS" |
const char* assimp::config::AI_CONFIG_IMPORT_LWO_ONE_LAYER_ONLY = "IMPORT_LWO_ONE_LAYER_ONLY" |
Configures the LWO loader to load just one layer from the model.
LWO files consist of layers and in some cases it could be useful to load only one of them. This property can be either a string – which specifies the name of the layer – or an integer – the index of the layer. If the property is not set the whole LWO model is loaded. Loading fails if the requested layer is not available. The layer index is zero-based and the layer name may not be empty.
Default value: all layers are loaded.
Property type: integer/string.
const char* assimp::config::AI_CONFIG_IMPORT_LWS_ANIM_END = "IMPORT_LWS_ANIM_END" |
const char* assimp::config::AI_CONFIG_IMPORT_LWS_ANIM_START = "IMPORT_LWS_ANIM_START" |
Defines the begin of the time range for which the LWS loader evaluates animations and computes aiNodeAnim
s.
Assimp provides full conversion of LightWave's envelope system, including pre and post conditions. The loader computes linearly subsampled animation chanels with the frame rate given in the LWS file. This property defines the start time. Note: animation channels are only generated if a node has at least one envelope with more tan one key assigned. This property. is given in frames, '0' is the first frame. By default, if this property is not set, the importer takes the animation start from the input LWS file ('FirstFrame' line).
Default value: read from file.
Property type: integer.
See: AI_CONFIG_IMPORT_LWS_ANIM_END
– end of the imported time range
const char* assimp::config::AI_CONFIG_IMPORT_MD2_KEYFRAME = "IMPORT_MD2_KEYFRAME" |
const char* assimp::config::AI_CONFIG_IMPORT_MD3_HANDLE_MULTIPART = "IMPORT_MD3_HANDLE_MULTIPART" |
Configures the M3D loader to detect and process multi-part Quake player models.
These models usually consist of three files, lower.md3
, upper.md3
and head.md3
. If this property is set to true, Assimp will try to load and combine all three files if one of them is loaded.
Default value: true.
Property type: bool.
const char* assimp::config::AI_CONFIG_IMPORT_MD3_KEYFRAME = "IMPORT_MD3_KEYFRAME" |
const char* assimp::config::AI_CONFIG_IMPORT_MD3_SHADER_SRC = "IMPORT_MD3_SHADER_SRC" |
Specify the Quake 3 shader file to be used for a particular MD3 file.
This can also be a search path.
By default Assimp's behaviour is as follows: If a MD3 file [any_path]/models/[any_q3_subdir]/[model_name]/[file_name].md3
is loaded, the library tries to locate the corresponding shader file in [any_path]/scripts/[model_name].shader
. This property overrides this behaviour. It can either specify a full path to the shader to be loaded or alternatively the path (relative or absolute) to the directory where the shaders for all MD3s to be loaded reside. Assimp attempts to open [dir]/[model_name].shader
first, [dir]/[file_name].shader
is the fallback file. Note that [dir]
should have a terminal (back)slash.
Default value: n/a.
Property type: string.
const char* assimp::config::AI_CONFIG_IMPORT_MD3_SKIN_NAME = "IMPORT_MD3_SKIN_NAME" |
Tells the MD3 loader which skin files to load.
When loading MD3 files, Assimp checks whether a file <md3_file_name>_<skin_name>.skin
is existing. These files are used by Quake 3 to be able to assign different skins (e.g. red and blue team) to models. 'default', 'red', 'blue' are typical skin names.
Default value: "default".
Property type: string.
const char* assimp::config::AI_CONFIG_IMPORT_MD5_NO_ANIM_AUTOLOAD = "IMPORT_MD5_NO_ANIM_AUTOLOAD" |
Configures the MD5 loader to not load the MD5ANIM file for a MD5MESH file automatically.
The default strategy is to look for a file with the same name but the MD5ANIM extension in the same directory. If it is found, it is loaded and combined with the MD5MESH file. This configuration option can be used to disable this behaviour.
Default value: false.
Property type: bool.
const char* assimp::config::AI_CONFIG_IMPORT_MDC_KEYFRAME = "IMPORT_MDC_KEYFRAME" |
const char* assimp::config::AI_CONFIG_IMPORT_MDL_COLORMAP = "IMPORT_MDL_COLORMAP" |
Sets the colormap (= palette) to be used to decode embedded textures in MDL (Quake or 3DGS) files.
This must be a valid path to a file. The file is 768 (256*3) bytes large and contains RGB triplets for each of the 256 palette entries. The default value is colormap.lmp. If the file is not found, a default palette (from Quake 1) is used.
Property type: string.
const char* assimp::config::AI_CONFIG_IMPORT_MDL_KEYFRAME = "IMPORT_MDL_KEYFRAME" |
const char* assimp::config::AI_CONFIG_IMPORT_OGRE_MATERIAL_FILE = "IMPORT_OGRE_MATERIAL_FILE" |
Ogre Importer will try to load this material file.
Ogre Mehs contain only the material name, not the material file. If there is no material file with the same name as the material, Ogre Importer will try to load this file and search the material in it.
Property type: string. Default value: "Scene.material".
const char* assimp::config::AI_CONFIG_IMPORT_SMD_KEYFRAME = "IMPORT_SMD_KEYFRAME" |
const char* assimp::config::AI_CONFIG_IMPORT_TER_MAKE_UVS = "IMPORT_TER_MAKE_UVS" |
Configures the terragen import plugin to compute uv's for terrains, if not given.
Furthermore, a default texture is assigned.
UV coordinates for terrains are so simple to compute that you'll usually want to compute them on your own, if you need them. This option is intended for model viewers which want to offer an easy way to apply textures to terrains.
Default value: false.
Property type: bool.
const char* assimp::config::AI_CONFIG_IMPORT_UNREAL_HANDLE_FLAGS = "UNREAL_HANDLE_FLAGS" |
Configures the UNREAL 3D loader to separate faces with different surface flags (e.g.
two-sided vs. single-sided).
Default value: true.
Property type: bool.
const char* assimp::config::AI_CONFIG_IMPORT_UNREAL_KEYFRAME = "IMPORT_UNREAL_KEYFRAME" |
const char* assimp::config::AI_CONFIG_PP_CT_MAX_SMOOTHING_ANGLE = "PP_CT_MAX_SMOOTHING_ANGLE" |
Specifies the maximum angle that may be between two vertex tangents that their tangents and bitangents are smoothed.
This applies to the CalcTangentSpace
step. The angle is specified in degrees, so 180 corresponds to PI radians.
The default value is 45, the maximum value is 175.
Property type: float.
const char* assimp::config::AI_CONFIG_PP_FD_REMOVE = "PP_FD_REMOVE" |
Configures the FindDegenerates
step to remove degenerated primitives from the import – immediately.
The default behaviour converts degenerated triangles to lines and degenerated lines to points. See the documentation to the FindDegenerates
step for a detailed example of the various ways to get rid of these lines and points if you don't want them.
Default value: false.
Property type: bool.
const char* assimp::config::AI_CONFIG_PP_FID_ANIM_ACCURACY = "PP_FID_ANIM_ACCURACY" |
Input parameter to the FindInvalidData
step: Specifies the floating-point accuracy for animation values.
The step checks for animation tracks where all frame values are absolutely equal and removes them. This tweakable controls the epsilon for floating-point comparisons – two keys are considered equal if the invariant abs(n0-n1) > epsilon holds true for all vector respectively quaternion components.
Default value: 0 (exact comparison).
Property type: float.
const char* assimp::config::AI_CONFIG_PP_GSN_MAX_SMOOTHING_ANGLE = "PP_GSN_MAX_SMOOTHING_ANGLE" |
Specifies the maximum angle that may be between two face normals at the same vertex position that their are smoothed together.
Sometimes referred to as 'crease angle'.
This applies to the GenSmoothNormals
step. The angle is specified in degrees, so 180 corresponds to PI radians.
The default value is 175 degrees (all vertex normals are smoothed), the maximum value is 175, too.
Property type: float.
Warning: Setting this option may cause a severe loss of performance. The performance is unaffected if the AI_CONFIG_FAVOUR_SPEED
flag is set but the output quality may be reduced.
const char* assimp::config::AI_CONFIG_PP_ICL_PTCACHE_SIZE = "PP_ICL_PTCACHE_SIZE" |
Sets the size of the post-transform vertex cache to optimize the vertices for.
This configures the ImproveCacheLocality
step.
The size is given in vertices. Of course you can't know how the vertex format will exactly look like after the import returns, but you can still guess what your meshes will probably have.
The default value results in slight performance improvements for most nVidia/AMD cards since 2002.
Default value: PP_ICL_PTCACHE_SIZE
Property type: integer.
const char* assimp::config::AI_CONFIG_PP_LBW_MAX_WEIGHTS = "PP_LBW_MAX_WEIGHTS" |
Sets the maximum number of bones affecting a single vertex.
This is used by the LimitBoneWeights
step.
Default value: AI_LBW_MAX_WEIGHTS
Property type: integer.
const char* assimp::config::AI_CONFIG_PP_OG_EXCLUDE_LIST = "PP_OG_EXCLUDE_LIST" |
Configures the OptimizeGraph
step to preserve nodes matching a name in a given list.
This is a list of 1 to n strings, ' ' serves as delimiter character. Identifiers containing whitespaces must be enclosed in single quotation marks. For example: "keep-me and_me_to anotherMaterialToBeKept \'name with whitespace\'"
. Linefeeds, tabs or carriage returns are treated as whitespace.
If a node matches on of these names, it will not be modified or removed by the postprocessing step.
This option might be useful if you are using some magic node names to pass additional semantics through the content pipeline. This ensures they won't be optimized away, but a general optimization is still performed for nodes not contained in the list.
Default value: n/a
Property type: string.
Note: Node names are case sensitive.
const char* assimp::config::AI_CONFIG_PP_PTV_KEEP_HIERARCHY = "PP_PTV_KEEP_HIERARCHY" |
Configures the PretransformVertices
step to keep the scene hierarchy.
Meshes are moved to worldspace, but no optimization is performed (meshes with equal materials are not joined, the total number of meshes will not change).
This option could be of use for you if the scene hierarchy contains important additional information which you intend to parse. For rendering, you can still render all meshes in the scene without any transformations.
Default value: false.
Property type: bool.
const char* assimp::config::AI_CONFIG_PP_PTV_NORMALIZE = "PP_PTV_NORMALIZE" |
Configures the PretransformVertices
step to normalize all vertex components into the -1...1 range.
That is, a bounding box for the whole scene is computed, the maximum component is taken and all meshes are scaled appropriately (uniformly of course!).
This might be useful if you don't know the spatial dimension of the input data.
const char* assimp::config::AI_CONFIG_PP_RRM_EXCLUDE_LIST = "PP_RRM_EXCLUDE_LIST" |
Configures the RemoveRedundantMaterials
step to keep materials matching a name in a given list.
This is a list of 1 to n strings, ' ' serves as delimiter character. Identifiers containing whitespaces must be enclosed in single quotation marks. For example: "keep-me and_me_to anotherMaterialToBeKept \'name with whitespace\'"
. Linefeeds, tabs or carriage returns are treated as whitespace.
If a material matches on of these names, it will not be modified or removed by the postprocessing step nor will other materials be replaced by a reference to it.
This option might be useful if you are using some magic material names to pass additional semantics through the content pipeline. This ensures they won't be optimized away, but a general optimization is still performed for materials not contained in the list.
Default value: n/a
Property type: string.
Note: Material names are case sensitive.
const char* assimp::config::AI_CONFIG_PP_RVC_FLAGS = "PP_RVC_FLAGS" |
Input parameter to the RemoveComponent
step: Specifies the parts of the data structure to be removed.
See the documentation to this step for further details.
Default value: 0
Property type: integer (bitwise combination of aiComponent
flags).
Note: If no valid mesh is remaining after the step has been executed, the import fails, because there is no data to work on anymore.
const char* assimp::config::AI_CONFIG_PP_SBP_REMOVE = "PP_SBP_REMOVE" |
Input parameter to the SortByPType
step: Specifies which primitive types are removed by the step.
This is a bitwise combination of the aiPrimitiveType
flags. Specifying all of them is illegal, of course. A typical use would be to exclude all line and point meshes from the import.
Default value: 0
Property type: integer.
const char* assimp::config::AI_CONFIG_PP_SLM_TRIANGLE_LIMIT = "PP_SLM_TRIANGLE_LIMIT" |
Sets the maximum number of triangles in a mesh.
This is used by the SplitLargeMeshes
step to determine whether a mesh must be split or not.
Default value: AI_SLM_DEFAULT_MAX_TRIANGLES.
Property type: integer.
const char* assimp::config::AI_CONFIG_PP_SLM_VERTEX_LIMIT = "PP_SLM_VERTEX_LIMIT" |
Sets the maximum number of vertices in a mesh.
This is used by the SplitLargeMeshes
step to determine whether a mesh must be split or not.
Default value: AI_SLM_DEFAULT_MAX_VERTICES
Property type: integer.
const char* assimp::config::AI_CONFIG_PP_TUV_EVALUATE = "PP_TUV_EVALUATE" |
Input parameter to the TransformUVCoords
step: Specifies which UV transformations are evaluated.
Default value: AI_UVTRAFO_ALL.
Property type: integer (bitwise combination of the AI_UVTRAFO_XXX
flag).
const assimp::config::AI_LMW_MAX_WEIGHTS = 0x4 |
The default value for the AI_CONFIG_PP_LBW_MAX_WEIGHTS setting.
const assimp::config::AI_SLM_DEFAULT_MAX_TRIANGLES = 1000000 |
The default value for the AI_CONFIG_PP_SLM_TRIANGLE_LIMIT setting.
const assimp::config::AI_SLM_DEFAULT_MAX_VERTICES = 1000000 |
The default value for the AI_CONFIG_PP_SLM_VERTEX_LIMIT setting.
const assimp::config::AI_UVTRAFO_ALL |
The TransformUVCoords
step evaluates all UV translations.
const assimp::config::AI_UVTRAFO_ROTATION = 0x2 |
The TransformUVCoords
step evaluates UV rotations.
const assimp::config::AI_UVTRAFO_SCALING = 0x1 |
The TransformUVCoords
step evaluates UV scalings.
const assimp::config::AI_UVTRAFO_TRANSLATION = 0x4 |
The TransformUVCoords
step evaluates UV translation.
assimp::config::C |
const assimp::config::PP_ICL_PTCACHE_SIZE = 12 |
The default value for the AI_CONFIG_PP_ICL_PTCACHE_SIZE config option.