Attention: iDevGames forum has a new home at http://www.idevgames.com/forums.
Please update your bookmarks and linkage.
This forum has been locked and will be available for archival purposes only.
iDevGames - Mac, iPhone, iPad & iPod Game Developers Forum  


iPhone, iPad & iPod Game Development Game programming topics devoted to the Apple iPhone, iPad & iPod.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old
  (#13)
godexsoft
Member
 
Posts: 80
Join Date: 2008.11
Location: St.Petersburg, Russia
2010.01.21, 05:32 AM

Hey,

For best performance I had to use FBO which is attached to a texture:

Code:
glFramebufferTexture2DOES(GL_FRAMEBUFFER_OES, GL_COLOR_ATTACHMENT0_OES, GL_TEXTURE_2D, m_unName, 0);
What you will get is simply a framebuffer which you will use just as if it was your backbuffer but the rendered stuff will go into the tuxture attached to the FBO.
In my game I have a generic Quad class which uses this.. for example I generate a static label out of my bitmap fonts engine.

HTH,
Alex


TapMania - iPhone StepMania // Human knowledge belongs to the world!
   
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com
DevServe Network: iDevApps | uDevGames | iDevGames