• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • Frits Walraven
  • Himai Minh

Images on Mac and Windows

Ranch Hand
Posts: 750
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I'm making a rubiks cube in 3D.
I'm using AffineTransforms to transform a square image located at (0,0)
into a paralellogram on the cube.
Now I'm using Windows XP, and when I run the program, the 9 images on a big face of the whole cube fit snuggly together, and it looks as if its just 1 big image.

But when I the program on a Mac iBook G4, or on a Mac G4 Desktop, or Mac G5 each of the 9 images on the big face of the whole cube displays with a gap of 1 pixel between them, producing lines where the background shows through, kind of like a O's and X's board.

I don't know why this is happening, I guess its the way the operating system handles the drawImage command, or something like that.
Is there any way to fix this so when running on a Mac, no gaps will show, just like with Windows XP.

Thanks for any help, its much appreciated.
[ April 02, 2007: Message edited by: colin shuker ]
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic