Assimp
v3.1.1 (June 2014)
|
Status flags for AiScenes. More...
Static Public Member Functions | |
static void | fromRawValue (Set< AiSceneFlag > set, int rawValue) |
Utility method for converting from c/c++ based integer enums to java enums. More... | |
Public Attributes | |
INCOMPLETE =(0x1) | |
Specifies that the scene data structure that was imported is not complete. More... | |
NON_VERBOSE_FORMAT =(0x8) | |
This flag is currently only set by the JOIN_IDENTICAL_VERTICES. More... | |
TERRAIN =(0x10) | |
Denotes pure height-map terrain data. More... | |
VALIDATED =(0x2) | |
This flag is set by the validation (VALIDATE_DATA_STRUCTURE) postprocess-step if the validation is successful. More... | |
VALIDATION_WARNING =(0x4) | |
Status flags for AiScenes.
|
inlinestatic |
Utility method for converting from c/c++ based integer enums to java enums.
This method is intended to be used from JNI and my change based on implementation needs.
set | the target set to fill |
rawValue | an integer based enum value (as defined by assimp) |
jassimp.AiSceneFlag.INCOMPLETE =(0x1) |
Specifies that the scene data structure that was imported is not complete.
This flag bypasses some internal validations and allows the import of animation skeletons, material libraries or camera animation paths using Assimp. Most applications won't support such data.
jassimp.AiSceneFlag.NON_VERBOSE_FORMAT =(0x8) |
This flag is currently only set by the JOIN_IDENTICAL_VERTICES.
It indicates that the vertices of the output meshes aren't in the internal verbose format anymore. In the verbose format all vertices are unique, no vertex is ever referenced by more than one face.
jassimp.AiSceneFlag.TERRAIN =(0x10) |
Denotes pure height-map terrain data.
Pure terrains usually consist of quads, sometimes triangles, in a regular grid. The x,y coordinates of all vertex positions refer to the x,y coordinates on the terrain height map, the z-axis stores the elevation at a specific point.
TER (Terragen) and HMP (3D Game Studio) are height map formats.
Assimp is probably not the best choice for loading huge terrains - fully triangulated data takes extremely much free store and should be avoided as long as possible (typically you'll do the triangulation when you actually need to render it).
jassimp.AiSceneFlag.VALIDATED =(0x2) |
This flag is set by the validation (VALIDATE_DATA_STRUCTURE) postprocess-step if the validation is successful.
In a validated scene you can be sure that any cross references in the data structure (e.g. vertex indices) are valid.
jassimp.AiSceneFlag.VALIDATION_WARNING =(0x4) |
This can for example mean that a texture that does not exist is referenced by a material or that the bone weights for a vertex don't sum to 1.0 ... . In most cases you should still be able to use the import. This flag could be useful for applications which don't capture Assimp's log output.