Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Graphics is made up by actors. One can toggle actors on and off or assign new graphical properties to them. The acp command tells how to assign new properties to an actor.

Arguments

*

Operation is performed on last actor.

id actorid

Operation is performed on actor id actorid. The actor-id actorid can be kept by setting a variable like this: set act_id gvar actorid after a display command.

del

Delete the actor with id actorid.

opa value

Opacity of the actor. The value is from 0.0 to 1.0 where 1.0 is fully visible.

vis 0 | 1

Visibility of the actor. Visibility is 1 (=on) or 0 (=off).

ambient value

Ambient light value between 0 and 1.

diffuse value

Diffuse light value between 0 and 1.

specular value

Specular light value between 0 and 1.

power value

Power light value between 0 and 1.

Examples

Ex.1: Display two grids and set low opacity on the first

...