PDA

View Full Version : blurred Sprites



Avatar
26-07-2003, 02:10 PM
Hi all !

I'm making a small GUI for my game, and I've encountered a little annoying problem.

I'm displaying a HUD with vertex using RHW. But, my sprites aren't as clear as the original textures : See the example :

Here is the original texture :
http://membres.lycos.fr/Sanaloria/Original.jpg

And here is how it looks in my engine :
http://membres.lycos.fr/Sanaloria/final.jpg

Some precision about the situation :

The Program runs in a 640x480 window.
The Projection matrix has a FOV of PI/4 and an aspect of 1.33 .
The Sprite has been placed at a distance of 0.5 units away from the camera.
The RHW of the vertices has been put at a 1.0 value.

Can someone help me ? Because it's not really good looking ^^

Thanks in advance !

Best regards
Avatar

Avatar
26-07-2003, 06:57 PM
Sorry ! Just found the solution, the problem was that my texture's size weren't power of 2 :)

Now it works well !