DakiLLa Posted December 5, 2010 Posted December 5, 2010 Hi. Well, I don't know it this is right section for that question but I couldn't find anything better. I use dxDrawImage to draw an image on the screen but it drawing it with some artefacts. Screen below: -broken image link removed at the request of OP- Noticed that line inside a red border? That's the question, how to get rid of this line. Anyone? Thx.
Aibo Posted December 5, 2010 Posted December 5, 2010 rubber has nothing to do with it, i had those issues too.
eAi Posted December 6, 2010 Posted December 6, 2010 It could be the bottom of the image repeating, or it could be a compression artifact caused by the DXT compression we use (if any). One way to check would be to use PIX - if you can work out how. You can find out about PIX here: http://msdn.microsoft.com/en-us/library ... 62(v=VS.85).aspx and download it in the DirectX SDK.
MTA Team ccw Posted December 6, 2010 MTA Team Posted December 6, 2010 If the line is at the edge, then it's because the image does not have power of 2 dimensions. If the image is 100x200 for example, scale it up to 128x256 in a paint package
DakiLLa Posted December 6, 2010 Author Posted December 6, 2010 If the line is at the edge, then it's because the image does not have power of 2 dimensions.If the image is 100x200 for example, scale it up to 128x256 in a paint package Yea, that helped. Thx a lot.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now