tag:blogger.com,1999:blog-2417783511326861492.post1001141103640646766..comments2023-03-25T14:07:31.740+00:00Comments on Bat Hat Media: Using CoreImage filters in OpenframeworksBret Batteyhttp://www.blogger.com/profile/06454690005636989300noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-2417783511326861492.post-85973694050201412192014-05-25T12:16:02.558+01:002014-05-25T12:16:02.558+01:00Great stuff! It is wonderful to see my post picked...Great stuff! It is wonderful to see my post picked up and expanded in such a useful way.Bret Batteyhttps://www.blogger.com/profile/06454690005636989300noreply@blogger.comtag:blogger.com,1999:blog-2417783511326861492.post-58151326038945641802014-05-12T20:00:52.234+01:002014-05-12T20:00:52.234+01:00Just wanted to share with you....just based of usi...Just wanted to share with you....just based of using your example I made a complete addon that leverages about 65 filters and doesn't require the .mm changeup in main.cpp https://github.com/laserpilot/ofxCoreImage<br /><br />Works in 0.8.1 and OSX 10.8/10.9 - only works in the GLUT window, not in a GLFW window that is now the standard - still investigating that<br /><br />laserpilothttps://www.blogger.com/profile/08430686617062682446noreply@blogger.comtag:blogger.com,1999:blog-2417783511326861492.post-80956375509709593602014-04-02T19:52:52.342+01:002014-04-02T19:52:52.342+01:00Ah ha! Got it almost working in 0.8.0 - the proble...Ah ha! Got it almost working in 0.8.0 - the problem was that with the OF project generator my .mm and .h files had defaulted to C as their file type so it wasn't compiling properly. Once I changed those to Obj-C++ Source it worked much better.<br /><br />Now it's just crashing in the newer GLFW window, so I'm going to try it with a GLUT window and see if it builds properly. <br /><br />Thanks for your help...I'll post if I find anything interesting!laserpilothttps://www.blogger.com/profile/08430686617062682446noreply@blogger.comtag:blogger.com,1999:blog-2417783511326861492.post-65877311522367391092014-04-01T22:50:07.104+01:002014-04-01T22:50:07.104+01:00Thanks! I'm fairly sure I followed your instru...Thanks! I'm fairly sure I followed your instructions to the t and added quartzcore in everything so I haven't seen any issues there yet - it is in the "link file with binary" step and in my header (and i tried putting it in the "copy files" step at some point as well)<br /><br />If you have just a simple example file that I can check the build phases/settings that would probably be most helpful - I feel like there is some small flag or something that I'm not setting up correctly<br /><br />It's strange because appkit seems to not be linked properly too if the NSOpenGL objects arent working since those are in appkit, not quartzcore<br /><br />Here is a link to my current OF project file: https://www.dropbox.com/s/8mwj6mz9xbahogg/coreImage_sketch.ziplaserpilothttps://www.blogger.com/profile/08430686617062682446noreply@blogger.comtag:blogger.com,1999:blog-2417783511326861492.post-75563880738183728842014-04-01T20:16:46.880+01:002014-04-01T20:16:46.880+01:00I haven't worked in OS 10.8.5 or OF 0.8.0 yet,...I haven't worked in OS 10.8.5 or OF 0.8.0 yet, so if that is the source of the problem, I won't be able to help. Did you try adding the QuartzCore framework manually to the Xcode project frameworks list, as per the note above?Bret Batteyhttps://www.blogger.com/profile/06454690005636989300noreply@blogger.comtag:blogger.com,1999:blog-2417783511326861492.post-64879797513038472842014-04-01T19:09:14.701+01:002014-04-01T19:09:14.701+01:00Thanks for this!
I am having some trouble getting...Thanks for this!<br /><br />I am having some trouble getting everything to link correctly in OF 0.8.0 and havent tried in 0.74<br /><br />I have copied your header and everything almost exactly - #include "QuartzCore/QuartzCore.h" <br /> and quartzcore is included properly - but it doesn't seem to be finding stuff properly - " NSOpenGLPixelFormatAttribute" and "NSOpenGLPixelFormat" are unknown type formats - and "CIContext" is also unknown<br /><br />If you have a sample file that has all of the necessary includes, that would be incredibly useful - I am on 10.8.5 with OF 0.8.0laserpilothttps://www.blogger.com/profile/08430686617062682446noreply@blogger.com