|
@@ -844,14 +844,6 @@ enum aiComponent
|
|
#define AI_CONFIG_IMPORT_OGRE_TEXTURETYPE_FROM_FILENAME \
|
|
#define AI_CONFIG_IMPORT_OGRE_TEXTURETYPE_FROM_FILENAME \
|
|
"IMPORT_OGRE_TEXTURETYPE_FROM_FILENAME"
|
|
"IMPORT_OGRE_TEXTURETYPE_FROM_FILENAME"
|
|
|
|
|
|
-/** @brief Specifies whether the IFC loader skips over IfcSpace elements.
|
|
|
|
- *
|
|
|
|
- * IfcSpace elements (and their geometric representations) are used to
|
|
|
|
- * represent, well, free space in a building storey.<br>
|
|
|
|
- * Property type: Bool. Default value: true.
|
|
|
|
- */
|
|
|
|
-#define AI_CONFIG_IMPORT_IFC_SKIP_SPACE_REPRESENTATIONS "IMPORT_IFC_SKIP_SPACE_REPRESENTATIONS"
|
|
|
|
-
|
|
|
|
/** @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
|
|
* Turn on this option if you want to manage assets in native
|
|
@@ -860,17 +852,14 @@ enum aiComponent
|
|
*/
|
|
*/
|
|
#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
|
|
|
|
- * shape representations of type 'Curve2D'.
|
|
|
|
|
|
+/** @brief Specifies whether the IFC loader skips over IfcSpace elements.
|
|
*
|
|
*
|
|
- * A lot of files contain both a faceted mesh representation and a outline
|
|
|
|
- * with a presentation type of 'Curve2D'. Currently Assimp doesn't convert those,
|
|
|
|
- * so turning this option off just clutters the log with errors.<br>
|
|
|
|
|
|
+ * IfcSpace elements (and their geometric representations) are used to
|
|
|
|
+ * represent, well, free space in a building storey.<br>
|
|
* Property type: Bool. Default value: true.
|
|
* Property type: Bool. Default value: true.
|
|
*/
|
|
*/
|
|
-#define AI_CONFIG_IMPORT_IFC_SKIP_CURVE_REPRESENTATIONS "IMPORT_IFC_SKIP_CURVE_REPRESENTATIONS"
|
|
|
|
|
|
+#define AI_CONFIG_IMPORT_IFC_SKIP_SPACE_REPRESENTATIONS "IMPORT_IFC_SKIP_SPACE_REPRESENTATIONS"
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
// ---------------------------------------------------------------------------
|
|
/** @brief Specifies whether the IFC loader will use its own, custom triangulation
|
|
/** @brief Specifies whether the IFC loader will use its own, custom triangulation
|
|
@@ -887,6 +876,38 @@ enum aiComponent
|
|
*/
|
|
*/
|
|
#define AI_CONFIG_IMPORT_IFC_CUSTOM_TRIANGULATION "IMPORT_IFC_CUSTOM_TRIANGULATION"
|
|
#define AI_CONFIG_IMPORT_IFC_CUSTOM_TRIANGULATION "IMPORT_IFC_CUSTOM_TRIANGULATION"
|
|
|
|
|
|
|
|
+// ---------------------------------------------------------------------------
|
|
|
|
+/** @brief Set the tessellation conic angle for IFC smoothing curves.
|
|
|
|
+ *
|
|
|
|
+ * This is used by the IFC importer to determine the tessellation parameter
|
|
|
|
+ * for smoothing curves.
|
|
|
|
+ * @note The default value is AI_IMPORT_IFC_DEFAULT_SMOOTHING_ANGLE and the
|
|
|
|
+ * accepted values are in range [5.0, 120.0].
|
|
|
|
+ * Property type: Float.
|
|
|
|
+ */
|
|
|
|
+#define AI_CONFIG_IMPORT_IFC_SMOOTHING_ANGLE "IMPORT_IFC_SMOOTHING_ANGLE"
|
|
|
|
+
|
|
|
|
+// 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
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+// ---------------------------------------------------------------------------
|
|
|
|
+/** @brief Set the tessellation for IFC cylindrical shapes.
|
|
|
|
+ *
|
|
|
|
+ * This is used by the IFC importer to determine the tessellation parameter
|
|
|
|
+ * for cylindrical shapes, i.e. the number of segments used to aproximate a circle.
|
|
|
|
+ * @note The default value is AI_IMPORT_IFC_DEFAULT_CYLINDRICAL_TESSELLATION and the
|
|
|
|
+ * accepted values are in range [3, 180].
|
|
|
|
+ * Property type: Integer.
|
|
|
|
+ */
|
|
|
|
+#define AI_CONFIG_IMPORT_IFC_CYLINDRICAL_TESSELLATION "IMPORT_IFC_CYLINDRICAL_TESSELLATION"
|
|
|
|
+
|
|
|
|
+// 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
|
|
|
|
+#endif
|
|
|
|
+
|
|
// ---------------------------------------------------------------------------
|
|
// ---------------------------------------------------------------------------
|
|
/** @brief Specifies whether the Collada loader will ignore the provided up direction.
|
|
/** @brief Specifies whether the Collada loader will ignore the provided up direction.
|
|
*
|
|
*
|