This question is an intersection of both hardware and software. I am trying to understand the theory of AR technology, but hitting some roadblocks and cannot find any good online resources that talk about this in detail. Please correct me if my understanding is incorrect.
2D MEMS mirrors will reflect a pulse of light from a laser at a very high frequency so it can achieve rendering x pixels/sec (each pixel is a single pulse from the laser). I am using a rendering software, OpenGL to design the actual object I want to render. What I do not understand is the interaction between the rendered object, the laser, and the MEMS mirror.
I think I have an idea. The rendered image in OpenGL can be converted to a PPM file where every pixel is defined with the RGB value. These values can be fed into the laser driver so it can generate each pixel for each pulse. Now the MEMS mirror has to be angled correctly so it can be displayed at a certain position in the coordinate system. In order to actually angle the MEMS mirror, a certain voltage must be passed into the x, y inputs of the mirror at certain times.
- Render object
- Convert to PPM
- Generate a “angle” file which maps voltage to specific angles for the MEMS mirror
The coordinate system is a totally different question, but it looks like extrinsic and intrinsic matrices are the right direction.