   Simple question - how to measure light levels on a surface?
  I’ve recently begun with openGL before and am trying to build a simulation of simple robot that finds a bright spot in room. It isn’t clear to if openGL is a useful tool, but the rendering needs to be reasonably realistic.It should be simple, but for some reason I can’t figure out how to measure the light level on a particular surface (eg. To get the machines light sensor reading). Any help would be greatly appreciated!Thanks,k   
  Maybe you can use shaders and program a simple lightning.For instance per vertex. When you light your target objectyou write the computed lightintensity in a rendertarget.Maybe you can write the coordinates of the lighted vertex inthe RGB (x,y,z) and A for intensity. So you maybe can use the vertex coordinates that come in to you shader. But they are on object space. then you can look for the highest intensity. Just an idea, maybe its totally stupid.regadsc-mos   