Read buttons states as bitmask integer
* Currently supported devices are:
AED - Advanced Electronic Design 512
GTCO4 - GTCO Model IV tablet
GTCO5 - GTCO Model V tablet
HIPAD - Houston Instruments tablet
HP - Hewlett Packard 7580 plotter
META - B.U. Device independent metafile
NULL - Dummy device
PS - PostScript
RASTER - Raster Technologies (Model 1/xx)
SGIn - Silicon Graphics (0<=n<=15)
SGIDIAL - Silicon Graphics dial box
SUNn - Sun Windows (0<=n<=7)
TTY - Generic alphanumeric terminal
TEK - Tektronix 4010
VISTA - TrueVision VISTA graphics adapter
Xn - X Windows (0<=n<=15)
XBUTTONn- X Windows button box (menu) widget
XDIALn - X Windows valuater (dial) widget
username- Virtual frame buffer (1, 8, 24 or 32 bits/pixel)
Special data definition options (ms_define)
Cameras
- "viewport", vxl, vyb, vxr, vyt (-1.0 to 1.0)
- "window", wxl, wyb, wxr, wyt (-1.0 to 1.0)
- "center", cx, cy (-1.0 to 1.0)
- "lens", angle
- "exposure", value (>0.0, default is 1.0)
- "device", devicename
- "render", mode
mode = {"print", "hullonly", "wireframe", "scanconvert", "raytrace",
"hardware"}
- "filter", color
- "zbuffer", zbuffer_pointer
Lights:
- "intensity", value (0.0 to 1.0)
- "filter", color
Patches:
- "segments", nsegments (>0, default is 7)
Special object properties (ms_putprp)
Property Argument Type/range Notes
- "chroma", color (COLOR)
- "color", color (COLOR)
- "ambient", value (0.0 to 1.0)
- "diffuse", value (0.0 to 1.0)
- "specular", value (0.0 to 1.0)
- "shiny", value (0.0 to 1.0)
- "xmitt", value (0.0 to 1.0) (1)
- "cmap", mapfunc (FNCP)
- "cmaparg0", value (int)
- "cmaparg1", value (int)
- "smap", mapfunc (FNCP) (2)
- "smaparg0", value (int) (2)
- "smaparg1", value (int) (2)
- "fastshade",flag (0 or 1)
- "cull", flag (0 or 1) (2)
- "gouraud" flag (0 or 1) (2)
- "phong", flag (0 or 1) (2)
- "sheet", flag (0 or 1) (2)
Notes:
(1) Ignored except in for "raytrace" rendering mode
(2) Applicable to object class "polygon" only.