/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/ |
H A D | LightControl.java | 36 import com.jme3.light.DirectionalLight; 37 import com.jme3.light.Light; 38 import com.jme3.light.PointLight; 63 * to the Transform of the light. 67 private Light light; field in class:LightControl 77 * @param light The light to be synced. 79 public LightControl(Light light) { argument 80 this.light = light; 86 LightControl(Light light, ControlDirection controlDir) argument 95 setLight(Light light) argument 122 spatialTolight(Light light) argument 140 lightToSpatial(Light light) argument [all...] |
/external/qemu/android/ |
H A D | hw-control.h | 18 * of a given light. 'light' is a string which can be one of: 26 const char* light,
|
/external/qemu/android/protocol/ |
H A D | ui-commands-api.h | 34 const char* light,
|
H A D | ui-commands.h | 41 char light[0]; member in struct:UICmdChangeDispBrightness
|
H A D | ui-commands-proxy.c | 136 * of a given light. 'light' is a string which can be one of: 145 const char* light, 149 const size_t cmd_size = sizeof(UICmdChangeDispBrightness) + strlen(light) + 1; 154 strcpy(cmd->light, light); 144 _uiCmdProxy_brightness_change_callback(void* opaque, const char* light, int brightness) argument
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/ |
H A D | LightNode.java | 34 import com.jme3.light.Light; 54 public LightNode(String name, Light light) { argument 55 this(name, new LightControl(light)); 82 public void setLight(Light light) { argument 83 lightControl.setLight(light);
|
/external/jmonkeyengine/engine/src/core/com/jme3/light/ |
H A D | AmbientLight.java | 1 package com.jme3.light; 6 * An ambient light adds a constant color to the scene. 10 * multiplied by the ambient light color to get the final ambient color of
|
/external/skia/src/effects/ |
H A D | SkEmbossMaskFilter.cpp | 38 SkEmbossMaskFilter::Light light; local 40 memcpy(light.fDirection, direction, sizeof(light.fDirection)); 41 light.fAmbient = SkToU8(am); 42 light.fSpecular = SkToU8(sp); 44 return SkNEW_ARGS(SkEmbossMaskFilter, (light, blurRadius)); 58 SkEmbossMaskFilter::SkEmbossMaskFilter(const Light& light, SkScalar blurRadius) argument 59 : fLight(light), fBlurRadius(blurRadius) { 98 // run the light direction through the matrix... 99 Light light local [all...] |
H A D | SkEmbossMask.cpp | 81 void SkEmbossMask::Emboss(SkMask* mask, const SkEmbossMaskFilter::Light& light) { argument 86 int specular = light.fSpecular; 87 int ambient = light.fAmbient; 88 SkFixed lx = SkScalarToFixed(light.fDirection[0]); 89 SkFixed ly = SkScalarToFixed(light.fDirection[1]); 90 SkFixed lz = SkScalarToFixed(light.fDirection[2]); 143 // value in the light, and just pass that in to this function.
|
/external/qemu/distrib/sdl-1.2.15/test/ |
H A D | testalpha.c | 62 /* Create a "light" -- a yellowish surface with variable alpha */ 71 SDL_Surface *light; local 79 light = SDL_CreateRGBSurface(SDL_SWSURFACE, 2*radius, 2*radius, 16, 86 light = SDL_CreateRGBSurface(SDL_SWSURFACE, 2*radius, 2*radius, 32, 88 if ( light == NULL ) { 89 fprintf(stderr, "Couldn't create light: %s\n", SDL_GetError()); 94 /* Fill with a light yellow-orange color */ 95 skip = light->pitch-(light->w*light 153 FlashLight(SDL_Surface *screen, SDL_Surface *light, int x, int y) argument 247 MoveSprite(SDL_Surface *screen, SDL_Surface *light) argument 331 SDL_Surface *light; local [all...] |
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/ |
H A D | SceneLoader.java | 36 import com.jme3.light.DirectionalLight; 37 import com.jme3.light.Light; 38 import com.jme3.light.PointLight; 39 import com.jme3.light.SpotLight; 74 private Light light; field in class:SceneLoader 100 light = null; 145 checkTopNode("light"); 148 if (light instanceof DirectionalLight) 149 ((DirectionalLight) light).setDirection(parseVector3(attribs)); 150 else if (light instanceo [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/shadow/ |
H A D | ShadowCamera.java | 34 import com.jme3.light.DirectionalLight;
35 import com.jme3.light.Light;
36 import com.jme3.light.PointLight;
41 * Creates a camera according to a light
42 * Handy to compute projection matrix of a light
58 * Updates the camera view direction and position based on the light
|
/external/jmonkeyengine/engine/src/test/jme3test/texture/ |
H A D | TestTexture3D.java | 9 import com.jme3.light.PointLight; 73 //add some light so that it is visible 74 PointLight light = new PointLight(); 75 light.setColor(ColorRGBA.White); 76 light.setPosition(new Vector3f(5, 5, 5)); 77 light.setRadius(20); 78 rootNode.addLight(light); 79 light = new PointLight(); 80 light.setColor(ColorRGBA.White); 81 light [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/light/ |
H A D | TestManyLights.java | 33 package jme3test.light;
|
H A D | TestLightRadius.java | 33 package jme3test.light; 36 import com.jme3.light.DirectionalLight; 37 import com.jme3.light.PointLight;
|
H A D | TestSimpleLighting.java | 33 package jme3test.light; 36 import com.jme3.light.DirectionalLight; 37 import com.jme3.light.PointLight;
|
/external/quake/quake/src/QW/client/ |
H A D | gl_rlight.c | 37 // light animations 38 // 'm' is normal light, 'a' is no light, 'z' is double bright 94 void R_RenderDlight (dlight_t *light) argument 104 rad = light->radius * 0.35; 106 VectorSubtract (light->origin, r_origin, v); 109 AddLightBlend (1, 0.5, 0, light->radius * 0.0003); 119 glColor4f (light->color[0], light->color[1], light 189 R_MarkLights(dlight_t *light, int bit, mnode_t *node) argument [all...] |
H A D | r_surf.c | 81 continue; // not lit by this light 251 // the fractional light values should range from 0 to (VID_GRADES - 1) << 16 328 int v, i, b, lightstep, lighttemp, light; local 349 light = lightright; 355 [(light & 0xFF00) + pix]; 356 light += lightstep; 378 int v, i, b, lightstep, lighttemp, light; local 399 light = lightright; 405 [(light & 0xFF00) + pix]; 406 light 428 int v, i, b, lightstep, lighttemp, light; local 478 int v, i, b, lightstep, lighttemp, light; local 532 int lighttemp, lightstep, light; local [all...] |
H A D | r_light.c | 38 // light animations 39 // 'm' is normal light, 'a' is no light, 'z' is double bright 69 void R_MarkLights (dlight_t *light, int bit, mnode_t *node) argument 80 dist = DotProduct (light->origin, splitplane->normal) - splitplane->dist; 82 if (dist > light->radius) 84 R_MarkLights (light, bit, node->children[0]); 87 if (dist < -light->radius) 89 R_MarkLights (light, bit, node->children[1]); 105 R_MarkLights (light, bi [all...] |
/external/quake/quake/src/WinQuake/ |
H A D | gl_rlight.cpp | 37 // light animations
38 // 'm' is normal light, 'a' is no light, 'z' is double bright
75 void R_RenderDlight (dlight_t *light)
argument 82 rad = light->radius * 0.35;
84 VectorSubtract (light->origin, r_origin, v);
87 AddLightBlend (1, 0.5, 0, light->radius * 0.0003);
105 *pPos++ = light->origin[i] - vpn[i]*rad;
114 *pPos++ = light->origin[j] + vright[j]*cos(a)*rad
127 v[i] = light 192 R_MarkLights(dlight_t *light, int bit, mnode_t *node) argument [all...] |
H A D | r_surf.cpp | 81 continue; // not lit by this light
268 // the fractional light values should range from 0 to (VID_GRADES - 1) << 16
345 int v, i, b, lightstep, lighttemp, light;
local 366 light = lightright;
372 [(light & 0xFF00) + pix];
373 light += lightstep;
395 int v, i, b, lightstep, lighttemp, light;
local 416 light = lightright;
422 [(light & 0xFF00) + pix];
423 light 445 int v, i, b, lightstep, lighttemp, light; local 495 int v, i, b, lightstep, lighttemp, light; local 549 int lighttemp, lightstep, light; local [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/lights/ |
H A D | LightHelper.java | 35 import com.jme3.light.DirectionalLight;
36 import com.jme3.light.Light;
37 import com.jme3.light.PointLight;
38 import com.jme3.light.SpotLight;
50 * A class that is used in light calculations.
105 throw new BlenderFileException("Unknown light source type: " + type);
|
/external/skia/include/effects/ |
H A D | SkEmbossMaskFilter.h | 17 This mask filter creates a 3D emboss look, by specifying a light and blur amount. 28 SkEmbossMaskFilter(const Light& light, SkScalar blurRadius);
|
/external/jmonkeyengine/engine/src/android/jme3test/android/ |
H A D | TestUnshadedModel.java | 4 import com.jme3.light.AmbientLight; 5 import com.jme3.light.PointLight;
|
/external/jmonkeyengine/engine/src/test/jme3test/material/ |
H A D | TestUnshadedModel.java | 4 import com.jme3.light.AmbientLight; 5 import com.jme3.light.PointLight;
|