|
BRL-CAD
|
#include <geom.h>
Data Fields | |
| uint32_t | magic |
| int | method |
| fastf_t | threshold |
| fastf_t | initstep |
| fastf_t | finalstep |
| struct bu_list | metaball_ctrl_head |
ID_METABALL
The "metaball" primitive contains a method ID, threshold value, and an unordered set of control points. Each control point contains a 3d location, a "field_strength" (weight of the point's contribution), and a "blobbiness" parameter (the beta/negative-exponent coefficient used in the Blinn blobby-surface formula).
There are three method ID's defined:
The surface of the primitive exists where the summation of the points' contributions equals the threshold.
The blobbiness value is only used in the blob method, and modifies the gusseting effect (Blinn's beta coefficient).