Open profK opened 10 years ago
I can't say I've seen this before.
The aspect ratio of those screens are very different. Also i see more than just clipping issues there... like placement for rendering is off completely.
Hi Tom,
I think you are misinterpreting the images.
Both the images and the text in that demo drag freely. The clip is supposed to cut off the image just before the blue frame, and the text just before the value frame.
Look at the OSX image and compare, they really are pixel identical except for the clip.
My fudging the clip over by +20 in the X direction on Android makes them look the same.
I can post an image of that if you like.
JK
On Sat, Apr 26, 2014 at 3:09 PM, Tom Spilman notifications@github.comwrote:
I can't say I've seen this before.
The aspect ratio of those screens are very different. Also i see more than just clipping issues there... like placement for rendering is off completely.
— Reply to this email directly or view it on GitHubhttps://github.com/mono/MonoGame/issues/2429#issuecomment-41477766 .
It's always darkest just before you are eaten by a grue.
I should say pixel identical give or take some slop in the scroll positions, since I draggers both manually.
On Sat, Apr 26, 2014 at 4:32 PM, Jeffrey Kesselman jeffpk@gmail.com wrote:
Hi Tom,
I think you are misinterpreting the images.
Both the images and the text in that demo drag freely. The clip is supposed to cut off the image just before the blue frame, and the text just before the value frame.
Look at the OSX image and compare, they really are pixel identical except for the clip.
My fudging the clip over by +20 in the X direction on Android makes them look the same.
I can post an image of that if you like.
JK
On Sat, Apr 26, 2014 at 3:09 PM, Tom Spilman notifications@github.comwrote:
I can't say I've seen this before.
The aspect ratio of those screens are very different. Also i see more than just clipping issues there... like placement for rendering is off completely.
— Reply to this email directly or view it on GitHubhttps://github.com/mono/MonoGame/issues/2429#issuecomment-41477766 .
It's always darkest just before you are eaten by a grue.
It's always darkest just before you are eaten by a grue.
Here's the android image with the clip rectangle fudged by +20 in X.
Its perfect. Everything else is positioned exactly right.
Probably not the issue, but if you swap the X/Y cords in the clip rectangle do things work?
Good guess but no. It messes up in other ways and worse.
(I tried both just swapping the position, and swapping the position and the width/height but neither worked)
I wonder if the clip isn't relative to the viewport.
Have you tried disabling the title bar? http://stackoverflow.com/questions/2862528/how-to-hide-app-title-in-android
See the bottom of #1748 - There are some mentions of scissor and android there (not sure if that is the same thing, but sounds like it).
yup its the same issue, it sounds like.
Did the change mentioned in #1748 fix this for you @profK? (Changing a line in OpenTKGameWindow)
I fudged it rather then hang to mess with and rebuild Monogame. Haven't had time to try hacking MG...
On Mon, May 5, 2014 at 1:59 AM, Dave Leaver notifications@github.comwrote:
Did the change mentioned in #1748https://github.com/mono/MonoGame/issues/1748fix this for you @profK https://github.com/profK? (Changing a line in OpenTKGameWindow)
— Reply to this email directly or view it on GitHubhttps://github.com/mono/MonoGame/issues/2429#issuecomment-42160917 .
It's always darkest just before you are eaten by a grue.
I made up a small test case for this and well, it was really broken. Its not off by 20px, its copying part of the menu bar for some reason! https://github.com/danzel/WrapTest/tree/scissor-test
I'll come back to this at the weekend if I get some time.
Thanks Dave
On Tue, May 6, 2014 at 6:14 AM, Dave Leaver notifications@github.comwrote:
I made up a small test case for this and well, it was really broken. Its not off by 20px, its copying part of the menu bar for some reason! https://github.com/danzel/WrapTest/tree/scissor-test
I'll come back to this at the weekend if I get some time.
— Reply to this email directly or view it on GitHubhttps://github.com/mono/MonoGame/issues/2429#issuecomment-42285670 .
It's always darkest just before you are eaten by a grue.
Clip rectangle in Android comes up in the wrong place. My experience say that its 20 pixels too far to the left on a 10" android screen. I haven't tested yet to see if its relative to screen pixel size.
Here's an example of my code running on OSX:
And here is the exact same code running on Android 4.3, 10" WXGA