Android build openmw

Everything about development and the OpenMW source code.
Locked
Chris
Posts: 1583
Joined: 04 Sep 2011, 08:33

Re: Android build openmw

Post by Chris » 28 Jul 2014, 13:20

sandstranger wrote:I have a question, there are some methods are exactly what to improve performance like this
http://www.ogre3d.org/forums/viewtopic.php?f=2&t=81127
, or the only way to manually reduce morrowind textures?
If your performance it poor because you're running out of vram, lowering the texture size, and reducing the quality of the framebuffers, could help. For instance, disable shadows (not only removes an extra framebuffer, but it also skips an extra rendering pass), and/or use a 16-bit color mode (halves the size of the color buffers). Reducing the texture size to a quarter (half width, half height) would also free up a bunch of vram... though I'm not sure the most efficient way to do that with Ogre. It may also help to disable static geometry, since that will avoid duplicating meshes in memory and bring vram usage down.

General performance improvements, though, need to be done in Ogre's OpenGL renderer. It needs to better sort renderables by material, to avoid as many expensive state changes as possible when changing materials, and avoid making redundant state changes. Maybe doing a depth-only pass first could also help, if there's enough overdraw and the cost of the fragment shader is high.

User avatar
sandstranger
Posts: 438
Joined: 19 May 2014, 19:53
Location: Oblivion

Re: Android build openmw

Post by sandstranger » 28 Jul 2014, 21:48

.
Last edited by sandstranger on 01 Aug 2014, 16:49, edited 1 time in total.

User avatar
sandstranger
Posts: 438
Joined: 19 May 2014, 19:53
Location: Oblivion

Re: Android build openmw

Post by sandstranger » 29 Jul 2014, 15:58

.
Last edited by sandstranger on 01 Aug 2014, 16:49, edited 1 time in total.

User avatar
Xelasarg
Posts: 27
Joined: 22 Jul 2014, 10:43

Re: Android build openmw

Post by Xelasarg » 29 Jul 2014, 17:59

Never mind that, it's fascinating enough you've managed to pull this off at all. I'm sure there's room for optimization, and phones/tablets are growing more powerful almost by the month. I don't know which phone(s) you own, but I imagine things will look quite good on the upcoming Note 4, for example (both performance- and screenwise :geek: )

You even made it to the front page, I mean homepage, congratulations! ;)
“A reader lives a thousand lives before he dies. The man who never reads lives only once.”

User avatar
sandstranger
Posts: 438
Joined: 19 May 2014, 19:53
Location: Oblivion

Re: Android build openmw

Post by sandstranger » 29 Jul 2014, 19:52

.
Last edited by sandstranger on 01 Aug 2014, 16:49, edited 1 time in total.

User avatar
Xelasarg
Posts: 27
Joined: 22 Jul 2014, 10:43

Re: Android build openmw

Post by Xelasarg » 29 Jul 2014, 20:07

Ah. Even my Note 2 (Mali 400 MP4 gpu) runs the Ogre3D Samplebrowser @60 fps. So if that's where the problem lies, I guess there's still hope... :)
“A reader lives a thousand lives before he dies. The man who never reads lives only once.”

User avatar
CliffracerX
Posts: 1
Joined: 30 Jul 2014, 06:00
Location: The Universe.
Contact:

Re: Android build openmw

Post by CliffracerX » 30 Jul 2014, 06:06

This seems like it should be awesome, and I'm trying to install it on my Kindle Fire HDX, but I'm unable to make the client actually start.

I tap the icon to run it, it flashes open for a second, and then vaporizes. I get the feeling I might've forgotten to paste something over, maybe we could get an install tutorial for beta-testing purposes? I'm really excited to play this.
OpenMW is awesome, as are Cliffracers!

Can't wait to play OpenMW on my tablets. :D

pluto7443
Posts: 1
Joined: 30 Jul 2014, 20:13

Re: Android build openmw

Post by pluto7443 » 30 Jul 2014, 20:15

I do have a Nexus 7 second gen, and would be interested in testing this. However, I need to find a copy of Morrowind first. I'll probably buy it on Steam, so I can play with Skywind as well.

Midnitte
Posts: 3
Joined: 30 Jul 2014, 23:39

Re: Android build openmw

Post by Midnitte » 30 Jul 2014, 23:43

Has anyone gotten it to work on devices with no SD card? I set the data paths to "/storage/emulated/0/morrowind/" on my Moto X and it just crashes. As far I can tell the logs are saying the content files can't be loaded? Morrowind.esm is sitting in that folder as well.

User avatar
raevol
Posts: 3088
Joined: 07 Aug 2011, 01:12
Location: Caldera

Re: Android build openmw

Post by raevol » 31 Jul 2014, 01:19

Midnitte wrote:Has anyone gotten it to work on devices with no SD card? I set the data paths to "/storage/emulated/0/morrowind/" on my Moto X and it just crashes. As far I can tell the logs are saying the content files can't be loaded? Morrowind.esm is sitting in that folder as well.
Do the files have the right permissions?

Locked