|
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Junior Member
Join Date: Feb 2010
Posts: 3
|
Hi,
I am new into the iPhone Application Development. In my application, I need to switch between an OpenGL and Non-OpenGL views frequently. So, I have put a button on the OpenGL View and added a function to move to the second view. In the second view, I have one more button with which I return to the first (OpenGL) view. When this switch happens, the drawing on the OpenGL gets lost.. I verified that the DrawView function gets called correctly but it does not draw the view. Can somebody tell me a possible problem and the solution for this..?? Thanks, Dipen Last edited by dipenvasoya; 03-08-2010 at 06:02 AM. Reason: Complete Information |
|
|
|
|
|
#2 (permalink) |
|
Junior Member
Join Date: Jun 2010
Posts: 3
|
OpenGL ES views are just UIViews. So you can change between them like anyother view.
One thing though, I recomend you destroy and recreate the framebuffer... arrays and any objects you use before switching back to OpenGL.. Else you will end up with a frame drop of 70% each time you get back into OpenGL. Also.. If you need to ADDSUBVIEW you need to create it with a frame If you just push a viewController it gets created via the initWithCoder method. |
|
|
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd. Search Engine Friendly URLs by vBSEO 3.3.0 RC1 |




Linear Mode
