Search Home Members Contacts
About Us
Bug #554: tv2d immediate draw texture
TV3D SDK 6.5
Not Specified
Current State:
Created On:
February 2nd, 2006
Last Modified:
April 9th, 2006
Reported By:
I would check...

When rendering to a position (x,y,x1,y1)

I believe you are doing a width calculation that is rendering x1 at x1-1.

I.E. 64x64 texture - you call draw texture (0,0,63,63) what it appears you are rendering 0,0,62,62 scaling the texture - and my guess is that 63 is turning into a width value instead of a destination pixel


Posted by Brac on February 6th, 2006 at 3:49 PM
Yeah, i verify that one. In TVUIC# i have the same problem (i guess). Dunno how i got around it, but i think i just made rendersurfaces.size = texture.size+1
Posted by sybixsus on April 6th, 2006 at 1:32 AM
I was just about to report this too. Oddly, I did exactly the same thing. I tested by drawing a texture from 0,0 to 63,63 and it only draws to 62,62, which 63x63 and therefore I get my nice clean image scaled instead of drawn pixel-perfect. It's easy enough to add 1 to the X2 and Y2 coordinates in my code, but you never know what's going on under the hood, so I thought it might be something I should report.
Posted by SylvainTV on April 10th, 2006 at 12:00 AM
You're totally right, i never noticed that.
It is now fixed for Draw_Texture , Draw_Sprite and Draw_FilledBox