Android :: Timeline For OpenGL ES 2.0 Support?
Oct 28, 2009Is there a timeline for GLES 2.0 support (hopefully in the NDK as well)?
View 4 RepliesIs there a timeline for GLES 2.0 support (hopefully in the NDK as well)?
View 4 RepliesDoes anyone know whether the G1 device is capable of supporting OpenGL ES 1.1? Is this something that depends on both the graphics chip and the OS, or is it purely software? If Android/the G1 only supports OpenGL ES 1.0, are there any pieces of the 1.1 spec that are supported?
View 3 Replies View RelatedIs there any plan to support OpenGL-ES 2.0 in Android? Is it possible to write a renderer youself based on OpenGL-ES 2.0? In that case, where to start.
View 2 Replies View RelatedCan I assume that, if a phone runs Android 2.0, it also supports OpenGL ES 2.0 and thus the graphic hardware has full support for programmable shaders?
IOW, does Android 2.0 as a platform mandate OpenGL ES 2.0 support? Or is it optional?
Does anyone know if some time-line exists for when paid apps will be available in which countries? Specifically, I need to know when I can sell apps in the market in Norway. I have an app completed and waiting but at the moment we can only upload free apps.
View 4 Replies View RelatedSingle Threaded OpenGL game ! (check bottom, you can download and use the helper class) Lighting disabled ! Depth Buffer disabled ! Culling enabled ! Textures disabled !
Just 176 integers (x,y values only) making 88 vertexes along with 132 index numbers making "44 triangles only"
Framerates I get is
with GL_BLENDING disabled - 145 fps approx only! enabled - 110 fps approx only!
I have the screenshot of exact code in the draw function here.. just 2 damn lines ! I have hidden only the comments.. click here to see it http://prasna991.googlepages.com/drawframe.png
variable details in the 2 lines of code =========================== ipts = 176 elements (only x and y for each vertex) totallinetriangles * 3 = 176 lineindexes = 132 elements - type "short"
Here is the screenshot of output drawing and how it will look like http://prasna991.googlepages.com/screen.png
OpenGL single threaded Initialization Helper ================================ Here is my OpenGL helper class.. makes the OpenGL initialization for newbies a cakewalk http://prasna991.googlepages.com/OpenGLHelperclass.txt
I tested by rendering on the touch event only.. frame rate drops only when u touch and drag and here I have just tested by tapping and releasing gently on the emulator and on the device
Is this the device limitations ? So graphics is actually a lot lot lot slower than on iPhone ?
I would like to be able to use the OpenGL API from both Java and C (via NDK).
In Java, there is a GL object passed, which has all GL methods on it.
In C, you just talk to the native library.
In a single onDrawFrame callback (for which Java is passed a GL), can I use methods on the GL object, and also call NDK methods which access the openGL library?
In other words, is the GL object just a wrapper for the same instance of the native library?
I'm pretty new to Android development and would appreciate some help. All I want is to display a ListView showing a Twitter timeline. I do this in an iPhone app using MGTwitter but I've been trying and am not sure how to get the same effect on Android. I can use a list view, but I'm not sure how to get the updates.
In a nutshell all it has to do is display the updates at www.twitter.com/user (User will be hardcoded).
Seeing as how I've never been through the whole root process for a phone before, (and understanding that unforeseen circumstances can change things), what is the ballpark expected length of time from when root is achieved to when custom ROM's begin being available? Would they attempt Froyo immediately? I'm assuming they wouldn't bother with Eclair since Froyo is available.
View 18 Replies View RelatedI have to do a small android application. It should connect with facebook and have to post feeds into wall and retrieve feeds to display in timeline format. I am new to android and fb. Could any one help?
View 1 Replies View RelatedFound this via a link from Gizmodo:
All U.S. Android phones to receive Android 2.1, but some will require a wipe - Android and Me
According to the last paragraph, Sprint is saying "early Q2" which is still pretty ambiguous, but it sounds better than 1H 2010.
I'm wondering if any decent Twitter apps are available that can sync timeline position across multiple Android devices, and preferably to a web portal or a Windows app. Any thoughts?
View 4 Replies View RelatedLove my new Desire but having gripes with Twitter on the Peep client. Doesn't seem as if you can install an effective alternative client either.
My twitter timeline wasn't updating in Peep. It said, No Tweets. It lied. I could see @ messages and dms and even new tweets scrolling in the notification bar at the top of the screen, but NOTHING in the main timeline.
Tried refreshing, re-synching, updating location, to no avail.
The only way I've managed to get the timeline to show now, was to go into Settings and Apps and clear all the database data from Peep. Then sign out and sign in again.
I have a Motorola Atrix and a Asus Transformer prime. Both do not show the new facebook timeline, not on the app and also not on m.facebook.com
Only the full website does. So I cannot see the pics from friend and no info.
MB860emium
Love my Samsung Fascinate. 2 Questions? How to tether phone to Mac. & of course timeline for froyo update?
View 2 Replies View RelatedI'm trying to build a app that uses the SmsMessage class but there are two versions depending on the API level of the device:
android.telephony.gsm.SmsMessage (deprecated for 1.6 and above)
android.telephony.SmsMessage (the new class for 1.6 and up)
I want to target 1.5 and yet have the newer class (android.telephony.SmsMessage) run on devices with 1.6 or higher. How do I do this?
I have already tired this: http://devtcg.blogspot.com/2009/12/gracefully-supporting-multiple-android.html but I couldn't get it to work (the author doesn't mention how he/she handles the different imports, the exact api level settings etc.)
CODE:....................
I am working on developing a 3d game. I have loaded ms3d model in my project and all texture and everything is working fine. I m not loading any joints.But I am facing two major problems which indeed are related to one thing. 1: I have got FPS problem in my game.Its too low even on G1. 2: When I have touch event to control the game it affects the FPSmore. So plz let me know how to optimize it more because the same game with same code of opengl es is wokring at 45 FPS on Iphone So why its running slow on G1.What is opengl es benchmark for G1 ? Wat can be comparison btwn Iphone and G1 related to hardware acceleration?
View 3 Replies View RelatedBeen working with OpenGL a little more recently, and have been noticing pretty bad performance on my G1. Were there any major changes to OpenGL in 1.6 that would change the performance (or made my code incorrect?) on device? As a test, I grabbed the SpriteMethodTest out of Apps-For-Android, and gave it a spin. I had run it a few months ago and noticed pretty decent performance. With a low number of sprites (10-100), every method (Verts, Hardware VBO's, and DrawTex) had easily over 30fps, with drawTex beating out the others. I fired it up on my G1 (recently updated to 1.6), and all 3 methods are giving me performance of around 10-12fps with all methods of OpenGL at 10 sprites. Just for fun, installed the exact same APK on my girlfriends phone, which has yet to be updated to 1.6, and hers shows what I expected to start with, 30-60fps depending on method. So the question is, did anything change in terms of OpenGL, that would make the example code in SpriteMethodTest less than optimal?
View 3 Replies View RelatedI want ask some questions about Opengl es 2.0?
View 3 Replies View RelatedWhat is the correct way to save images in png format, if I want to use it in my Android OpenGL ES application as texture?
View 1 Replies View RelatedI'm developing a new game and have been having inconsistencies between the device and emulator. The biggest one for me right now is that the elements I draw with an orthographic projection work correctly on the device, but are 1/2 the size on the emulator. I've checked and rechecked the code 100 times and I'm positive I've done it right but am confused as to why I'm seeing that result. I suppose I could go forward doing ALL testing on a device - and I may have to, seeing that the emulator's frame rate is horribly slow - but I was hoping that I could do some of the work on it at least.
View 15 Replies View RelatedI am currently trying to develop a game for android in OpenGL ES and I am testing it on my Nexus One. But I have run into some performance problems,and I would like to ask somebody about it,could you help?I currently have a very basic scene - background made of 25 tiles(256x256 texture each), and then a number of textured cubes(128x128 texture for each side of a cube ). However,when I try to display approx. more than 10 cubes, the performance becomes so sluggish that I can't even rotate the scene smoothly. I can't imagine how can I add more objects(player,enemies, all that kind of stuff) when it runs so slowly with 35 objects in total. I mean - games like Raging Thunder 2 probably display hundreds of objects at once(plus they do lots of computations behind the scenes) and they run super- smooth on my nexus one. What am I doing wrong? Could somebody help me please?
View 13 Replies View RelatedI am learning Android development, specifically to eventually do OpengL 2.0 ES on it. So far I have read that the NDK supports Opengl 2.0 ES. However, is there also a Java API for it? If there is a Java API for it, which one is recommended? I know both C++ and Java, so it is not a big deal if I have to use the NDK, but I would prefer to work only in Java if possible and without a big performance hit.
View 1 Replies View RelatedI am rendering this PNG with no transparency just fine: http://n4te.com/temp/test.png However if I try to render this PNG (with transparency) with the exact same code, I just get a white box: http://n4te.com/temp/ball.png
I am loading the PNG into a texture like this: Bitmap bitmap = BitmapFactory.decodeStream(input); int[] temp = new int[1]; gl.glGenTextures(1, temp, 0); textureID = temp[0]; gl.glBindTexture(GL10.GL_TEXTURE_2D, textureID); gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MIN_FILTER, GL10.GL_NEAREST); gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MAG_FILTER, GL10.GL_NEAREST); // GL_LINEAR for quality. gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_S, GL10.GL_CLAMP_TO_EDGE); gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_T, GL10.GL_CLAMP_TO_EDGE); GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, bitmap, 0); bitmap.recycle();
I am using this blending: gl.glBlendFunc(GL10.GL_SRC_ALPHA, GL10.GL_ONE_MINUS_SRC_ALPHA); How is it possible to render a PNG with transparency in OpenGL ES?
I'm porting over some software from the iPhone, and the fact that I need to use ByteBuffers for my data structures in order to use OpenGL is killing me. My render loop takes 3ms to actually do the work and render screen, but I do need to perform a ByteBuffer clear / repopulate to update a dynamic texture. The bytebuffer clear, followed by the put() and position(0) to prepare for texture uploading takes about 100ms. This is WAY too slow. Is there a way around using ByteBuffers other than going the NDK route? The texture is 512x256 RGBA. should the ByteBuffer .clear() .put() and .position() be taking 100ms?
View 11 Replies View RelatedglReadPixels is too slow, so I need another way. Without testing object by object, Is there any other way?
View 7 Replies View RelatedI'm having problems with gluUnProject. I saw other discussions on this message base regarding this function and they did not solve my problem. When I use GLU.gluUnProject I get values that are close, but not quite right. I'm manually keeping track of my model matrix and I replicate the projection matrix manually. (I have also tried setting the projection matrix to identity and manually incorporating a projection matrix into my model matrix, and I ended up with the same results). I tried using the builtin GLU.gluUnProject function and I also implemented my own based on reading that source and reading the C GLU sources and both seemed to give substantially similar results. So I put together a small demo, trying to keep it as minimal as possible and still get the point across. Either this demo shows a misunderstanding I have of gluUnProject or it shows a bug in the function or opengl projections. Can someone check this over and see if I'm just doing something wrong or if there's a bug that needs to be filed? The files are here: http://www.thenewsh.com/~newsham/unproj/ In particular:
unproj.java - full source to example unproj-debug.apk - resulting apk file unproj - directory with full ant-buildable project unproj.zip - zip of directory
I'm making a media player application in android where one part of my screen has a animation which is made in OpenGL (ofcourse with Android/JAVA).....So my screen consists of 2 parts:
1) Left hand side consists of all the widgets (using xml).
2) Right hand side consists of the animation made in OpenGL.
I'm able to make the Gui (xml part) and also the animation (opengl). Can i integrate the GUI made in XML file with the animation (made using GLSurfaceview)?
I looked around for info on this in the group but couldn't find any... so far in my OpenGL programming I've just done everything directly, but I was curious if anyone had written any "wrapper" libraries for it besides min3d. Min3d is great (or is getting there) but it's GPL'd, making it unsuitable for a commercial product (if my understanding of the license is correct).
View 5 Replies View RelatedI'm learning OpenGL on my own atm and I have a question about texturing a surface:
I can create a simple polygon like this:
CODE:......
Then I load all of that info into the approriate buffers and draw it to the screen with a call to:
CODE:..
My question:
I'm looking for a good example of how to take an image and texture it to the surface.