All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class berkeley.cs.dmc.ji3d.Light

java.lang.Object
   |
   +----berkeley.cs.dmc.ji3d.Base
           |
           +----berkeley.cs.dmc.ji3d.Light

public abstract class Light
extends Base
implements Options

Variable Index

 o color

Constructor Index

 o Light(Vec3)

Method Index

 o attenuate(float)
 o illuminate(Light[], Vec3, Vec4, Material, Vec3)
 o lightDir(Vec3, Vec4)

Variables

 o color
 public Vec3 color

Constructors

 o Light
 public Light(Vec3 c)

Methods

 o lightDir
 protected abstract float lightDir(Vec3 ldir,
                                   Vec4 v)
 o attenuate
 protected abstract float attenuate(float dist)
 o illuminate
 public static final Color illuminate(Light lights[],
                                      Vec3 eye,
                                      Vec4 vertex,
                                      Material m,
                                      Vec3 normal)

All Packages  Class Hierarchy  This Package  Previous  Next  Index