Questions tagged [ambient]
72 questions
0
votes
1 answer
Ambient occlusion hemisphere centered on arbitrary normal
I am implementing ambient occlusion using a cosine weighted hemisphere. So far I assume that the hemisphere is centered about normal (0,0,1), which is pointing in the positive z direction. I cast rays about this hemisphere using zenith and azimuth…

Stackmm
- 21
- 1
- 4
0
votes
1 answer
determine the amount of ambient light levels
For this program I am working with python.
I am supposed to move the robot to a random position and rotate it 360 degrees. I have to assign 15 readings from all three light sensors to three different lists.
I then have to calculate the average of…

Bryn
- 47
- 8
0
votes
1 answer
Change background drawable android wear
i would like to ask how would you change the background drawable when the android wear is in ambient mode?
Here are my code
public void draw(Canvas canvas, Rect bounds,Context context) {
time.setToNow();
//…

EggRollMan
- 583
- 1
- 8
- 20
0
votes
1 answer
Can I set the ambient property of a MeshPhongMaterial to false in a three.js imported Blender model?
I'm doing a student project and I have a scene with an ambient light and a spotlight. I've imported a Blender model which has the line:
"colorAmbient" : [0.6400000190734865, 0.6400000190734865, 0.6400000190734865],
in the JSON file.
Is there any…

KayM
- 318
- 1
- 2
- 12
0
votes
1 answer
Showing "Low light" as message when there is low light while using iphone camera
I have a requirement where I need to show a message "Low light" when there is a low light around the iphone front camera. I was searching for public API which does this but didn't find anything. Also did check ambient light sensor but nothing…

Naveen
- 636
- 8
- 28
0
votes
1 answer
Ambient Light Sensor Interrupt Status register not getting updated
I'm using WinCE 7 Visual Studio 2008 and writing a driver code for ALS (MAX44009). I have written the following code for reading the interrupt status register and displaying messages when the interrupt has occurs. But, it works randomly for a few…

Gomu
- 1,004
- 5
- 16
- 36
0
votes
1 answer
Ambient light sensors in iphone
In our app, If a user covers the top area of iphone where ambient light sensors are available, i want to get the changing value of ambient light sensors. I don't want to manipulate those value as i understand Apple doesn't allow to play with…

Nitya
- 449
- 1
- 8
- 24
0
votes
1 answer
Ambient declations for javascript modules that add fields to interfaces in other modules
Suppose I want to use something like express. So I add
///
import express = require("express");
and can then use types like ExpressServerRequest.
So far so good. But now I want to use, for example, the…
0
votes
1 answer
Do any phones support a "night mode" (inside vs. outside) for ambient light detection
Optimal screen colors differ in outside sunlight, at night, and inside lighting. Is there any way to detect the ambient light conditions in any Android phone or other mobile device?

maxweber
- 576
- 1
- 5
- 12
0
votes
0 answers
How would one implement ambient listening in Java?
I want to write a program that will start a thread when a is heard. I would imagine a grammar list might help to achieve this, but wouldn't the keyword be triggered all the time? (I only want the keyword to start a thread). I already have voice…

Skylion
- 2,696
- 26
- 50
0
votes
1 answer
Light sensor to dim screen?
After being pointed into light sensor things I have found myself here asking if anyone has some example code for use with dimming the screen of an android phone by using the ambient light around it.

linuxrox
- 139
- 1
- 12
-2
votes
2 answers
Explanation of working principle of openGL
I'm trying to understand how coding in openGL works. I found this code on the internet and I want to understand it clearly.
For my vertex shader I have:
Vertex
uniform vec3 fvLightPosition;
varying vec2 Texcoord;
varying vec2 Texcoordcut;
…

Tim Dirks
- 439
- 1
- 6
- 17