Cockpitbuilders.com

Main => General Discussion Board. => Topic started by: RayS on September 17, 2016, 09:45:57 PM

Title: 30 seconds of simulated lightning!
Post by: RayS on September 17, 2016, 09:45:57 PM
It's all explained in the video, but here's the alpha version of using ambient light to recreate the cockpit environment.

Lots of code work ahead, but so far, pleased with the results!
https://youtu.be/ddKyvhuh3w0 (https://youtu.be/ddKyvhuh3w0)
Title: Re: 30 seconds of simulated lightning!
Post by: iwik on September 18, 2016, 12:05:16 AM
Well done, really effective.
Les
Title: Re: 30 seconds of simulated lightning!
Post by: KyleH on September 18, 2016, 08:22:43 AM
Hey Ray, is that done from data refs or RGB sensors? Just wondering how you'll be able to ge rid of the delay.
Title: Re: 30 seconds of simulated lightning!
Post by: RayS on September 18, 2016, 11:39:30 AM
This version is all done from the RGB sensor, which poses a few other technical hurdles.

1. I can control the loop/delay only to a degree as the RGB sensor take 60ms to read and send the data to the microcontroller.

2. Something I really didn't expect: the Sensor is SO sensitive that it's revealing how the LCD projectors work! Each projector has a CMYK disk that spins at an ungodly rate. This allows the projector to use a B/W LCD screen and as each colored section of the disk passes through the light beam, the image is sent out to the screen. Do this a bajillion times a second, and the naked eye is none the wiser as to how the image is compiled.

The problem is that the RGB sensor can see these individual CMYK images as they leave the projector, creating a sort of psychedelic ambient lighting inside the pit.

This is a problem that really stumps me. I think one way around it is to "Hold the shutter open longer" on the sensor, but I haven't yet figured out how to do that.