Texture tearing when animating

Hi Guys

Run this file, http://files.me.com/mattpringle/yyxask

Notice how a strange green line appears at the bottom of the image, to me the texture seems out of step with the opengl plane its mapped to

I would think most people have not noticed this as they dont have a transparent bit at the bottom of the image but for anything which uses transparent pngs this can be an issue [import]uid: 5354 topic_id: 1050 reply_id: 301050[/import]

Yes I see this too. [import]uid: 5712 topic_id: 1050 reply_id: 2572[/import]

This is bug #204, and fixed in Beta 4 (I just tested it). [import]uid: 3007 topic_id: 1050 reply_id: 2627[/import]

I can confirm this is now fixed! [import]uid: 5354 topic_id: 1050 reply_id: 2645[/import]

Unfortunately this is still happening in my game although not as much!

Please reopen he bug [import]uid: 5354 topic_id: 1050 reply_id: 2776[/import]

@Matthew – do you have another test case that demonstrates the remaining problem? [import]uid: 3007 topic_id: 1050 reply_id: 2809[/import]

Hi Evan

I will put something together over the weekend. (Still trying to get my game launched, couple of bugs been setting me back a few days)

I think you should be able to use the above code to catch the bug though. If I remember correctly its the same code (using it in the app as a transition) but in the app the transition is moving much faster. Its only noticeable on the device (3GS) and doesnt always happen.

I can send you the full code for the game now if that helps you get it sorted quicker.

Matt [import]uid: 5354 topic_id: 1050 reply_id: 2823[/import]

Hi Matthew,

did you check if the LUA garbage collector causes the skip?

Michael [import]uid: 5712 topic_id: 1050 reply_id: 2824[/import]

Hi Mike

I dont think its that but ive not checked, I think its the mapping of the texture to the 3d opengl plane which seems to be the issue as it happens in animations.

The above demo code was fixed but if the transition goes much faster it still happens randomly.
[import]uid: 5354 topic_id: 1050 reply_id: 2825[/import]

New demo of bug http://files.me.com/mattpringle/at9abd

only shows on device ( tested 3GS, latest iPhone 4 beta) [import]uid: 5354 topic_id: 1050 reply_id: 2828[/import]

Can you verify whether this happens in Beta 5?

If it does, can you post that demo code again? [import]uid: 3007 topic_id: 1050 reply_id: 3025[/import]

Yeah sorry about removing the code, I was cleaning up me mobileme account.

I will test tonight in between the football! [import]uid: 5354 topic_id: 1050 reply_id: 3030[/import]

Beta 5 fixes this issue

Consider this bug closed [import]uid: 5354 topic_id: 1050 reply_id: 3086[/import]