tracer
Class Material

java.lang.Object
  extended bytracer.Material

public class Material
extends java.lang.Object

Holds shading parameters.


Field Summary
 float ambient
           
 Vec3 color
           
 float diffuse
           
 float reflectance
           
 float specular
           
 float specularPower
           
 
Constructor Summary
Material()
           
 
Method Summary
 void parse(Parser p)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

color

public Vec3 color

ambient

public float ambient

diffuse

public float diffuse

specular

public float specular

specularPower

public float specularPower

reflectance

public float reflectance
Constructor Detail

Material

public Material()
Method Detail

parse

public void parse(Parser p)
           throws java.io.IOException
Throws:
java.io.IOException