Re: Adalight with Lightpack
EDIT: Sorry, I now realize you are not the maker of light pack... never mind. Hopefully he will chime in here. Your setup is a little too custom for my program in its current state (bottom row with larger squares is not supported). For people using a single strand equally spaced around their TV: Please give it a try! For anyone else even without LEDs, feel free to try it just to see my pretty boxes change color at 30FPS even with Windows 7/8 Aero Enabled.
I looked around in your Google code. You should try using StretchDIBits to shrink to 1px instead of counting them. Mine works fine with Aero at full speed now (capture screen once, then recapture off that for the frames, and shrink them to 1px)
So I don't have to figure it out from your code, can you tell me the byte-structure yours (and boblight) sends? I want to make my WS2811 arduino code compatible with existing software.
Also, you can try out my software even without lights... the preview thing is pretty cool (set bulbs to 50, BGR, 0-shift, not reversed... then the 50boxes will match the edges of the screen). I want to add features for number of averages too, so you can just turn on the sides, or make it all 1-color average, or do all 50 individual leds as-is. When I was counting pixels I had a bunch of averaging math that would average pyramid's around the bulb instead of squares, but shrinking a square to 1px is soooo much faster. I've thought of counting MAX color too instead of averaging, or maybe MAX averaged with AVG. Any insight on what winds up looking best that you can give me? (Right now I average a rect that is 120px x 30px for the top and bottom, 60px by 120px for the sides, and 60x60 for the corners... all dynamically adjusted based on LED # and screen-resolution, assuming 16x9 screen ratio... these numbers are just how the math turns out for 50 leds). That math was chosen for my pyramid code... now that I am shrinking to 1px, I can easily change those squares to anything (I think I'll make the top and bottom 60px now instead of 30). Your color-widget thing is pretty cool, but I do not plan to copy it, I just want settings for the math, and let it auto-configure from there.
- New Screen-Shot
- RPMlight.jpg (71.62 KiB) Viewed 4552 times