bordertexture oddities...

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
liquidskin76 Offline
Skilled Skinner
Posts: 1,290
Joined: Aug 2009
Reputation: 16
Location: UK
Post: #1
If i have a poster and give a bordertexture of 1, i don't get an even border on all sides. It's slighty out. If i use 2 it's fine.

Same if i use a white image behind the poster, and have the poster 2 pixel's less in size, and moved 1 pixel over/down.

Any thoughts? Guessing it's just that 1 pixel is too small? See it on both Eden and Nightlies.

Cheers Wink

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
(This post was last modified: 2012-10-03 10:33 by liquidskin76.)
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,564
Joined: Oct 2003
Reputation: 138
Post: #2
It could be the scaling - compare you skin resolution to the screen resolution, and how the coordinates will be scaled. XBMC rounds to integer coordinates, so if some small scaling occurs, you can often see 1 pixel change to 2 (or 0) which is quite a noticeable difference (where as 4->5 pixels isn't quite so obvious).

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
liquidskin76 Offline
Skilled Skinner
Posts: 1,290
Joined: Aug 2009
Reputation: 16
Location: UK
Post: #3
It's a 720p skin on a 1080p monitor and LED TV.

That's what it looks like... a mix of 1 and 1.5/2 pixel border edges.

Thanks

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
(This post was last modified: 2012-10-03 10:59 by liquidskin76.)
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,564
Joined: Oct 2003
Reputation: 138
Post: #4
That makes perfect sense - it's multiplying by 3/2, so if your pixels aren't aligned to even pixels, they'll be positioned at 0.5 of a pixel, which is the worse possible for rounding.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
liquidskin76 Offline
Skilled Skinner
Posts: 1,290
Joined: Aug 2009
Reputation: 16
Location: UK
Post: #5
Ok, i'm with you. 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