Hello,
I found that Ogre renders nothing (everything disappears) when I add an additional viewport, even the new viewport is identical to the original one.
There's no problem with GLES1.
Any idea?
Thanks,
Man
Ogre 1.8 iOS GLES2 multiple viewport problem (FSAA related)
-
- Halfling
- Posts: 45
- Joined: Tue Feb 15, 2011 7:23 am
Ogre 1.8 iOS GLES2 multiple viewport problem (FSAA related)
Last edited by mannam on Wed Nov 07, 2012 9:37 am, edited 1 time in total.
-
- OGRE Team Member
- Posts: 1525
- Joined: Fri Feb 03, 2006 10:37 pm
- Location: Austria - Leoben
- x 99
Re: Ogre 1.8 iOS GLES2 multiple viewport problem
Which version do you use? Which platform/device?
-
- Halfling
- Posts: 45
- Joined: Tue Feb 15, 2011 7:23 am
Re: Ogre 1.8 iOS GLES2 multiple viewport problem
I'm using:
official 1.8 release
XCode 4.4.1 iOS 5
iPhone4 iOS 4.3
official 1.8 release
XCode 4.4.1 iOS 5
iPhone4 iOS 4.3
-
- Halfling
- Posts: 45
- Joined: Tue Feb 15, 2011 7:23 am
Re: Ogre 1.8 iOS GLES2 multiple viewport problem
Update:
- The problem persists in Ogre 1.8.1.
- Simulator has the same problem.
- The problem persists in Ogre 1.8.1.
- Simulator has the same problem.
-
- OGRE Retired Team Member
- Posts: 4270
- Joined: Sun Feb 25, 2007 4:56 am
- Location: Bloomington, MN
- x 126
Re: Ogre 1.8 iOS GLES2 multiple viewport problem
Could you give any more info? Like sample code or steps to reproduce the issue?
-
- Halfling
- Posts: 45
- Joined: Tue Feb 15, 2011 7:23 am
Re: Ogre 1.8 iOS GLES2 multiple viewport problem
I'll try to reproduce it in examples later.
For my project, it happens when a new viewport is created, even it is identical to the default viewport:
For my project, it happens when a new viewport is created, even it is identical to the default viewport:
Code: Select all
mRenderWindow->addViewport(mDefaultCamera);
-
- Halfling
- Posts: 45
- Joined: Tue Feb 15, 2011 7:23 am
Re: Ogre 1.8 iOS GLES2 multiple viewport problem
Confirmed it's related to FSAA setting.
To reproduce in Ogre iOS template:
1. Create a template project with GLES2 enabled.
2. In ogre.cfg, use the following setting:
3. In DemoApp::startDemo() in OgreDempApp.cpp, create a viewport right after initOgre() call:
To reproduce in Ogre iOS template:
1. Create a template project with GLES2 enabled.
2. In ogre.cfg, use the following setting:
Code: Select all
Render System=OpenGL ES 2.x Rendering Subsystem
[OpenGL ES 2.x Rendering Subsystem]
FSAA=4
Full Screen=Yes
RTT Preferred Mode=Copy
Video Mode=768 x 1024
#Video Mode=320 x 480
#Orientation=Portrait
Code: Select all
OgreFramework::getSingletonPtr()->m_pRenderWnd->addViewport(OgreFramework::getSingletonPtr()->m_pCamera, 1);
-
- OGRE Retired Team Member
- Posts: 4270
- Joined: Sun Feb 25, 2007 4:56 am
- Location: Bloomington, MN
- x 126
Re: Ogre 1.8 iOS GLES2 multiple viewport problem (FSAA relat
Good to know. Would you mind filing a bug so this doesn't get lost in the forums?
-
- Halfling
- Posts: 45
- Joined: Tue Feb 15, 2011 7:23 am
Re: Ogre 1.8 iOS GLES2 multiple viewport problem (FSAA relat
Added to bug tracker: http://www.ogre3d.org/mantis/view.php?id=590
Update: Both GLES1 and GLES2 has problem.
Update: Both GLES1 and GLES2 has problem.