arthabus / androidviewtoglrendering Goto Github PK
View Code? Open in Web Editor NEWDemo for rendering android views to OpenGL texture
Demo for rendering android views to OpenGL texture
I use a TextureView to play a video. I want to render the textureView to gl texture. So I replace the webview with textureView in the demo. But I found onSurfaceTextureAvailable of TextureView.OnFrameAvailableListener not callback. Video can not be played, I can see nothing.
i want to add some text to Textureview after completion of rendering because the the textview also need to be saved including the GLTextureview. How to implement that
Thanks in advance.
I would like to render a map from a mapbox app to a webGL texture. It is the inverse of what you have done. Do you think it is possible based on tour research?
Hi firstly many thanks. This is only one working example i seen.
Im pretty new to OpenGl and its hard to understand for me.
any idea or code samples would be appreciated.
Please let me know your discord server if any.
I have tried to run the same code on multiple devices and I don't see the contents of the webpage on the cube. I have tried changing the url's, but that doesn't help, as well.
Android monitor shows the below messgae:
Cannot call determinedVisibility() - never saw a connection for the pid: 2025
@ArtemBogush ,could you please look into this.
Can add to MD360Player4Android ๏ผ
I've been looking for this for days!!!
I'm trying to create lens correction effect for VR app.
After Googling endless combinations of keywords I was so frustrated, that I simply typed: texture render view android
๐ thank you for putting this together.๐
The class GLWebView
is marked as "never used" as you never instantiate it in the activity_main.xml
. It still works though..?
Hello !
Do you think it is possible to render two cubes with different Android views (for instance a cube with a webview and another with a textview) by using the same renderer ?
Cool implementation. I had to add the following to prevent the WebView from opening up in the device browser instead of itself:
mGLWebView.setWebViewClient(new WebViewClient());
mGLWebView.setWebChromeClient(new WebChromeClient());
Nested content and more time Caton
It is just black when I create a view within the MainActivity class:
GLLinearLayout myView=new GLLinearLayout(this);
Hello,
I am working on a TV application (on Android TV Emulator). I am trying to render a textView and an imageView so I removed the webView of your example. When I start the application the texture is displaying but when I press the Back button and relaunch the application, Android displays a black screen. Is the OpenGL context lost?
Hello. Thank you for sharing this. I wonder if it was possible to render multiple Android Views such as a TextView above an ImageView.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.