GithubHelp home page GithubHelp logo

Comments (4)

nekocode avatar nekocode commented on June 11, 2024

@tobilvr You can rotate the texture coord.

private static final float ROATED_TEXTURE_COORDS[] = {
        0.0f, 0.0f,
        0.0f, 1.0f,
        1.0f, 0.0f,
        1.0f, 1.0f,
};

from camerafilter.

androidmaven avatar androidmaven commented on June 11, 2024

It works ..I cannot thank you enough, I personally, am grateful for your work here. I still have another question tho., one in this issue and the other on a new issue.. :) πŸ‘

Is it safe, if i want to switch camera, and i destroy the backCamera renderer, and then instatiate a new FrontCameraRenderer which is then set to the same texture view
E.g

renderer.onSurfaceTextureDestroyed(new SurfaceTexture(CameraRenderer.getTextureId));
rendererFront = new FrontCameraRenderer(this);
textureView.setSurfaceTextureListener(rendererFront);

from camerafilter.

androidmaven avatar androidmaven commented on June 11, 2024

All working and done. Thanks

from camerafilter.

Traz9g avatar Traz9g commented on June 11, 2024

What i have to put in that massive to make landscape mode?

from camerafilter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.