Re: [android-developers] Re: How to build a 2d GUI to an OpenGL ES app?

2010-11-27 Thread Miguel Morales
Yes, the standard way of developing 3D is using the STANDARD development kit.
Don't start with C, unless you absolutely need to.  People tend to go
directly to the NDK because they don't like Java, that's just stupid.
Start off with the Java classes, if you really need to, use the NDK.

On Sat, Nov 27, 2010 at 1:32 AM, Eyvind Almqvist
eyv...@mobile-visuals.com wrote:
 I understand that GLSurfaceView and SurfaceView are Java classes, but
 I thought that you should use Open GL C++ for the 3d graphics.  I then
 searched for more information about this and I found the
 android.opengl package.

 So do you mean that I should use the android.opengl package to develop
 the 3d  graphics in openGL? Is this the standard way to develop 3d
 graphics in Android?


 On 25 Nov, 12:27, Miguel Morales therevolti...@gmail.com wrote:
 What? No, no C++.  Just use a GLSurfaceView to render all your 
 3dopenGLstuff.  Then add an overlay View (maybe a SurfaceView) and add
 all your regular2Dcontrols/widgets that come with Android.

 On Thu, Nov 25, 2010 at 3:11 AM, Eyvind Almqvist





 eyv...@mobile-visuals.com wrote:
  Do you mean mixing Java and C++ in an Android project? SurfaceView and
  theGUIin Java and GLSurfaceView and the visual effects in OpenGLC+
  +?

  On 25 Nov, 01:12, Miguel Morales therevolti...@gmail.com wrote:
  You can simply have a SurfaceView overlaying your GLSurfaceView and
  draw whatever HUD orGUIelements you want using the regular Android
  widgets.

  On Wed, Nov 24, 2010 at 5:43 AM, Eyvind Almqvist

  eyv...@mobile-visuals.com wrote:
   I want to make anOpenGLESversion of my M3GappAstral 3d worlds.
   Theapphas a2dGUI, from which you can start 10 visual effects.

   I can port the  visual effects toOpenGLES, but how can Ibuildthe
  2dGUI? Should I really useOpenGLESfor that?

   --
   You received this message because you are subscribed to the Google
   Groups Android Developers group.
   To post to this group, send email to android-developers@googlegroups.com
   To unsubscribe from this group, send email to
   android-developers+unsubscr...@googlegroups.com
   For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en

  --
  ~ Jeremiah:9:23-24
  Android2DMMORPG:http://developingthedream.blogspot.com/,http://www.youtube.com/user/r...

  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

 --
 ~ Jeremiah:9:23-24
 Android2DMMORPG:http://developingthedream.blogspot.com/,http://www.youtube.com/user/revoltingx-
  Dölj citerad text -

 - Visa citerad text -

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en



-- 
~ Jeremiah:9:23-24
Android 2D MMORPG: http://developingthedream.blogspot.com/,
http://www.youtube.com/user/revoltingx

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: How to build a 2d GUI to an OpenGL ES app?

2010-11-25 Thread Miguel Morales
What? No, no C++.  Just use a GLSurfaceView to render all your 3d
openGL stuff.  Then add an overlay View (maybe a SurfaceView) and add
all your regular 2D controls/widgets that come with Android.

On Thu, Nov 25, 2010 at 3:11 AM, Eyvind Almqvist
eyv...@mobile-visuals.com wrote:
 Do you mean mixing Java and C++ in an Android project? SurfaceView and
 the GUI in Java and GLSurfaceView and the visual effects in OpenGLC+
 +?


 On 25 Nov, 01:12, Miguel Morales therevolti...@gmail.com wrote:
 You can simply have a SurfaceView overlaying your GLSurfaceView and
 draw whatever HUD orGUIelements you want using the regular Android
 widgets.

 On Wed, Nov 24, 2010 at 5:43 AM, Eyvind Almqvist

 eyv...@mobile-visuals.com wrote:
  I want to make anOpenGLESversion of my M3GappAstral 3d worlds.
  Theapphas a2dGUI, from which you can start 10 visual effects.

  I can port the  visual effects toOpenGLES, but how can Ibuildthe
 2dGUI? Should I really useOpenGLESfor that?

  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

 --
 ~ Jeremiah:9:23-24
 Android2DMMORPG:http://developingthedream.blogspot.com/,http://www.youtube.com/user/revoltingx

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en



-- 
~ Jeremiah:9:23-24
Android 2D MMORPG: http://developingthedream.blogspot.com/,
http://www.youtube.com/user/revoltingx

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en