Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
net.sf.j3d.threeD.raytracer.lighting.Light

Packages that use Light
net.sf.j3d.physics |
net.sf.j3d.threeD.raytracer.engine |
net.sf.j3d.threeD.raytracer.lighting |
net.sf.j3d.threeD.raytracer.shaders |
net.sf.j3d.threeD.ui.dialogs |
net.sf.j3d.threeD.ui.event |

Uses of Light in net.sf.j3d.physics

Classes in net.sf.j3d.physics that implement Light
`class` | `Sphere`

Methods in net.sf.j3d.physics that return Light
`Light[]` | `Sphere.getSamples()`
`Light[]` | `Sphere.getSamples(int samples)`

Uses of Light in net.sf.j3d.threeD.raytracer.engine

Methods in net.sf.j3d.threeD.raytracer.engine that return Light
`Light` | `Scene.getLight(int index)` Returns the Surface object stored by this Scene object at the specified index.
`Light[]` | `Scene.getLights()` Returns the Light objects stored by this Scene object as a Light array.
`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 net.sf.j3d.threeD.raytracer.engine with parameters of type Light
`void` | `Scene.addLight(Light light)` Adds the specified Light object to this Scene object.
`static RGB` | `RayTracingEngine.directionalAmbientLightingCalculation(Vector point, Vector rayDirection, Surface surface, Surface[] otherSurfaces, DirectionalAmbientLight light, Light[] otherLights, ShaderParameters p)` 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.lightingCalculation(Ray r, Surface[] allSurfaces, Light[] allLights, RGB fog, double fd, double fr, ShaderParameters p)` 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, ShaderParameters p)` 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, ShaderParameters p)` 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.lightingCalculation(Vector point, Vector rayDirection, Surface surface, Surface[] otherSurfaces, Light light, Light[] otherLights, ShaderParameters p)` 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.pointLightingCalculation(Vector point, Vector rayDirection, Surface surface, Surface[] otherSurfaces, PointLight light, Light[] otherLights, ShaderParameters p)` 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 RGB[][]` | `RayTracingEngine.render(Surface[] surfaces, Camera camera, Light[] lights, RenderParameters p, 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 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.
`void` | `Scene.setLights(Light[] lights)` Replaces all of the lights of this Scene object with those represented by the specified Light array.
`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.

Constructors in net.sf.j3d.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 net.sf.j3d.threeD.raytracer.lighting

Subinterfaces of Light in net.sf.j3d.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 net.sf.j3d.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 net.sf.j3d.threeD.raytracer.lighting that return Light
`Light[]` | `SurfaceLight.getSamples()`
`Light[]` | `SphericalLight.getSamples()`
`Light[]` | `RectangularLight.getSamples()`
`Light[]` | `SurfaceLight.getSamples(int total)`
`Light[]` | `SphericalLight.getSamples(int total)`
`Light[]` | `RectangularLight.getSamples(int total)`

Uses of Light in net.sf.j3d.threeD.raytracer.shaders

Methods in net.sf.j3d.threeD.raytracer.shaders that return Light
`Light[]` | `ShaderParameters.getAllLights()`
`Light` | `ShaderParameters.getLight()`
`Light[]` | `ShaderParameters.getOtherLights()`

Methods in net.sf.j3d.threeD.raytracer.shaders with parameters of type Light
`void` | `ShaderParameters.setLight(Light l)` Sets the Light to the specified Light object.
`void` | `ShaderParameters.setOtherLights(Light[] l)` Sets the other Lights to those stored in the specified array.
`RGB` | `RefractionShader.shade(Vector point, Vector viewerDirection, Vector lightDirection, Light light, Light[] otherLights, Surface surface, Surface[] otherSurfaces, Vector n, ShaderParameters p)`
`RGB` | `RefractionShader.shade(Vector point, Vector viewerDirection, Vector lightDirection, Light light, Light[] otherLights, Surface surface, Surface[] otherSurfaces, Vector n, ShaderParameters p)`

Constructors in net.sf.j3d.threeD.raytracer.shaders with parameters of type Light
`ShaderParameters(Vector point, Vector viewerDirection, Vector lightDirection, Light light, Light[] otherLights, Surface[] otherSurfaces)`
`ShaderParameters(Vector point, Vector viewerDirection, Vector lightDirection, Light light, Light[] otherLights, Surface[] otherSurfaces)`
`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 surface, Surface[] otherSurfaces)` Constructs a new ShaderParameters object using the specified arguments.

Uses of Light in net.sf.j3d.threeD.ui.dialogs

Constructors in net.sf.j3d.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 net.sf.j3d.threeD.ui.event

Methods in net.sf.j3d.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 net.sf.j3d.threeD.ui.event with parameters of type Light
`LightAddEvent(Light target)` Constructs a new LightAddEvent object using the specified target.
`LightEditEvent(int code, Light target)` Constructs a new LightEditEvent object with the specified integer code and target.
`LightRemoveEvent(Light target)` Constructs a new LightRemoveEvent object using the specified target.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES