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", and possibly a "blobbiness" value (called "goo" in rt_metaball_add_point).
There are three method ID's defined:
The surface of the primitive exists where the summation of the points contribution is equal to the threshold, with the general fldstr/distance^2 pattern.
The blobbiness value is only used in the blob method, and modifies the gusseting effect.