yulu / shadercam Goto Github PK
View Code? Open in Web Editor NEWDemo app to discuss rendering camera frame using OpenGL ES
Demo app to discuss rendering camera frame using OpenGL ES
Thank you for sharing this code and documenting your process.
I keep getting the following error on running the code :
[SurfaceTexture-1-13621-0] bindTextureImage: clearing GL error: 0x501
<core_glGetAttribLocation:633>: GL_INVALID_VALUE
Could not get attrib location for uTransformM
Could not get attrib location for uOrientationM
Could not get attrib location for ratios
Could not get attrib location for aPosition
basically, both glGetAttribLocation and glGetUniformLocation return -1 all the time.
Would you know what I could do to fix this?
Thank you
Hi,
When I run your project, I have a warning about the bindTexture. Your project works but I want to understand why I have this warning.
08-29 13:18:02.520: W/GLConsumer(17697): [unnamed-17697-0] bindTextureImage: clearing GL error: 0x502
Can you explain this please ?
Thanks.
EDIT : Warnings appears only for SDK > 4.2
i am testing this on tecno camon c9 which have 1080p screen resolution.
the camera preview is very small.
i have limited knowledge on shader or openGL.
would you please help me to make it fit on every screen?
I have installed this on my Google Pixel device and its crashing. Also have seen in my emulator that Toggling resolution on certain Android devices leads to inconsistant screen size.
Do you have any plan to fix these issue? or guide me how you are rendering the camera screen during orientation?
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.