Image Glitch after using io2ObjectDuplicate()
Image Glitch after using io2ObjectDuplicate()
Hello All,
I doubt anybody knows the answer, but it's worth asking. I'm noticing that after I use the sio2ObjectDuplicate() routine to make a copy of any object (that happens to have physics enabled & is a bullet rigid body) and also pass a transform to for positioning, there is a rendering error for 1frame.
Right after I call sio2ObjectDuplicate(), the 2nd next time templateRender() is called, the transform matrix has an incorrect scale value ( 3 times as large) for some reason.
This matrix is actally being set by Bullet physics, so I'm not sure how I can resolve this. It's just 1 frame where the image appears at the incorrect scale, then it appears correcty - bit I am a perfectionist...
Cheers,
Matt
I doubt anybody knows the answer, but it's worth asking. I'm noticing that after I use the sio2ObjectDuplicate() routine to make a copy of any object (that happens to have physics enabled & is a bullet rigid body) and also pass a transform to for positioning, there is a rendering error for 1frame.
Right after I call sio2ObjectDuplicate(), the 2nd next time templateRender() is called, the transform matrix has an incorrect scale value ( 3 times as large) for some reason.
This matrix is actally being set by Bullet physics, so I'm not sure how I can resolve this. It's just 1 frame where the image appears at the incorrect scale, then it appears correcty - bit I am a perfectionist...
Cheers,
Matt
matthew- Posts : 64
Join date : 2008-11-12
Never Mind...
Fortunately, the image glitch i was experiencing was unrelated to sio2 or calling the sio2ObjectDuplcate() function.
Instead, it was a bug in some code I wrote in templateRender().... sio2 is still perfect!
Thanks anyways,
-matthew
Instead, it was a bug in some code I wrote in templateRender().... sio2 is still perfect!
Thanks anyways,
-matthew
matthew- Posts : 64
Join date : 2008-11-12
Similar topics
» Image Troubles
» consolidate into one image
» image Problem
» Drawing over an UIImagePickerController image
» Loading image textures on the fly
» consolidate into one image
» image Problem
» Drawing over an UIImagePickerController image
» Loading image textures on the fly
Permissions in this forum:
You cannot reply to topics in this forum