Solution for iOS Terrain in 1.9.x

Discussion of issues specific to mobile platforms such as iOS, Android, Symbian and Meego.
User avatar
petrocket
Gremlin
Posts: 178
Joined: Tue Mar 20, 2007 3:29 am
x 10

Solution for iOS Terrain in 1.9.x

Post by petrocket »

I'm interested in getting some kind of terrain working on iOS - cross platform really, and have noted the other posts stating OpenGL ES2 does not allow reading back textures so the new terrain doesn't work AND the old terrain (TerrainSceneManager) has been removed from 1.8+ so I'm interested in attempting to fix the Terrain Component.

At first glance, it looks to me like the only places the Terrain component reads from texture buffers is in Terrain::copyBlendTextureChannel() - is there somewhere else that it tries to do stuff OpenGL ES2 doesn't allow? I'm thinking maybe at least trying to disable that functionality at first to at least get it working without blending support.

Thoughts?
Ogre API & Manual | Ogre Wiki

blog | website | work

Follow me on twitter @ twitter.com/petrocket
User avatar
c6burns
Beholder
Posts: 1512
Joined: Fri Feb 22, 2013 4:44 am
Location: Deep behind enemy lines
x 139

Re: Solution for iOS Terrain in 1.9.x

Post by c6burns »

AFAIK a solution was implemented and the Terrain component should work on iOS. I am using it on Android right now and I'll be using it on iOS when I get around to building for that platform.
User avatar
petrocket
Gremlin
Posts: 178
Joined: Tue Mar 20, 2007 3:29 am
x 10

Re: Solution for iOS Terrain in 1.9.x

Post by petrocket »

Awesome! I didn't see that it had been made compatible. Thanks!
Ogre API & Manual | Ogre Wiki

blog | website | work

Follow me on twitter @ twitter.com/petrocket