gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Max Frames Per Second in 3D Mode.

#45646 - blaisef01 - Mon Jun 13, 2005 10:19 am

Hi,

I just started messing about with 3D, currently have a triangle and a square rotating (no textures, no lighting) but i'm only getting 30 fps. Does the DS automatically lock to 30 fps in 3D mode or am i just being a bit crap?

Cheers

#45651 - blaisef01 - Mon Jun 13, 2005 11:53 am

duh!! turns out i had 2 vblank waits in my main loop

#46268 - LunarCrisis - Wed Jun 22, 2005 4:32 pm

Wouldn't you get flicker at 30fps?
_________________
If a tree falls in the forest and no one is there to hear it, why the heck do you care?

#46269 - strager - Wed Jun 22, 2005 5:30 pm

Not unless you clear the screen.

And instead of having an in-game loop, I would recommend putting the rendering code in an interrupt through the VBlank. (messed up english, I know...) That way, game logic would be more of a priority.