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

Foil 11 SFColor SFLong SFFloat Basic Types

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

SFColor e.g. 0. .5 .5 -- R G B written with blank separators
  • A single-value field containing a color.
  • SFColors are written to file as an RGB triple of floating point numbers in standard scientific notation, in the range 0.0 to 1.0.
SFLong -- A field containing a single long (32-bit) integer.
  • SFLongs are written to file as an integer in decimal, hexadecimal (beginning with '0x') or octal (beginning with '0') format.
  • Renamed SFInt32 in VRML2.0
SFFloat -- A field that contains one single-precision floating point number.
  • SFFloats are written to file in standard scientific notation.



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