5.1 Face & Edge Colors

Face colors are used for all 3D surfaces (solid graphics mode only) whereas edge colors are used for lines and wireframe graphics (both solid and wireframe graphics mode).

These fields are ignored if cell flag bit 4 is set; in this case, face and edge colors are inherited from the parent set. If the root set inherits from its parent, then the color is assigned elsewhere in AutoMod. For example, a vehicle may be assigned a color in a movement system; it's cell file's root set then inherits this color.

The color is encoded as a decimal integer value, whose meaning should be interpreted as follows:

Code Color
0 Black
1 Red
2 Green
3 Yellow
4 Blue
5 Magenta
6 Cyan
7 White
8 Light Gray
9 Dark Gray
10 Brown
11 Light Blue
12 Purple
13 Orange
14 Light Green
15 Light Yellow

Note that, as of V8.5, AutoMod allows the RGB (red-green-blue) settings for each color to be specified in the .asilibrc settings file. It is possible, for example, to change color 1 so that it appears blue, yellow, or some custom color. To accurately reproduce the content of a cell file's appearance, the .asilibrc file - if present - should also be processed; the format of this file is currently beyond the scope of this document. Also note that the .asilibrc file permits more than 16 colors to be defined; however, AutoMod does not appear to support colors with numbers outside the range of 0-15.

As of V10.0, AutoMod only uses the face color; edge colors are not supported by the OpenInventor scene graph and are ignored.

The default face and edge color is red (1).

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <abbr> <acronym> <address> <br> <cite> <code> <col> <colgroup> <dd> <dfn> <dl> <dt> <em> <hr> <kbd> <li> <ol> <p> <pre> <samp> <strong> <sub> <sup> <table> <tbody> <td> <tfoot> <th> <thead> <tr> <tt> <ul> <var>

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.