OOF2: The Manual

Name

Bunge2RGB (Bunge2RGB) — Map Bunge angles to RGB values.

Synopsis

Bunge2RGB()

Details

Description

Bunge2RGB is an Angle2Color that simply maps the phi1, theta, and phi2 values of an Bunge orientation to the red, green, and blue parameters of an RGBColor. The values are scaled and shifted so that the the full orientation space maps to the full color space.

Note that this isn't a great way to convert orientations to angles, because small changes in orientation can result in a large change in color.