HELP! * GREY=local LOCAL HTML version of Foils prepared 7 April 1997

Foil 17 MFColor and MFLong

From Overview of VRML 1.0 Language with Examples CPS616 Basic Information Track for Computational Science -- Winter-Spring Semester 96 and 97. by Geoffrey C. Fox, Alvin Leung, Meryem Ispirli * See also color IMAGE

MFColor -- A multiple-value field that contains any number of RGB colors.
MFColors are written to file as one or more RGB triples of floating point numbers in standard scientific notation.
When more than one value is present, all of the values must be enclosed in square brackets and separated by commas.
For example: [ 1.0 0.0 0.0, 0 1 0, 0 0 1 ] represents the three colors red, green, and blue.
MFLong -- A multiple-value field that contains any number of long (32-bit) integers. Becomes MFInt32 in VRML2.0
MFLongs are written to file as one or more integer values, in decimal, hexadecimal or octal format.
When more than one value is present, all the values are enclosed in square brackets and separated by commas;
For example: [ 17, -0xE20, -518820 ]



Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun May 25 1997