Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

material_fields_ Struct Reference

#include <vrmltypes.h>

Collaboration diagram for material_fields_:

Collaboration graph
[legend]

Detailed Description

Internal representation of Material VRML97 node.

The Material node is formally defined as:

Material { 
  exposedField SFFloat ambientIntensity  0.2         # [0,1]
  exposedField SFColor diffuseColor      0.8 0.8 0.8 # [0,1]
  exposedField SFColor emissiveColor     0 0 0       # [0,1]
  exposedField SFFloat shininess         0.2         # [0,1]
  exposedField SFColor specularColor     0 0 0       # [0,1]
  exposedField SFFloat transparency      0           # [0,1]
}
See also:
International Standard ISO/IEC 14772-1:1997 : Information technology -- Computer graphics and image processing -- The Virtual Reality Modeling Language (VRML) -- Part 1: Functional specification and UTF-8 encoding. Chapter 6.27 Material


Data Fields

float ambientIntensity
sfcolor diffuseColor
 > Specifies how much ambient light from light sources this surface shall reflect.

sfcolor emissiveColor
 > Diffuse color.

float shininess
 > Emissive color.

sfcolor specularColor
 > Shininess.

float transparency
 > Specular color.


Field Documentation

float material_fields_::ambientIntensity
 

sfcolor material_fields_::diffuseColor
 

> Specifies how much ambient light from light sources this surface shall reflect.

sfcolor material_fields_::emissiveColor
 

> Diffuse color.

float material_fields_::shininess
 

> Emissive color.

sfcolor material_fields_::specularColor
 

> Shininess.

float material_fields_::transparency
 

> Specular color.


The documentation for this struct was generated from the following file:

SourceForge.net Logo

Generated on Mon Jun 14 17:25:56 2004 for D.R.I.V.E. by doxygen 1.3.7