Where to? Top > CSV Script Projects > How to Setup Script t23
How t15 Skins
This page last modified: 2010/01/11

How to Setup the Parameters of Script t23

To use Script t23 for your own point cloud

Script t23 has some parameters and you should setup them aproximately when you use t23 for your own point cloud. Also you can adjust them to get a better result. Here are what the parameters mean and how you can adjust them.

The parameters of Script t23

t23 has three parameters DistForSearch, DistForAxis/d and GridSize/d. The details will follow.

The parameter DistForSearch

DistForSearch

The parameter DistForSearch is a threshold that is used in collecting vertices (the step +2 for details). It means the radius of a sphere region in which t23 searches for the vertices and then makes faces on them to skin.

You should adjust the parameter depending on your point cloud configuration. It would be nice to set it to the average or a bit more of the distance between the adjacent vertices in the point cloud. If it's too small, t23 would make few faces and doesn't work well. If it's too large, it will take a lot of time for the same skinning.

The parameter DistForAxis

DistForAxis/d

We define DistForSearch as d and the parameter DistForAxis/d is a rate of DistForAxis per DistForSearch. The parameter DistForAxis is a threshold that is used in collecting another vertices (the step +3 for details). It means the radius of the sphere region in which t23 searches for the vertices to calculate the average normal. The form of the rate DistForAxis/d is used because DistForAxis changes depending on DistForSearch.

You would get a good result of skinning when you set it to 2.0 or a bit more. You can set it to a larger number if your point cloud has a lot of noise. However, if it's too large, it will waste time for skinning.

GridSize/d

The parameter GridSize/d is a rate of GridSize per DistForSearch. The parameter GridSize is for the setups of PointsGridManager. GridSize is the cell size of the grid that PointsGridManager uses to contain all the vertices effectively. The skinning would work fast when you set it to 2.0 to 3.0. (It would provide good performance when each cell has 50 vertices average or so.)

GridSize/d doesn't affect the result of skinning. Thus whatever value you specify to the parameter, you will get the same result of the shape of the skinned 3D mesh. It just affects its performance and makes the skinning faster.

Copyright (C) 2006 - 2012 Hans.P.G. All Rights Reserved. Hans.P.G. | Contact
inserted by FC2 system