by swesoulc » Sun May 27, 2012 5:28 pm
So i've been having a wee bit of a problem here.
Been folling around with the draw2DImage function here to enhance my sprite animator with.
aaand i got , some kind of anomily happening. it's Always at the same frames.
So what it does is that it draws the square quite allright, the jagged edges i'd assume is from my laptops crappy grapics card ( then again, if i am wrong and that is something that is out of order as well, please do let me know how to adress it ) then on a few frames, it , jumpes sizes. And i will frace myself as that cause it's the best description. Now i've monitored the process and written out all screen cords, all vertices cords, all texture cords on each frame. And the SOB's are always 1-1. As they should. But darnit that dont stop me from seeing with my very eyes that the bloody Y cord likes to skip up a bit. Enough to grab a bit of the next frames texture coordinates.
So, any idea what this might be? I myself will go through the sprite animations code for getting texture co-ords but they have been working perfectly for quite a long while, and the only modification have been the addidtion of the draw2DImage as the primary rendering function. And that was just pasted in and given the needed variables.
Small notes.
i have not specified a camera, mipmap settings have not been set, AA is on. I have had same result with two versions of the draw2DImage , i am now on the latest one you posted.
EDIT
ok so I did some digging and the jaggedness is gone ( a small 1 instead of a 0 at the wrong place as usuall )
but the other problem still lingers. I've gone through each frame size and they are fixed at 100 - 100 px
I've uploaded a small exe to demonstrate my problem.
Last edited by
swesoulc on Tue May 29, 2012 11:08 am, edited 1 time in total.