Density functions

From BRL-CAD
Revision as of 19:37, 10 July 2011 by Sean (talk | contribs) (initial page on material (density) objects)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

BRL-CAD implements material properties through a simple table lookup. An object can be tagged as being a particular material, which prescribes a specific homogenous material density throughout that object. That density is then used for calculating mass and moments of inertia.

This task involves implementing support for material objects that can describe non-homogenous densities. Material objects can describe variable densities based on a prescribed parameterization such as distance to exterior, shotline thickness, distance from medial axis, some probability distribution function, or other parameterization mechanism. Material objects should be BRL-CAD database objects that can be referenced (by name) by other database objects. Density is the main material property that must be provided, though the framework should support the addition for other properties such as compressive strength, hardness, and more in the future.

References[edit]

Requirements[edit]

  • Familiarity with C