By ozieg
on Tue, 09/24/2013 - 12:08
Hi.
I wish to manipulate augmented frames before sending them to the display ,
For example : applying a black/white filter to an augmented frame.
I know i can change specific pixel colors by using the vertex & fragment shaders, but i wish to know if there is a way to apply filters directly to the augmented frames (not through the shaders)?
i am currently working under IOS.
is there a way to do so ?
thanks
ozi
Apply filter to image
The background texture access sample shows how to manipulate the image.
https://developer.vuforia.com/resources/sample-apps/background-texture-access-sample-app
N
Apply filter to image
Hi, to achieve that without using Shaders you would need to render the background video in a first step, then capture it into a buffer using glReadPixels(), then manipulating / editing the pixels in the buffer, reupload it to a texture, bind the texture and render normally.