Versions Compared

Key

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

*opa* — Opacity

h2. Syntax
{panel:|borderStyle=solid|borderWidth=1|bgColor=#FFFFAA}

*opa* _opacity_ \[*l*] \[*all*] 

{panel}

h2. Description

Set opacity to one or more displayed objects. 

h2. Arguments

_opacity_ 
{indent}A number between 0 and 1, where 1 is no opacity. With no further arguments, this will be applied to current actor list.{indent} 
*l* _from to_ 
{indent}Actorlist from _from_ to _to_, _from_ and _to_ are actor list numbers (integers).{indent} 
*all* 
{indent}All actor lists are given the opacity.{indent}
 
h2. Examples

h3. Ex.1: Opacity for display lists

{noformat:|borderWidth=1|bgColor=#eeeeee}

Name

opa — Opacity

Syntax

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

opa opacity [l] [all]

Description

Set opacity to one or more displayed objects.

Arguments

opacity

l from to

all

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
{noformat}

The

...

above

...

example

...

produces

...

this

...

image.

...

Image Added
Opacity in cube

See also

acp opa , dis opa , map opa , amb - Ambient light