133 lines
7.2 KiB
Text
133 lines
7.2 KiB
Text
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 8.0.0
|
|
CL_PLATFORM_VERSION: NVIDIA CUDA
|
|
CL_PLATFORM_PROFILE: NVIDIA Corporation
|
|
CL_PLATFORM_EXTENSIONS: 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_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_d3d10_sharing cl_khr_d3d10_sharing cl_nv_d3d11_sharing cl_nv_copy_opts
|
|
Using OpenCL platform [0]
|
|
Number of OpenCL devices: 1
|
|
OpenCL device [0]
|
|
CL_DEVICE_NAME: GeForce GTX 980
|
|
CL_DEVICE_PROFILE: FULL_PROFILE
|
|
CL_DEVICE_VENDOR: NVIDIA Corporation
|
|
CL_DEVICE_VERSION: OpenCL 1.2 CUDA
|
|
CL_DRIVER_VERSION: 368.81
|
|
CL_DEVICE_EXTENSIONS: 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_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_d3d10_sharing cl_khr_d3d10_sharing cl_nv_d3d11_sharing cl_nv_copy_opts
|
|
CL_DEVICE_VERSION: OpenCL 1.2 CUDA
|
|
CL_DEVICE_ADDRESS_BITS: 64
|
|
CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE: 128
|
|
CL_DEVICE_MAX_CLOCK_FREQUENCY: 1266
|
|
CL_DEVICE_MAX_COMPUTE_UNITS: 16
|
|
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: 262144
|
|
CL_DEVICE_GLOBAL_MEM_SIZE: 4294967296
|
|
CL_DEVICE_LOCAL_MEM_SIZE: 49152
|
|
CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE: 65536
|
|
CL_DEVICE_MAX_MEM_ALLOC_SIZE: 1073741824
|
|
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 C:\Users\linco\AppData\Local\Temp\TOM04.off
|
|
resolution 100000
|
|
max. depth 20
|
|
max. concavity 0.0025
|
|
plane down-sampling 4
|
|
convex-hull down-sampling 4
|
|
alpha 0.05
|
|
beta 0.05
|
|
gamma 0.00125
|
|
delta 0.05
|
|
pca 0
|
|
mode 0
|
|
max. vertices per convex-hull 32
|
|
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 C:\Users\linco\AppData\Local\Temp\TOM04.wrl
|
|
log C:\Users\linco\AppData\Local\Temp\TOM04_log.txt
|
|
+ Load mesh
|
|
+ Voxelization
|
|
dim = 64 -> 145319 voxels
|
|
time 0.0325019s
|
|
+ Compute primitive set
|
|
# primitives 145319
|
|
# inside surface 107036
|
|
# on surface 38283
|
|
time 0.00341836s
|
|
+ Approximate Convex Decomposition
|
|
Subdivision level 1
|
|
-> Part[0] C = 0.194382, E = 0.214355, LC = 0.194382, VS = 38283, VI = 107036
|
|
+ Generate 1 convex-hulls
|
|
time 0.227792s
|
|
+ Merge Convex Hulls
|
|
time 0.000984877s
|
|
+ Simplify 1 convex-hulls
|
|
Simplify CH[00000] 111 V, 218 T
|
|
time 0.00290869s
|
|
+ Generate output: 1 convex-hulls
|
|
CH[00000] 32 V, 60 T
|