[TV] Amb i Light Support (2 Viewers)

frankytv

Portal Pro
November 17, 2009
56
4
Home Country
Germany Germany
i realy don't understand why only the Bottom Light had a wrong color.

Was the color rotated, like Red was green or blue ?

I checked it again and the 0931 was programmed correct. No R,G,B values wrong assigned aso.
Hmm ?! Cause if the simulation Bars shows the correct colors, the output does the same.

I used the protokoll like the Atmo Wiki it said.

Byte Beschreibung
0 0xFF: Startbyte
1 0x00: Startkanal (low byte)
2 0x00: Startkanal (high byte)
3 0x0F: Anzahl Kanäle (15 = 5 * 3 (R, G, B))
4 - 6 Summenkanal R, G, B (Center)
7 - 9 linker Kanal R, G, B (Left)
10 - 12 rechter Kanal R, G, B (Right)
13 - 15 oberer Kanal R, G, B (Top)
16 - 18 unterer Kanal R, G, B (Bottom)

Let me check again.

rg
Frank
 

frankytv

Portal Pro
November 17, 2009
56
4
Home Country
Germany Germany
so new Version 0933 should work now also with Atmo-Harware.

i transmitted 18 bytes instead of 19 :oops:


The MSL use normaly its own Hardware. When i started last week with the developing i didn't know
about the others. :confused: So i made my own.

But Ice has only Atmo Hardware so i included this also for testing.

In the new Version you can select wich Hardware u use.

rg
Frank
 

gemx

Retired Team Member
  • Premium Supporter
  • October 31, 2006
    1,972
    539
    Home Country
    Germany Germany
    Why not develop an MP Plugin?

    MP is already able to take screenshots and has full controll over the renderer (VMR9 or EVR).
    So you just have to interface the renderer and you get the picture.

    Doesn't matter if AERO is enabled or not.

    Just have a look at how screenshots are done in MP
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Why not develop an MP Plugin?

    MP is already able to take screenshots and has full controll over the renderer (VMR9 or EVR).
    So you just have to interface the renderer and you get the picture.

    Doesn't matter if AERO is enabled or not.

    Just have a look at how screenshots are done in MP

    That wouldn't solve the CPU usage when data needs to be copied back from the RAM from GPU memory. But if that analysis would be done on pixel shaders (not sure if those can be used to pass some results back to the CPU side) then the results would be coming for free :)

    But indeed, MP has a way to 1) provide screenshots 2) ability to allow plugin to read and copy the video texture from GPU memory.
     

    gemx

    Retired Team Member
  • Premium Supporter
  • October 31, 2006
    1,972
    539
    Home Country
    Germany Germany
    The needed lines for a taking a screenshot are:
    Code:
                  Surface backbuffer = GUIGraphicsContext.DX9Device.GetBackBuffer(0, 0, BackBufferType.Mono);
                  SurfaceLoader.Save(fileName + ".png", ImageFileFormat.Png, backbuffer);
                  backbuffer.Dispose();
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    The needed lines for a taking a screenshot are:

    Just an idea for optimization. As the data amount the LEDs can display is pretty limited, it would be possible to blit the backbuffer to a new (much smaller texture) inside GPU and then just copy that to the RAM. It would save the bus bandwidth during the transfer and CPU cycles when analyzing the picture. 100 x 100 picture should be already enough? And it would give HUGE boost on the performance.
     

    frankytv

    Portal Pro
    November 17, 2009
    56
    4
    Home Country
    Germany Germany
    Hi,

    thanks for the Lines. Have first to see how i write a plugin. lol

    There is no need to cap the hole screen.
    The actual Version cap's only 24 selected Pixel. Thats enough for the Light.
    Colors are pretty correct. (ask Ice_Man)

    But i think i have a third idear which i wanna try this evening.
    Maybe this protect me from learning "how to" develop a plugin. ;)

    let me check.
     

    revs

    MP Donator
  • Premium Supporter
  • February 1, 2007
    1,274
    72
    The Sauce of Worcester
    Home Country
    Wales Wales
    OK im going to be lazy and buy a amBX system, as they are only £30 now, maybe a couple of them would be a good idea with a big tv. Not sure if its as good as a atmo light though!

    When/If I get one I'll post a review
     

    Users who are viewing this thread

    Top Bottom