I'm having a problem with a texture I'm trying to display using OpenGL (I'm coding in C#). I've got the sprite class all set up, and it works for small things. As you can see in the picture I've attached, the background sprite is displaying its texture incorrectly. Actually, what you see in the picture is one large image used as a tile map with 4 tiles displaying different fourths of the overall image. The raw image is 1600x900 pixels, but when I replace it with the same exact image but scaled down to 900x506 pixels, it displays perfectly. Note that the distortion isn't necessarily corresponding to the 4 tiles.
I'm not asking for actual code to fix this, but some sort of idea of where to look in my code to find the problem (I've gone over so much and run quite a few tests on this).
Also, the image seems to have been distorted in the shrinking process, but it still gets the idea across, i think.
Thanks for any help.
NoAdmiralMember Since 31 Oct 2012
Offline Last Active Today, 12:27 AM
- Group Members
- Active Posts 37
- Profile Views 766
- Submitted Links 0
- Member Title Member
- Age Age Unknown
- Birthday Birthday Unknown
NoAdmiral hasn't added any contacts yet.
No latest visitors to show