ontop of what exactly the Ogre renders on the iphone?

Discussion of issues specific to mobile platforms such as iOS, Android, Symbian and Meego.
dowi
Halfling
Posts: 48
Joined: Wed Sep 07, 2011 3:37 am

ontop of what exactly the Ogre renders on the iphone?

Post by dowi »

hi,

i cannot figure on top of what ogre renders?

i am using 1.8 and xcode 4.

i cannot understand how to control the z value of Ogre's layer.
usually every app has a uiwindow and uiviewcontrollers but ogre template doesnt.

my goal is to put a uiview below and above ogre (with ogre's background - transparent) :?:

i think i've gone over every thread on the topic: :oops:
http://www.ogre3d.org/forums/viewtopic ... 2&t=56157


thanks alot in advanced! :!:
User avatar
masterfalcon
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126

Re: ontop of what exactly the Ogre renders on the iphone?

Post by masterfalcon »

Ogre does use a UIWindow and UIViewController internally. You can access them using getCustomAttribute. The attribute names are UIVIEWCONTROLLER, UIWINDOW and UIVIEW.
dowi
Halfling
Posts: 48
Joined: Wed Sep 07, 2011 3:37 am

Re: ontop of what exactly the Ogre renders on the iphone?

Post by dowi »

thanks alot masterfalcon i've managed to do what i wanted :wink:

i'll post an explenation