V-HACD V2.2
Syntax: testVHACD [options] --input infile.obj --output outfile.wrl --log logfile.txt

Options:
       --input                     Wavefront .obj input file name
       --output                    VRML 2.0 output file name
       --log                       Log file name
       --resolution                Maximum number of voxels generated during the voxelization stage (default=100,000, range=10,000-16,000,000)
       --depth                     Maximum number of clipping stages. During each split stage, parts with a concavity higher than the user defined threshold are clipped according the "best" clipping plane (default=20, range=1-32)
       --concavity                 Maximum allowed concavity (default=0.0025, range=0.0-1.0)
       --planeDownsampling         Controls the granularity of the search for the "best" clipping plane (default=4, range=1-16)
       --convexhullDownsampling    Controls the precision of the convex-hull generation process during the clipping plane selection stage (default=4, range=1-16)
       --alpha                     Controls the bias toward clipping along symmetry planes (default=0.05, range=0.0-1.0)
       --beta                      Controls the bias toward clipping along revolution axes (default=0.05, range=0.0-1.0)
       --gamma                     Controls the maximum allowed concavity during the merge stage (default=0.00125, range=0.0-1.0)
       --delta                     Controls the bias toward maximaxing local concavity (default=0.05, range=0.0-1.0)
       --pca                       Enable/disable normalizing the mesh before applying the convex decomposition (default=0, range={0,1})
       --mode                      0: voxel-based approximate convex decomposition, 1: tetrahedron-based approximate convex decomposition (default=0, range={0,1})
       --maxNumVerticesPerCH       Controls the maximum number of triangles per convex-hull (default=64, range=4-1024)
       --minVolumePerCH            Controls the adaptive sampling of the generated convex-hulls (default=0.0001, range=0.0-0.01)
       --convexhullApproximation   Enable/disable approximation when computing convex-hulls (default=1, range={0,1})
       --oclAcceleration           Enable/disable OpenCL acceleration (default=0, range={0,1})
       --oclPlatformID             OpenCL platform id (default=0, range=0-# OCL platforms)
       --oclDeviceID               OpenCL device id (default=0, range=0-# OCL devices)
       --help                      Print usage

Examples:
       testVHACD.exe --input bunny.obj --output bunny_acd.wrl --log log.txt

+ OpenCL (ON)
	 Number of OpenCL platforms: 1
	 OpenCL platform [0]
		CL_PLATFORM_NAME: FULL_PROFILE
		CL_PLATFORM_VENDOR: OpenCL 1.2 CUDA 7.5.0
		CL_PLATFORM_VERSION: NVIDIA CUDA
		CL_PLATFORM_PROFILE: NVIDIA Corporation
		CL_PLATFORM_EXTENSIONS: cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_d3d9_sharing cl_nv_copy_opts 
	 Using OpenCL platform [0]
	 Number of OpenCL devices: 1
	 OpenCL device [0]
		CL_DEVICE_NAME: GeForce GTX 650
		CL_DEVICE_PROFILE: FULL_PROFILE
		CL_DEVICE_VENDOR: NVIDIA Corporation
		CL_DEVICE_VERSION: OpenCL 1.2 CUDA
		CL_DRIVER_VERSION: 355.97
		CL_DEVICE_EXTENSIONS: cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_d3d9_sharing cl_nv_copy_opts  cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 
		CL_DEVICE_VERSION: OpenCL 1.2 CUDA
		CL_DEVICE_ADDRESS_BITS: 32
		CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE: 128
		CL_DEVICE_MAX_CLOCK_FREQUENCY: 1058
		CL_DEVICE_MAX_COMPUTE_UNITS: 2
		CL_DEVICE_MAX_CONSTANT_ARGS: 9
		CL_DEVICE_MAX_READ_IMAGE_ARGS: 256
		CL_DEVICE_MAX_SAMPLERS: 32
		CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS: 3
		CL_DEVICE_MAX_WRITE_IMAGE_ARGS: 16
		CL_DEVICE_MEM_BASE_ADDR_ALIGN: 4096
		CL_DEVICE_MIN_DATA_TYPE_ALIGN_SIZE: 128
		CL_DEVICE_PREFERRED_VECTOR_WIDTH_CHAR: 1
		CL_DEVICE_PREFERRED_VECTOR_WIDTH_SHORT: 1
		CL_DEVICE_PREFERRED_VECTOR_WIDTH_INT: 1
		CL_DEVICE_PREFERRED_VECTOR_WIDTH_LONG: 1
		CL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT: 1
		CL_DEVICE_PREFERRED_VECTOR_WIDTH_DOUBLE: 1
		CL_DEVICE_VENDOR_ID: 4318
		CL_DEVICE_AVAILABLE: 1
		CL_DEVICE_COMPILER_AVAILABLE: 1
		CL_DEVICE_ENDIAN_LITTLE: 1
		CL_DEVICE_ERROR_CORRECTION_SUPPORT: 0
		CL_DEVICE_IMAGE_SUPPORT: 1
		CL_DEVICE_EXECUTION_CAPABILITIES: 1
		CL_DEVICE_GLOBAL_MEM_CACHE_SIZE: 32768
		CL_DEVICE_GLOBAL_MEM_SIZE: 1073414144
		CL_DEVICE_LOCAL_MEM_SIZE: 49152
		CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE: 65536
		CL_DEVICE_MAX_MEM_ALLOC_SIZE: 268353536
		CL_DEVICE_GLOBAL_MEM_CACHE_TYPE: 2
		CL_DEVICE_IMAGE2D_MAX_HEIGHT: 16384
		CL_DEVICE_IMAGE2D_MAX_WIDTH: 16384
		CL_DEVICE_IMAGE3D_MAX_DEPTH: 4096
		CL_DEVICE_IMAGE3D_MAX_HEIGHT: 4096
		CL_DEVICE_IMAGE3D_MAX_WIDTH: 4096
		CL_DEVICE_MAX_PARAMETER_SIZE: 4352
		CL_DEVICE_MAX_WORK_GROUP_SIZE: 1024
		CL_DEVICE_PROFILING_TIMER_RESOLUTION: 1000
		CL_DEVICE_QUEUE_PROPERTIES: 3
		CL_DEVICE_TYPE: 4
		CL_DEVICE_LOCAL_MEM_TYPE: 1
		CL_DEVICE_MAX_WORK_ITEM_SIZES: (1024, 1024, 64)
	 Using OpenCL device [0]
+ OpenMP (ON)
+ Parameters
	 input                                       file.obj
	 resolution                                  100000
	 max. depth                                  20
	 max. concavity                              0.001
	 plane down-sampling                         4
	 convex-hull down-sampling                   4
	 alpha                                       0.05
	 beta                                        0.05
	 gamma                                       0.0005
	 pca                                         0
	 mode                                        0
	 max. vertices per convex-hull               64
	 min. volume to add vertices to convex-hulls 0.0001
	 convex-hull approximation                   1
	 OpenCL acceleration                         1
	 OpenCL platform ID                          0
	 OpenCL device ID                            0
	 output                                      convex.obj
	 log                                         log.txt
+ Load mesh
+ Voxelization
	 dim = 64	-> 23432 voxels
	 time 0.0355414s
+ Compute primitive set
	 # primitives               23432
	 # inside surface           10116
	 # on surface               13316
	 time 0.00384742s
+ Approximate Convex Decomposition
	 Subdivision level 1
	 -> Part[0] C  = 0.889941, E  = 0.0631703, VS = 13316, VI = 10116
		 [Regular sampling] Number of clipping planes 48

			 Best  0029 T=0.265415 C=0.219074 B=0.001844 S=0.044497 (0.0, 1.0, 0.0, -0.454)

		 [Refining] Number of clipping planes 9

			 Best  0005 T=0.264084 C=0.217765 B=0.001822 S=0.044497 (0.0, 1.0, 0.0, -0.470)

	 Subdivision level 2
	 -> Part[0] C  = 0.196862, E  = 0.0201143, VS = 4240, VI = 3116
		 [Regular sampling] Number of clipping planes 46

			 Best  0021 T=0.095657 C=0.085704 B=0.000110 S=0.009843 (0.0, 1.0, 0.0, 0.061)

		 [Refining] Number of clipping planes 9

			 Best  0003 T=0.097190 C=0.087243 B=0.000104 S=0.009843 (0.0, 1.0, 0.0, 0.077)

	 -> Part[1] C  = 0.0373061, E  = 0.0432458, VS = 9116, VI = 6960
	 Subdivision level 3
	 -> Part[0] C  = 0.0879874, E  = 0.0141369, VS = 2980, VI = 1820
		 [Regular sampling] Number of clipping planes 37

			 Best  0030 T=0.055620 C=0.055554 B=0.000066 S=0.000000 (0.0, 0.0, 1.0, -0.097)

		 [Refining] Number of clipping planes 9

			 Best  0001 T=0.055407 C=0.055358 B=0.000049 S=0.000000 (0.0, 0.0, 1.0, -0.048)

	 -> Part[1] C  = 0.00414771, E  = 0.00628098, VS = 1324, VI = 1232
	 Subdivision level 4
	 -> Part[0] C  = 0.0489184, E  = 0.0108447, VS = 2286, VI = 1311
		 [Regular sampling] Number of clipping planes 30

			 Best  0027 T=0.016829 C=0.016806 B=0.000023 S=0.000000 (0.0, 0.0, 1.0, 0.097)

		 [Refining] Number of clipping planes 9

			 Best  0007 T=0.016657 C=0.016643 B=0.000014 S=0.000000 (0.0, 0.0, 1.0, 0.048)

	 -> Part[1] C  = 0.0069133, E  = 0.0042316, VS = 892, VI = 311
		 [Regular sampling] Number of clipping planes 16

			 Best  0010 T=0.002106 C=0.001760 B=0.000000 S=0.000346 (0.0, 0.0, 1.0, -0.129)

		 [Refining] Number of clipping planes 9

			 Best  0004 T=0.002203 C=0.001858 B=0.000000 S=0.000346 (0.0, 0.0, 1.0, -0.129)

	 Subdivision level 5
	 -> Part[0] C  = 0.0069133, E  = 0.0042316, VS = 892, VI = 311
		 [Regular sampling] Number of clipping planes 16

			 Best  0014 T=0.002651 C=0.002305 B=0.000000 S=0.000346 (0.0, 0.0, 1.0, 0.161)

		 [Refining] Number of clipping planes 9

			 Best  0006 T=0.002271 C=0.001925 B=0.000000 S=0.000346 (0.0, 0.0, 1.0, 0.129)

	 -> Part[1] C  = 0.00982278, E  = 0.00755236, VS = 1592, VI = 802
		 [Regular sampling] Number of clipping planes 23

			 Best  0010 T=0.004919 C=0.004817 B=0.000003 S=0.000100 (1.0, 0.0, 0.0, -0.161)

		 [Refining] Number of clipping planes 9

			 Best  0002 T=0.004492 C=0.004390 B=0.000002 S=0.000100 (1.0, 0.0, 0.0, -0.129)

	 -> Part[2] C  = 0.000326792, E  = 0.00199246, VS = 420, VI = 126
	 -> Part[3] C  = 0.00186583, E  = 0.00242415, VS = 511, VI = 146
	 Subdivision level 6
	 -> Part[0] C  = 0.00186583, E  = 0.00242415, VS = 511, VI = 146
	 -> Part[1] C  = 0.000326792, E  = 0.00199246, VS = 420, VI = 126
	 -> Part[2] C  = 0.00376311, E  = 0.00531321, VS = 1120, VI = 617
	 -> Part[3] C  = 0.00186583, E  = 0.00242415, VS = 511, VI = 146
+ Generate 8 convex-hulls 
	 time 0.776636s
+ Merge Convex Hulls
	 time 0.00826362s
+ Simplify 8 convex-hulls 
		 Simplify CH[00000] 24 V, 44 T
		 Simplify CH[00001] 88 V, 172 T
		 Simplify CH[00002] 28 V, 52 T
		 Simplify CH[00003] 43 V, 82 T
		 Simplify CH[00004] 43 V, 82 T
		 Simplify CH[00005] 28 V, 52 T
		 Simplify CH[00006] 42 V, 80 T
		 Simplify CH[00007] 43 V, 82 T
	 time 0.00703469s
+ Generate output: 8 convex-hulls 
	 CH[00000] 20 V, 36 T
	 CH[00001] 44 V, 84 T
	 CH[00002] 18 V, 32 T
	 CH[00003] 25 V, 46 T
	 CH[00004] 22 V, 40 T
	 CH[00005] 19 V, 34 T
	 CH[00006] 28 V, 52 T
	 CH[00007] 22 V, 40 T
