Rings
Version 0.3

Uses of Interface
threeD.raytracer.lighting.Light

Packages that use Light
threeD.raytracer.engine   
threeD.raytracer.lighting   
threeD.raytracer.shaders   
threeD.ui.dialogs   
threeD.ui.event   
 

Uses of Light in threeD.raytracer.engine
 

Methods in threeD.raytracer.engine that return Light
 Light[] Scene.getLights()
          Returns the Light objects stored by this Scene object as a Light array.
 Light Scene.getLight(int index)
          Returns the Surface object stored by this Scene object at the specified index.
static Light[] RayTracingEngine.separateLights(int index, Light[] allLights)
          Removes the Light object at the specified index from the specified Light object array and returns the new array.
 

Methods in threeD.raytracer.engine with parameters of type Light
 void Scene.setLights(Light[] lights)
          Replaces all of the lights of this Scene object with those represented by the specified Light array.
 void Scene.addLight(Light light)
          Adds the specified Light object to this Scene object.
static RGB[][] RayTracingEngine.render(Surface[] surfaces, Camera camera, Light[] lights, int x, int y, int dx, int dy, int width, int height, int ssWidth, int ssHeight, ProgressMonitor monitor)
          Computes all intersection and lighting calculations required to produce an image of the specified width and height that is a rendering of the specified set of Surface objects using the data from the specified Camera and Light object.
static RGB RayTracingEngine.lightingCalculation(Ray ray, Surface[] surfaces, Light[] lights)
          Performs intersection and lighting calculations for the specified Ray, Surfaces, and Lights.
static RGB RayTracingEngine.lightingCalculation(Vector point, Vector rayDirection, Surface surface, Surface[] otherSurfaces, Light[] lights)
          Performs the lighting calculations for the specified surface at the specified point of intersection on that surface using the lighting data from the specified Light objects and returns an RGB object that represents the color of the point.
static RGB RayTracingEngine.lightingCalculation(Vector point, Vector rayDirection, Surface surface, Surface[] otherSurfaces, Light light, Light[] otherLights)
          Performs the lighting calculations for the specified surface at the specified point of interesection on that surface using the lighting data from the specified Light object and returns an RGB object that represents the color of the point.
static RGB RayTracingEngine.directionalAmbientLightingCalculation(Vector point, Vector rayDirection, Surface surface, Surface[] otherSurfaces, DirectionalAmbientLight light, Light[] otherLights)
          Performs the lighting calculations for the specified surface at the specified point of interesection on that surface using the lighting data from the specified DirectionalAmbientLight object and returns an RGB object that represents the color of the point.
static RGB RayTracingEngine.pointLightingCalculation(Vector point, Vector rayDirection, Surface surface, Surface[] otherSurfaces, PointLight light, Light[] otherLights)
          Performs the lighting calculations for the specified surface at the specified point of interesection on that surface using the lighting data from the specified PointLight object and returns an RGB object that represents the color of the point.
static boolean RayTracingEngine.shadowCalculation(Vector point, Surface[] surfaces, Light light)
          Performs the shadow calculations for the specified surfaces at the specified point using the data from the specified Light object.
static Light[] RayTracingEngine.separateLights(int index, Light[] allLights)
          Removes the Light object at the specified index from the specified Light object array and returns the new array.
 

Constructors in threeD.raytracer.engine with parameters of type Light
Scene(Camera camera, Light[] lights, Surface[] surfaces)
          Constructs a Scene object with the specified Camera object, Light array, and Surface array.
 

Uses of Light in threeD.raytracer.lighting
 

Subinterfaces of Light in threeD.raytracer.lighting
 interface SurfaceLight
          A SurfaceLight implementation represents a light that can be represented by some (possible infinite) set of other Light objects.
 

Classes in threeD.raytracer.lighting that implement Light
 class AmbientLight
          An AmbientLight object represents a light that is applied to all objects in the scene.
 class DirectionalAmbientLight
          A DirectionAmbientLight object represents an ambient light source that always comes from a particular direction.
 class PointLight
          An PointLight object represents a light which has its source at a point in the scene.
 class PointLightGrid
          A PointLightGrid object stores a grid of PointLight objects.
 class RectangularLight
          A RectangularLight object provides PointLight samples that are randomly distributed across the a plane surface.
 class SphericalLight
          A SphericalLight object provides PointLight samples that are randomly distributed across the surface of a sphere.
 

Methods in threeD.raytracer.lighting that return Light
 Light[] SurfaceLight.getSamples(int total)
           
 Light[] SurfaceLight.getSamples()
           
 Light[] SphericalLight.getSamples(int total)
           
 Light[] SphericalLight.getSamples()
           
 Light[] RectangularLight.getSamples(int total)
           
 Light[] RectangularLight.getSamples()
           
 

Uses of Light in threeD.raytracer.shaders
 

Methods in threeD.raytracer.shaders that return Light
 Light ShaderParameters.getLight()
           
 Light[] ShaderParameters.getOtherLights()
           
 

Methods in threeD.raytracer.shaders with parameters of type Light
 RGB RefractionShader.shade(Vector point, Vector viewerDirection, Vector lightDirection, Light light, Light[] otherLights, Surface surface, Surface[] otherSurfaces, Vector n)
           
 

Constructors in threeD.raytracer.shaders with parameters of type Light
ShaderParameters(Vector point, Vector viewerDirection, Vector lightDirection, Light light, Light[] otherLights, Surface surface, Surface[] otherSurfaces)
          Constructs a new ShaderParameters object using the specified arguments.
ShaderParameters(Vector point, Vector viewerDirection, Vector lightDirection, Light light, Light[] otherLights, Surface[] otherSurfaces)
           
 

Uses of Light in threeD.ui.dialogs
 

Constructors in threeD.ui.dialogs with parameters of type Light
EditLightDialog(Light light)
          Constructs a new EditLightDialog object that can be used to modify the specified Light object.
 

Uses of Light in threeD.ui.event
 

Methods in threeD.ui.event that return Light
 Light LightRemoveEvent.getTarget()
          Returns the target of this LightRemoveEvent object.
 Light LightEvent.getTarget()
           
 Light LightEditEvent.getTarget()
          Returns the target of this LightEditEvent object.
 Light LightAddEvent.getTarget()
          Returns the target of this LightAddEvent object.
 

Constructors in threeD.ui.event with parameters of type Light
LightRemoveEvent(Light target)
          Constructs a new LightRemoveEvent object using the specified target.
LightEditEvent(int code, Light target)
          Constructs a new LightEditEvent object with the specified integer code and target.
LightAddEvent(Light target)
          Constructs a new LightAddEvent object using the specified target.
 


Rings
Version 0.3

Copyright 2003-05 Mike Murray