2012-01-16, 02:31
Ok so I'm having a few issues with image controls while developing by weather add on that has animated radars.
Scaling
I have found that when a Window is not standard size (i.e. not 1920 by 1080p), that images and multi images scale quite differently - my transparent rain slideshows that are overlayed over solid backgrounds - scale off the edges.
Is this by intention and/or solve-able? For my own purposes, I always use 1920 by 1080 but I'd like my add on to behave better in other scenarios if possible....
Transparency
I am getting some weirdness with image overlays. Basically, I have a background terrain map that then has location names, radar ranges etc, overlaid on top. The overlays are transparent pngs - some work, others don't, they transparent sections go white. Looking at the colour tables in Photoshop, they appear to be set up the same, and I can't work it out.
I think this is an XBMC bug but it might well be something in the images I can't spot it though.
ANYONE HAVE ANY IDEAS?? Help very much appreciated - it's one of the last remaining things to squish before I launch this and there's probably like three whole people eagerly awaiting the release!!
I have some image sets here:
http://code.google.com/p/bossanova808-xb...loads/list
IDR023 works
IDR193 does not - the locations overlay is rendered as white instead of see through
Skin code is this
Scaling
I have found that when a Window is not standard size (i.e. not 1920 by 1080p), that images and multi images scale quite differently - my transparent rain slideshows that are overlayed over solid backgrounds - scale off the edges.
Is this by intention and/or solve-able? For my own purposes, I always use 1920 by 1080 but I'd like my add on to behave better in other scenarios if possible....
Transparency
I am getting some weirdness with image overlays. Basically, I have a background terrain map that then has location names, radar ranges etc, overlaid on top. The overlays are transparent pngs - some work, others don't, they transparent sections go white. Looking at the colour tables in Photoshop, they appear to be set up the same, and I can't work it out.
I think this is an XBMC bug but it might well be something in the images I can't spot it though.
ANYONE HAVE ANY IDEAS?? Help very much appreciated - it's one of the last remaining things to squish before I launch this and there's probably like three whole people eagerly awaiting the release!!
I have some image sets here:
http://code.google.com/p/bossanova808-xb...loads/list
IDR023 works
IDR193 does not - the locations overlay is rendered as white instead of see through
Skin code is this
Code:
<!-- RADAR BACKGROUND IMAGES -->
<control type="image">
<description>background image</description>
<posx>115</posx>
<posy>100</posy>
<width>512</width>
<height>557</height>
<texture>special://home/userdata/addon_data/weather.ozweather/radarbackgrounds/$INFO[Window.Property(Radar)]/legend.png</texture>
<aspectratio aligny="top">keep</aspectratio>
</control>
<control type="image">
<description>background image</description>
<posx>115</posx>
<posy>100</posy>
<width>512</width>
<height>512</height>
<texture>special://home/userdata/addon_data/weather.ozweather/radarbackgrounds/$INFO[Window.Property(Radar)]/background.png</texture>
<aspectratio aligny="top">keep</aspectratio>
</control>
<control type="image">
<description>locations image</description>
<posx>115</posx>
<posy>100</posy>
<width>512</width>
<height>512</height>
<texture>special://home/userdata/addon_data/weather.ozweather/radarbackgrounds/$INFO[Window.Property(Radar)]/locations.png</texture>
<colordiffuse>FFFFFFFF</colordiffuse>
<aspectratio aligny="top">keep</aspectratio>
</control>