[android-developers] Re: Help with GLSurfaceView
Yes. I need to do that.Can anybody plz help me with this?? On Wed, Jul 22, 2009 at 8:51 PM, Micah mi...@ourmailbox.net wrote: Ah, so you want to render your UI to a texture and then apply that texture to a 3D object? If so then I don't know if/how to do that. :P On Jul 22, 8:09 am, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: Hi micah, thnx for the reply, but my requirement is to rotate the entire view. Say for example i need to provide the user a 3d desktop kinda ui, on rotation of the cube a whole view/viewgroup needs to rotate. thats y i need it to be either the canvas of the view or it shd act like a viewgroup. or is there anyother way to achieve this??? On Wed, Jul 22, 2009 at 8:35 PM, Micah mi...@ourmailbox.net wrote: I'm guessing you want a 3D background behind some other UI? If so check out: http://developer.android.com/reference/android/widget/FrameLayout.html That lets you just stack several views on top of each other. Note: I don't know if it works with GLSurfaceView, but it should be pretty easy to test by just copying a couple of the API demos into one app. On Jul 22, 7:57 am, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: Hi all, How can one use a GLSurfaceView similar to a ViewGroup, in the sense of adding Views(CustomViews) over it??? Is there any means to make the GLSurfaceView be the canvas on which the view draws its contents? -- Regards, Sujay Ogden Nash http://www.brainyquote.com/quotes/authors/o/ogden_nash.html - The trouble with a kitten is that when it grows up, it's always a cat. -- Regards, Sujay Charles de Gaulle http://www.brainyquote.com/quotes/authors/c/charles_de_gaulle.html - The better I get to know men, the more I find myself loving dogs. -- Regards, Sujay Marie von Ebner-Eschenbachhttp://www.brainyquote.com/quotes/authors/m/marie_von_ebnereschenbac.html - Even a stopped clock is right twice a day. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: Help with GLSurfaceView
I'm guessing you want a 3D background behind some other UI? If so check out: http://developer.android.com/reference/android/widget/FrameLayout.html That lets you just stack several views on top of each other. Note: I don't know if it works with GLSurfaceView, but it should be pretty easy to test by just copying a couple of the API demos into one app. On Jul 22, 7:57 am, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: Hi all, How can one use a GLSurfaceView similar to a ViewGroup, in the sense of adding Views(CustomViews) over it??? Is there any means to make the GLSurfaceView be the canvas on which the view draws its contents? -- Regards, Sujay Ogden Nash http://www.brainyquote.com/quotes/authors/o/ogden_nash.html - The trouble with a kitten is that when it grows up, it's always a cat. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: Help with GLSurfaceView
Hi micah, thnx for the reply, but my requirement is to rotate the entire view. Say for example i need to provide the user a 3d desktop kinda ui, on rotation of the cube a whole view/viewgroup needs to rotate. thats y i need it to be either the canvas of the view or it shd act like a viewgroup. or is there anyother way to achieve this??? On Wed, Jul 22, 2009 at 8:35 PM, Micah mi...@ourmailbox.net wrote: I'm guessing you want a 3D background behind some other UI? If so check out: http://developer.android.com/reference/android/widget/FrameLayout.html That lets you just stack several views on top of each other. Note: I don't know if it works with GLSurfaceView, but it should be pretty easy to test by just copying a couple of the API demos into one app. On Jul 22, 7:57 am, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: Hi all, How can one use a GLSurfaceView similar to a ViewGroup, in the sense of adding Views(CustomViews) over it??? Is there any means to make the GLSurfaceView be the canvas on which the view draws its contents? -- Regards, Sujay Ogden Nash http://www.brainyquote.com/quotes/authors/o/ogden_nash.html - The trouble with a kitten is that when it grows up, it's always a cat. -- Regards, Sujay Charles de Gaullehttp://www.brainyquote.com/quotes/authors/c/charles_de_gaulle.html - The better I get to know men, the more I find myself loving dogs. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: Help with GLSurfaceView
Ah, so you want to render your UI to a texture and then apply that texture to a 3D object? If so then I don't know if/how to do that. :P On Jul 22, 8:09 am, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: Hi micah, thnx for the reply, but my requirement is to rotate the entire view. Say for example i need to provide the user a 3d desktop kinda ui, on rotation of the cube a whole view/viewgroup needs to rotate. thats y i need it to be either the canvas of the view or it shd act like a viewgroup. or is there anyother way to achieve this??? On Wed, Jul 22, 2009 at 8:35 PM, Micah mi...@ourmailbox.net wrote: I'm guessing you want a 3D background behind some other UI? If so check out: http://developer.android.com/reference/android/widget/FrameLayout.html That lets you just stack several views on top of each other. Note: I don't know if it works with GLSurfaceView, but it should be pretty easy to test by just copying a couple of the API demos into one app. On Jul 22, 7:57 am, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: Hi all, How can one use a GLSurfaceView similar to a ViewGroup, in the sense of adding Views(CustomViews) over it??? Is there any means to make the GLSurfaceView be the canvas on which the view draws its contents? -- Regards, Sujay Ogden Nash http://www.brainyquote.com/quotes/authors/o/ogden_nash.html - The trouble with a kitten is that when it grows up, it's always a cat. -- Regards, Sujay Charles de Gaullehttp://www.brainyquote.com/quotes/authors/c/charles_de_gaulle.html - The better I get to know men, the more I find myself loving dogs. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---