next up previous contents index
Next: UTILITY SETUP CONFIRM MODIFY/DELETE ON/OFF Up: UTILITY SETUP Mode Control Previous: UTILITY SETUP ANIMATE Control

UTILITY SETUP COLOUR [Control]

                  

This command allows the user to redefine the colours in the colour palettes that are used when contouring and when producing shaded pictures.


Control Comments
[CONTOUR] [colour R G B] Redefines the colours in the contour palette. This
is the default. (See note 1).
[WHITE] [colour R G B] Redefines the colours in the white, red, orange,
[RED] [colour R G B] yellow, green, blue or violet shading palettes.
[ORANGE] [colour R G B] (See note 1).
[YELLOW] [colour R G B]
[GREEN] [colour R G B]
[BLUE] [colour R G B]
[VIOLET] [colour R G B]
[INVERT] Inverts the foreground and background colours
(Colours 1 and 8 in the primary palette). The
default foreground colour is White and the
default background colour is Black.
[PRIMARY] [colour R G B] Allows the FEMGV reserved (primary) colours to
be modified (See notes 1 and 2).
[SAVE] [Filename] Saves colour definitions to a file.

Notes:

1.
Redefining colours
The default is that the cursor is used to select a colour from a palette, to modify the colour interactively, and then to replace the colour in the palette. Alternatively, any colour number in a palette may be set with specific R G B (red, green, blue) levels. Where the cursor is being used, the colours in the requested palette will be displayed as a number of coloured boxes at the bottom of the viewport. The user is then invited to make a cursor hit on one of the boxes to select the colour that is to be modified. A colour modification hit-box is then displayed and the user can adjust the R G B levels by making hits in either the analogue or digital part of the hit-box. Finally the colour can be replaced (anywhere in the palette) by making a hit in the colour-box at the bottom of the viewport. The sequence must be terminated by a hit in the QUIT, EXIT or SAVE boxes.

Use of the QUIT box will cause any colour changes made to be abandoned, the EXIT box will make the changes current for the duration of the current FEMGV session, and use of the SAVE box will cause the current colour palette definitions to be written to a named file.

2.
Redefining the reserved (primary) colours using R G B levels
When defining the primary colours using specific R G B (red, green, blue) levels, the code numbers for the FEMGV primary colours are 1 = White (foreground), 2 = Red, 3 = Orange, 4 = Yellow, 5 = Green, 6 = Blue, 7 = Violet, and 8 = Black (background).

3.
Use of Start-up files
The above UTILITY SETUP commands can always be stored in a file and read in at the start of a FEMGV run, see Appendix I of the User Manual Appendices.

Examples:

1.
UTILITY SETUP COLOUR

This command initiates the display of the contouring palette as a number of coloured boxes at the bottom of the viewport and the user can then modify the colours using the graphics cursor as described in note 1 above.

2.
UTILITY SETUP COLOUR GREEN 7 .046 .95 .26

This command sets the colour number 7 in the green shading palette to have a red level of .046, a green level of .95 and a blue level of .26; where colour levels are in the range 0 - 1.

3.
UTILITY SETUP COLOUR SAVE shading

This command writes the current colour palette definitions, in the form of commands, to a file named 'shading'. This command file can be used to re-establish these colours on a subsequent occasion.


next up previous contents index
Next: UTILITY SETUP CONFIRM MODIFY/DELETE ON/OFF Up: UTILITY SETUP Mode Control Previous: UTILITY SETUP ANIMATE Control

Femsys Limited
1st October 1999