Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Wiki Markup
{alias:opa}

Name

opa — Opacity

Syntax

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

opa opacity [l] [all]

...

Set opacity to one or more displayed objects.

Arguments

opacity

A number between 0 and 1, where 1 is no opacity. With no further arguments, this will be applied to current actor list.

l from to

Actorlist from from to tofrom and to are actor list numbers (integers).

all

All actor lists are given the opacity.

Examples

Ex.1: Opacity for display lists

No Format
bgColor#eeeeee
borderWidth1

z                        ;# Erase screen
win demo                 ;# Get demo window (450000 460000 6450000 6460000 1000 4000)
spe bgc whi              ;# Specify background color to white
mak ran 11               ;# Make 11 random points
grp 222 222              ;# Make grid
oco frq 14 col bla liw 2 ;# Draw orthogonal contours
oco dar                  ;# Calculate drainage areas
map drain                ;# Map the drainage areas
cln 2                    ;# Shift to display list 2
gen 44 44 44             ;# Generate a dummy cube
mak ras                  ;# Make random scalars
dis                      ;# Display the cube
opa .4                   ;# Set opacity 0.4 in display list 2

...