Image Scaling Differs Across Simulators

Im using a snapshot to render an image which is then scaled to fit the screen.

The image is a simple grid. I scale it down to 1/4 screen, take a snapshot and then scale the snapshot to fit the screen.

im using

display.setDefault( “magTextureFilter” , “nearest” )

display.setDefault( “minTextureFilter”  , “nearest” )

On my laptop, 17" MacBook Pro, the image loses the lines of the grid as I would expect.

On my 2008 MacPro, the image retains the lines in the grid, they are not lost due to the scaling.

To me this says using “nearest” as the texture filter causes differences between hardware.

Anyone know why?

Do you get a different result if you leave the filter to the default (“linear”)?

No it looks the same on both using “linear”

That’s weird. Is your laptop using a retina display? Maybe the graphics card does something different?

Hi Walter

The laptop is a standard non-retina 17", second to last model.

Both running fresh installs of Mavericks.

I can email you a demo if you wish.

Matt

Sure, though sounds like we might not be able to repro this, as we don’t have any 2008 MacPro’s lying around.

Will send over.

Im guessing the MacPro is running correctly as it maintains more of the original image.

Matt

Do you get a different result if you leave the filter to the default (“linear”)?

No it looks the same on both using “linear”

That’s weird. Is your laptop using a retina display? Maybe the graphics card does something different?

Hi Walter

The laptop is a standard non-retina 17", second to last model.

Both running fresh installs of Mavericks.

I can email you a demo if you wish.

Matt

Sure, though sounds like we might not be able to repro this, as we don’t have any 2008 MacPro’s lying around.

Will send over.

Im guessing the MacPro is running correctly as it maintains more of the original image.

Matt