After running my textures through texturepacker, some appear differently. Here's an example (scroll bar)...
before...
![[Image: ZcbkU.jpg]](http://i.imgur.com/ZcbkU.jpg)
after...
![[Image: OKRTT.jpg]](http://i.imgur.com/OKRTT.jpg)
Any idea why this would happen. That particular texture is just standard photoshop RGB 8bit.
Cheers
liquidskin76
Skilled Skinner Joined: Aug 2009 Reputation: 16 Location: UK |
2012-05-14 13:11
Post: #1
Hi guys,
After running my textures through texturepacker, some appear differently. Here's an example (scroll bar)... before... ![]() after... ![]() Any idea why this would happen. That particular texture is just standard photoshop RGB 8bit. Cheers Welo... a skin for XBMC HTPC: Streacom FC1 Evo Case | Asus P8H77-I ITX | Intel Core i3 3220T | Kingston HyperX SSD | Kingston DDR3 RAM Home AV: Sony KDL-40HX723 | Sky+HD | Sony BDP-S480 BD Player | Sony STR-DH820 AV Receiver | Sony Speaker System | Sony PS3 Slim | Logitech Harmony Touch |
| find quote |
`Black
Skilled Skinner Joined: Apr 2009 Reputation: 50 Location: Germany |
2012-05-14 13:26
Post: #2
This happens when the texture is very small... you can try adding border="1" to the texture which mostly helps or you have to use a slightly bigger texture.
(This post was last modified: 2012-05-14 13:26 by `Black.)
|
| find quote |
butchabay
Skilled Skinner Joined: Mar 2010 Reputation: 62 Location: Switzerland |
2012-05-14 13:26
Post: #3
Have a similar problem with some packed textures.
Another strange behaviour i've noticed, when i download my modded skin fusion migma v2 from my repository it shows fine, but if i download the same version via xbmc passion repo i have similar effects you've posted in your screenshots. Will post some screenshots when i get home this evening. Hope really someone comes up and can explain why this happens ![]() Edit: Just saw black's post. Sadly it's not only happening with small textures, i have a bigger background showing different before and after packing the textures.
(This post was last modified: 2012-05-14 13:29 by butchabay.)
|
| find quote |
liquidskin76
Skilled Skinner Joined: Aug 2009 Reputation: 16 Location: UK |
2012-05-14 13:38
Post: #4
(2012-05-14 13:26)`Black Wrote: This happens when the texture is very small... you can try adding border="1" to the texture which mostly helps or you have to use a slightly bigger texture. Hey Black, The two textures i'm seeing this with are both 6x6 pixels, then stretched using code dimensions, so that may well be the problem. I'll try increasing there size. Cheers Welo... a skin for XBMC HTPC: Streacom FC1 Evo Case | Asus P8H77-I ITX | Intel Core i3 3220T | Kingston HyperX SSD | Kingston DDR3 RAM Home AV: Sony KDL-40HX723 | Sky+HD | Sony BDP-S480 BD Player | Sony STR-DH820 AV Receiver | Sony Speaker System | Sony PS3 Slim | Logitech Harmony Touch |
| find quote |
pecinko
Member+ Joined: Dec 2008 Reputation: 27 Location: Prague / Belgrade |
2012-05-14 14:12
Post: #5
You should be fine with textures 4x4 or bigger.
My guess is that you are using 1px padding around textures and this does not work well with progress/scroll bars if you do not force border. |
| find quote |
Hitcher
Skilled Skinner Joined: Aug 2007 Reputation: 67 Location: Eastleigh, UK |
2012-05-14 14:20
Post: #6
As 'black said, just add border="1" to your smaller textures.
Code: <texturesliderbarfocus border="1">common/scroll_bar_focus.png</texturesliderbarfocus>
![]() |
| find quote |
liquidskin76
Skilled Skinner Joined: Aug 2009 Reputation: 16 Location: UK |
2012-05-14 15:40
Post: #7
Yeah, the 1 pixel border sorted. Cheers guys.
Welo... a skin for XBMC HTPC: Streacom FC1 Evo Case | Asus P8H77-I ITX | Intel Core i3 3220T | Kingston HyperX SSD | Kingston DDR3 RAM Home AV: Sony KDL-40HX723 | Sky+HD | Sony BDP-S480 BD Player | Sony STR-DH820 AV Receiver | Sony Speaker System | Sony PS3 Slim | Logitech Harmony Touch |
| find quote |