![]() ![]() In bigger graphics applications, there are usually lots of complicated and interesting models that are much prettier to look at than a static container. To be exact, the #aiProcess_ValidateDataStructure Process_ValidateDataStructure} flag is currently the only post processing step which can actually cause the scene to be reset * to NULL}.In all the scenes so far we've been extensively playing with our little container friend, but over time, even our best friends can get a little boring. That's quite a rare case, post processing steps are not really designed to * 'fail'. * However, if post-processing failed, the scene could now be NULL}. Post processing is done in-place, meaning this is still the same AIScene} which you passed for pScene}. One or more #aiProcess_CalcTangentSpace #aiProcess_JoinIdenticalVertices #aiProcess_MakeLeftHanded #aiProcess_Triangulate #aiProcess_RemoveComponent #aiProcess_GenNormals #aiProcess_GenSmoothNormals #aiProcess_SplitLargeMeshes #aiProcess_PreTransformVertices #aiProcess_LimitBoneWeights #aiProcess_ValidateDataStructure #aiProcess_ImproveCacheLocality #aiProcess_RemoveRedundantMaterials #aiProcess_FixInfacingNormals #aiProcess_SortByPType #aiProcess_FindDegenerates #aiProcess_FindInvalidData #aiProcess_GenUVCoords #aiProcess_TransformUVCoords #aiProcess_FindInstances #aiProcess_OptimizeMeshes #aiProcess_OptimizeGraph #aiProcess_FlipUVs #aiProcess_FlipWindingOrder #aiProcess_SplitByBoneCount #aiProcess_Debone #aiProcess_GlobalScale #aiProcess_EmbedTextures #aiProcess_ForceGenNormals #aiProcess_DropNormals #aiProcess_ConvertToLeftHanded #aiProcessPreset_TargetRealtime_Fast #aiProcessPreset_TargetRealtime_Quality #aiProcessPreset_TargetRealtime_MaxQuality ProcessPreset_TargetRealtime_MaxQuality} * * A pointer to the post-processed data. * pFlags Provide a bitwise combination of the aiPostProcessSteps} flags. However, you can use this separate function to inspect the * imported scene first to fine-tune your post-processing setup. * * This is strictly equivalent to calling #aiImportFile #aiImportFileEx ImportFileEx} with the same flags. ![]() ** * Apply post-processing to an already-imported scene. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |