PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Gfx flickering

Hi,
I'm new to PPC dev & GapiDraw.
I've created a little application.
The main class is derived from CGapiApplication. Then I create a large surface,load an image and move the rect on this picture to have a very simple scrolling.
I'm running it on the ppc 2002 emulator from the PPC2002 sdk. I get about 6-20 ms fro each frame and 30fps. But the scrolling isn't smooth at all...

How can it be ? Is it a emulator problem ? What else could be ?
Thanks
I never got any good results from the emulator. I'm not sure if it's just me or if it's common.

Normally, if you are getting 30 fps and if the jerkiness isn't caused by your code (skipping too many pixels, improper acceleration code, etc) then there shouldn't be any problems.

If you don't have a device to try it on, you can place your code somewhere online and anyone interested to help might try it. I would.

--Eric
Thanks for the reply.

I suppose this is the emulator then 'cos the code is only a few lines and nothing special.

I think I'll have to buy a ppc... normal if i want to develop on it :D