[TV] Amb i Light Support (1 Viewer)

frankytv

Portal Pro
November 17, 2009
56
4
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
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
    Germany Germany
    Country flag
    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
    Germany Germany
    Country flag
    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
    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
    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 (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    horned_reaper [solved] HID commands are not processed when multiple applications with HID support are open General Support 16
    horned_reaper [solved] Add support for Bluetooth events Improvement Suggestions 2
    CyberSimian Support for control.isvisible() in expressions MediaPortal 1 8
    morpheus_xx [WiP] OnlineVideos: New browser based playback support using WebDriver, new Amazon siteutil MediaPortal 2 14
    M 2nd (Touch-)Display Support on MediaPortal 2 such MPDisplay++? General 2
    J Support waipu TV TV-Server 0
    doskabouter WebDAV support OnlineVideos 0
    K Multichannel audio and subtitles for TV not properly supported General Support 4
    CyberSimian Support pack for Ortek VRC-1100 and Hama 00052451 Remotes 6
    cbr954rr [Finished] [MP2-801] Support for tag image extraction Archive 7
    catavolt [solved] FanartHandler - Skin - Holiday and Spotlight support Fanart Handler 14
    C Drive Type is not supported by system Allgemeines Support- und Diskussionsforum 3
    raffe [solved] Export tool and import support from MP-TVSeries & Moving Pictures to MP2 General 22
    morpheus_xx General Testing TVE 3.5 Sat>IP support (MP2 only) TV Engine 47
    E M3U Playlist and EPG Support/Configuration Installation, configuration support 1
    G Mediaportal2 supported formats General 1
    M [solved] Stub Support General 11
    morpheus_xx [WiP] Adding 64 bit support to MP2 MediaPortal 2 31
    A Mediaportal 1.20 support MediaPortal 1 Talk 3
    Lehmden FTP and WebDAV support. MediaPortal 2 0
    Top Bottom