This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
running [2018/01/24 16:55] 185.62.108.185 |
running [2018/01/24 16:57] 185.62.108.185 |
||
---|---|---|---|
Line 62: | Line 62: | ||
- sets the local averaging radius for local plane (surface normal) evaluation. Default value is 2. This option is not used if a minimal inteface method is used. Note that for very small incident angles averaging might be problematic (see also Interface method). | - sets the local averaging radius for local plane (surface normal) evaluation. Default value is 2. This option is not used if a minimal inteface method is used. Note that for very small incident angles averaging might be problematic (see also Interface method). | ||
- | <code> | ||
- | INTERFACE_METHOD | ||
- | integer | ||
- | </code> | ||
- | - sets the surface/interface normal calculation method, 0 - simple weighing, 1 - RS, 2 - gradient based, 3 - minimal (single voxel). Simple weighting gives slightly wrong angles and should not be used, RS method provides local plane fitting, gradient method is an approximate method using gradient of material within the sample, minimal method only looks to adjacent voxels and therefore can only produce normals of individual voxel faces. All the averaging based methods may fail at large angles hitting edges of objects (where real staircased object normal is too much different from averaged one); if it fails algorithm automatically uses the minimal method for the particular reflection/transmission. Default value is 2. | ||
<code> | <code> | ||
Line 120: | Line 115: | ||
{{ :centerednotcentered.png?400 |}} | {{ :centerednotcentered.png?400 |}} | ||
- | {{ :normals.png?400 |}} | + |