Assimp  v3.1.1 (June 2014)
jassimp.AiSceneFlag Enum Reference

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)
 

Detailed Description

Status flags for AiScenes.

Member Function Documentation

§ fromRawValue()

static void jassimp.AiSceneFlag.fromRawValue ( Set< AiSceneFlag set,
int  rawValue 
)
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.

Parameters
setthe target set to fill
rawValuean integer based enum value (as defined by assimp)

Member Data Documentation

§ INCOMPLETE

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.

§ NON_VERBOSE_FORMAT

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.

§ TERRAIN

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).

§ VALIDATED

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.

§ VALIDATION_WARNING

jassimp.AiSceneFlag.VALIDATION_WARNING =(0x4)
  • This flag is set by the validation (VALIDATE_DATA_STRUCTURE) postprocess-step if the validation is successful but some issues have been found.

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.


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