How to create an android non-native app using ogre sdk?

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
Post Reply
sarath_10
Gnoblar
Posts: 15
Joined: Tue Jun 11, 2013 10:38 am
x 1

How to create an android non-native app using ogre sdk?

Post by sarath_10 »

I have seen the GLES2 sample provided in the Ogre Android sdk(OgreSDK_Android_v1-9-0RC1). But it is pure native app, is it possible to create a application by creating the UI layer completely in java and the core renderering alone in the native layer ? If not is it possible to add the UI elements(in java) on top of the native activity as created in the GLES2 sample ?
iblues1976
Gnome
Posts: 379
Joined: Fri Sep 16, 2011 4:54 pm
x 10

Re: How to create an android non-native app using ogre sdk?

Post by iblues1976 »

Hi,

Ogre3D is primary meant to be used with C++. There are wrappers for Python (which seems to be popular I think) , .Net and Java.

If I was developing anything with Computer Graphics, I will always choose C++.

Here is the link for the Java Wrapper http://ogre4j.sourceforge.net/

I'm not sure if that will work for you.

An alternative may be to use an engine originally supported for Java.
http://ntt.cc/2011/05/08/8-open-source- ... gines.html

However, all of this seem to be out of the scope of this forum, except for Ogre Related stuff.

Thanks
sarath_10
Gnoblar
Posts: 15
Joined: Tue Jun 11, 2013 10:38 am
x 1

Re: How to create an android non-native app using ogre sdk?

Post by sarath_10 »

@iblues1976
I doesn't mean to have the entire app in java, instead the UI/Windowing part in java and the rendering part alone in c++ using ndk as many OpenGL based android applications do. I am not able to achieve this in the latest Ogre Android SDK(V 1.9), but this was achieved in Ogre V1.8 ( the 'browser' sample code provided in the source code).
Post Reply