Kodi Community Forum

Full Version: Latest XBMC OpenGL Rotation Bug?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Not sure if a bug or summin that is temporarilly broken, but I have a image of a cog which is rotated on its center point. The code has not changed and now with the newer xbmc's is not working....

I have highlighted the problem in the red box, the cog should be face on but now looks like its skewed.

Image

The code used is as follows...

<control type="image">
<posx>454</posx>
<posy>479</posy>
<width>372</width>
<height>372</height>
<texture>settings-big-cog.png</texture>
<animation type="Conditional" reversible="false" condition="ControlGroup(9000).HasFocus(95)">
<effect type="rotate" start="0" end="-45" center="auto" time="200" />
</animation>
</control>
Works OK on the DX build, I'll try the GL later.
Just tried with the DX version and same problem happens Confused
Latest build -

Image

Very strange.
Hitcher Wrote:Latest build -

Very strange.

that it works ? or am I missing somthing that makes it not look right... Huh
Could it be the center="auto" that's screwing it up?

i.e. if you specify the center all is fine?
Jezz_X Wrote:that it works ? or am I missing somthing that makes it not look right... Huh
Strange that it doesn't work for EqUiNoX.
I'ill do a test page that can be plugged into pm3 to reproduce the problem.

As i say things work fine on a older version of xbmc. I have tried doing the center manually and also tried various camera x & y's but still same problem.

The problem exists on r23458 GL/DX, I may try going back x revisions to see if i can track when problem starts.

I thought at first the problem maybe because i had XBMC windowed and at a size about 720x509, but doesnt appear to be the case as problem still happens fullscreen.
I believe this is resolution based Equinox. If you switch XBMC back to 720p, if thats even possible anymore :S, the cog fixes itself. In other resolutions, it looks wonky for some reason.
If the screenshot was taken when it was rotated 45 degrees, then all it is is stretched vertically slightly.

You don't happen to have a bunch of PAL XML files as well as 720p XML files do you?
jmarshall Wrote:If the screenshot was taken when it was rotated 45 degrees, then all it is is stretched vertically slightly.

You don't happen to have a bunch of PAL XML files as well as 720p XML files do you?

The entire ellipsis skin is in the 720p folder and not in any of the other res folders.
do you have <aspectratio>keep<... on because if you have resized the window to non 1x1 pixel it might cause it too
Jezz_X Wrote:do you have <aspectratio>keep<... on because if you have resized the window to non 1x1 pixel it might cause it too

It worked, thanks for that mate, I really didnt expect aspectratio to fix that. I was thinking image was square and with any rotation would still be square. I didnt think current resoltion affected the scale in that way Big Grin
Indeed, if the window is resized off the 1:1 pixel ratio, then the rotation will go funny.