BradLarson / GPUImage

An open source iOS framework for GPU-based image and video processing
http://www.sunsetlakesoftware.com/2012/02/12/introducing-gpuimage-framework
BSD 3-Clause "New" or "Revised" License
20.24k stars 4.61k forks source link

FilterShowcase shows nothing when a filter name is clicked #2494

Closed sambudda closed 7 years ago

sambudda commented 7 years ago

I just downloaded this project. Opened up FilterShowcase in Xcode 8, clicked on one of the filters in list table in my iOS simulator and then it shows page with just a scroll bar. The page is blank. Where is a preview of image something? Comeon people at least have a working example. what_pic

BradLarson commented 7 years ago

You wouldn't happen to be running this in the Simulator, are you? The Simulator doesn't have proper camera support, and these examples all run through the device camera's input.

sambudda commented 7 years ago

Yes, I was using iOS simulator. I didn't know that this would only work on real device. Perhaps there needs to be a check to sees if its a simulator then show a pop-up to tell the user to run it on actual device. Or better yet if it finds that this example is run on a simulator then instead of launching camera it applies those effects to a static image provided within the project. Just a suggestion. Though thanks for replying quickly.