Polygon Crucher SDK - Documentation
Documentation
Loading...
Searching...
No Matches
PolygonCruncherConfig.h
Go to the documentation of this file.
1
//! @file PolygonCruncherConfig.h
2
//! Polygon Cruncher SDK version
3
//!
4
///////////////////////////////////////////////////////////////////////////////////
5
6
#ifndef POLYGONCRUNCHER_CONFIG_H
7
#define POLYGONCRUNCHER_CONFIG_H
8
9
#define PLY_CONFIG
// Ensure that the following file is included
10
11
#if defined(MOOTOOLS_CRUNCHERSDK)
12
// #define PLY_CRUNCHERSDK_DEMO // Use Demo Debug or Demo Release instead
13
#elif defined(MOOTOOLS_PRODUCT_BUILD)
14
#ifndef MOOTOOLS_NO_MR
15
# define PLY_MR_COMMANDS
16
#endif
17
#ifdef _DEBUG
18
# pragma message("PLY_NEXT_RELEASE is turned on")
19
// # define PLY_ALPHA_FEATURE
20
# ifdef PLY_ALPHA_FEATURE
21
# define PLY_MAGICCRUNCHER_COMP
22
# define PLY_FLIP_EDGES
23
# define PLY_SMALL_FACES
24
# define PLY_SEPARATE_CONSTRAINT
25
# define PLY_STRENGTH
26
# define PLY_WEIGHT
27
# define PLY_PERVERTEX
28
# pragma message("PLY_MAGICCRUNCHER_COMP is turned on")
29
# pragma message("PLY_FLIP_EDGES is turned on")
30
# pragma message("PLY_SEPARATE_CONSTRAINT is turned on")
31
# pragma message("PLY_SMALL_FACES is turned on")
32
# pragma message("PLY_STRENGTH is turned on")
33
# pragma message("PLY_FLIP_EDGES is turned on")
34
# pragma message("PLY_PERVERTEX is turned on")
35
#endif
36
#endif
37
#endif
38
39
//! @def MOOTOOLS_CRUNCHERSDK_VERSION
40
//! @brief Polygon Cruncher SDK - Version 7150
41
#define MOOTOOLS_CRUNCHERSDK_VERSION 7150
42
#define VERSION2STRING2(x) #x
43
#define VERSION2STRING(x) VERSION2STRING2(x)
44
45
#ifdef MOOTOOLS_PRIVATE_DEBUG
46
//# define PLY_COMPARE_METHOD // Allow to compare different optimization methods approach
47
# ifdef PLY_COMPARE_METHOD
48
# define PLY_DEFAULT_METHOD 0
49
# define PLY_METHOD MAKE_CUSTOM_ID('P', 'L', 'Y', 'M')
50
# define PLY_DEFAULT_TRANSLATION MAKE_CUSTOM_ID('P', 'L', 'D', 'T')
51
# define PLY_TRANSLATION MAKE_CUSTOM_ID('P', 'L', 'Y', 'T')
52
# define PLY_COMPARE_METHOD_NBR 3
53
# endif
// PLY_COMPARE_METHOD
54
#endif
55
56
// MOOTOOLS_DLL => we build the Mootools version of Polygon Cruncher
57
#if !defined(MOOTOOLS_AUTODESK) && (defined(MOOTOOLS_CRUNCHERSDK) || defined(MOOTOOLS_DLL))
58
#ifndef MOOTOOLS_NO_PRAGMA_MESSAGE
59
60
#if defined(MOOTOOLS_CRUNCHERSDK_BUILD)
61
# pragma message("---------------------------------------------")
62
# pragma message("Building Full Version of Polygon Cruncher SDK")
63
# pragma message("")
64
# pragma message("Polygon Cruncher SDK Version : " VERSION2STRING(MOOTOOLS_CRUNCHERSDK_VERSION))
65
# pragma message("---------------------------------------------")
66
#elif defined(MOOTOOLS_AUTODESK_USE)
67
# pragma message("Building ProOptimizer (PC SDK V" VERSION2STRING(MOOTOOLS_CRUNCHERSDK_VERSION) ")")
68
#elif defined(MOOTOOLS_CRUNCHERSDK_USE)
69
#ifdef _DEBUG
70
# pragma message("Using Polygon Cruncher SDK " VERSION2STRING(MOOTOOLS_CRUNCHERSDK_VERSION) " - Debug mode (link with debug libraries required)")
71
#else
72
# pragma message("Using Polygon Cruncher SDK " VERSION2STRING(MOOTOOLS_CRUNCHERSDK_VERSION) " - Release mode (link with release libraries required)")
73
#endif
74
#else
75
# pragma message("Building Polygon Cruncher " VERSION2STRING(MOOTOOLS_CRUNCHERSDK_VERSION))
76
#endif
77
78
#ifdef MOOTOOLS_PRIVATE_DEBUG
79
# pragma message("MOOTOOLS_PRIVATE_DEBUG is defined (C3DExtObject debugging features enabled)")
80
#endif
81
82
#ifdef PLY_CRUNCHER_LIMITED_RATIO
83
# pragma message("PLY_CRUNCHER_LIMITED_RATIO is defined (limit ratio to 0.5f)")
84
#endif
85
86
#endif
87
#else
88
#ifdef MOOTOOLS_PRIVATE_DEBUG
89
# pragma message("MOOTOOLS_PRIVATE_DEBUG is defined (C3DExtObject debugging features enabled)")
90
#endif
91
#endif
92
93
#endif
// POLYGONCRUNCHER_CONFIG_H
94
// Must leave an empty line below for resource compiler
VS2022-PolygonCruncherSDK-Full-IO
SDK
Includes
PolygonCruncherConfig.h
Generated by
1.9.8