quartz-composer

Use of GL_STENCIL_TEST to render concave polygons

余生长醉 提交于 2019-12-17 16:53:30
问题 I'm working on a custom geometry library adapted to Quartz Composer and trying to draw some concave polygons in a Plug In. I implemented the poly2tri library, so the user can choose to triangulate or not, but it's not suitable for a per-frame polygon transformations rendering. I'm a noob in OpenGL and I've been reading and testing a lot, about stencil buffer and odd/even operations, but even code that seem to work for other people, doesn't work for me. The render context is a CGLContextObj,

Rearranging pixels on a video in realtime in Quartz Composer

╄→尐↘猪︶ㄣ 提交于 2019-12-11 06:14:05
问题 Does anyone know a good resource related to remapping the pixels in a video in realtime using Quartz Composer? I've read through the programming guide, but it doesn't have all the information I need...thanks! 回答1: What kind of "remapping" do you have in mind? If you have a mathematical expression for, given the location of an output pixel, determining which input pixel(s) combine to form that output pixel, then Core Image is probably what you're looking for. Check out the Core Image Kernel

Can I use Quartz Composer with iOS?

荒凉一梦 提交于 2019-12-11 04:32:55
问题 I wan't to draw a view which has several strings, these strings's text could be changed by my program code, how can I build my program with Quartz Composer? I want Quartz Composer define how my view looks. 回答1: Quartz Composer compositions are not supported at all on iOS. 回答2: Some people are trying to make this happen !! Quartz Composer for iOS http://joris.kluivers.nl/blog/2013/06/04/quartz-composer-for-ios/ I am also looking forward to it ! 来源: https://stackoverflow.com/questions/6970536