Perl 6 - the future is here, just unevenly distributed

IRC log for #openframeworks, 2014-04-16

| Channels | #openframeworks index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:00 admsyn addon coming soon (tm)
00:00 pizthewiz I remember getting WebKit to render in a separate thread was always exciting
00:01 admsyn it's easy with the Cocoa webview thing, just a bool
00:01 admsyn or I guess it's really just a suggestion that it can render concurrently, I haven't profiled it to see if it actually does
00:01 admsyn I can do fullscreen w/ retina OF in the background and webkit in the front at 60fps
00:02 admsyn threw some impress.js in my openFrameworks BECAUSE I CAN
00:04 pizthewiz -cacheDisplayInRect:toBitMapImageRep: ?
00:04 admsyn no just webView setCanDrawConcurrently:YES
00:04 pizthewiz I think that was the best solution I found (a long while ago) to pull a bitmap out of a webview
00:04 admsyn (from memory, might be worded slightly different)
00:04 pizthewiz Oh, are you actually layering it ontop of the primary oF view?
00:04 admsyn oh I just make it a sublayer
00:04 admsyn yeah
00:04 admsyn so Cocoa can get all clever on it
00:06 pizthewiz Ahh gotcha, I thought you were snagging a bitmap from it and compositing it yourself
00:06 admsyn the whole thing's not a tremendous amount of code
00:06 admsyn nopes
00:06 admsyn it's in the context of making an addon for doing presentations
00:06 admsyn so I figure the least clever the better
00:06 admsyn I can post the gist of it on pastebin if you're interested?
00:06 admsyn the addon will be a bit coming I think
00:08 pizthewiz Interesting, does the default ofApp have an NSView that you can then add subview/layers to?
00:08 pizthewiz I guess I hadn't ever looked
00:09 admsyn yeah, well sort of
00:09 admsyn GLFW does
00:09 admsyn one sec
00:09 admsyn http://pastebin.com/raw.php?i=G6PQSNVX
00:09 admsyn the first function is the gist for getting it set up
00:11 pizthewiz Ahh gotcha, some casting from getCocoaWindow, nice
00:12 admsyn I think the types are like GLFWWindow and its content view is a GLFWView
00:12 admsyn or something
00:12 pizthewiz That sounds about right
00:12 admsyn but yeah it's just a regular NSWindow w/ NSView contentView, really
01:20 dantheman joined #openframeworks
01:47 ilbot3 joined #openframeworks
01:47 Topic for #openframeworks is now Welcome to http://openframeworks.cc/ | logs at http://irclog.perlgeek.de/openframeworks/ | Apr 13 IRC Meetup notes: https://openframeworks.hackpad.com/I​RC-Meetup-April-13-2014-2ZuFHOGGTN2
01:50 vade hey @dantheman
01:50 vade you around?
01:50 dantheman sup
01:50 vade so - im about to push a non functioning QCPlugin
01:50 admsyn joined #openframeworks
01:50 dantheman haha
01:50 dantheman nice
01:50 vade theres an issue I think you might be able to handle
01:50 dantheman word
01:50 dantheman a challenge
01:51 vade basically, including ofImage renders glGenFrameBuffer and a few glFrameBuffer calls uh, null
01:51 vade like
01:51 vade the functions no longer resolve
01:51 vade I have no fucking idea what the shit is going on
01:51 dantheman oh I'll use Blairs CoreImage stuff
01:51 vade huh?
01:51 vade the CICode wont need pure GL function calls
01:51 vade QC does
01:51 dantheman https://github.com/laserpilo​t/Core_Image_openframeworks
01:52 dantheman oh word
01:52 vade not sure if that will be helpful. let me peruse
01:52 dantheman ok gotchat
01:52 vade oh. weird
01:52 vade he could use a sharecontext
01:52 dantheman well he's not a ObjC nerd
01:52 vade its cool, im just thinking performance wise
01:53 dantheman well that's why its openSource
01:53 dantheman haha
01:53 vade maybe ill fork that and look at it
01:53 dantheman he's hacking code then gonna pass it around
01:53 dantheman make an ofxCoreImage
01:53 vade cool
01:53 vade too bad core image is fucking shitty these days
01:53 dantheman lol
01:53 vade rumor has it that apple is leaking senior engineers like a mother fucker
01:54 vade I know they are trying to get rid of UIKit on iOS
01:54 vade can you imagine?
01:54 vade everyffucking thing uses that.
01:54 dantheman yup
01:54 dantheman i know my old place does
01:54 vade apparently spritekit is what is being used for a lot of internal development
01:55 vade messages.app on iOS doesnt use it
01:55 vade (UIKit that is)
01:55 vade anyway I digress
01:55 dantheman word
01:56 dantheman pull it down
02:00 dantheman oh god this is so old
02:00 dantheman haha
02:00 vade hm
02:00 vade ?
02:01 dantheman like you can see the differences in the way an addon was built
02:01 vade my code?
02:01 dantheman just based upon the way it is laid out
02:01 dantheman yah your code
02:01 vade :)
02:01 vade 2009
02:01 dantheman lol
02:01 dantheman yeah
02:01 dantheman takes be back to decoding lasertag
02:01 dantheman and making it work
02:02 dantheman which reminds me I need to push that
02:02 vade I have some fixes to the project I need to push, give me a few
02:02 dantheman word
02:02 vade I have one example, the OFtoQCImageDemo semi working :X
02:02 vade and by that I mean
02:02 dantheman it compiles?
02:02 vade it compiles a plugin and dies horribly in OpenGL due to a null function pointer because ofImage imports something somewhere
02:02 vade yes.
02:03 vade fuck GLFW and GLUT and GLEW and everything
02:03 vade :D
02:03 vade especially Q
02:03 vade C
02:04 dantheman http://tinyurl.com/lajueak
02:04 dantheman good thing I'm not planning on using ofImage
02:04 dantheman haha
02:05 vade what?
02:05 dantheman I wonder how it works with meshes
02:05 vade how wont you use ofImages?
02:05 vade this needs to provide input and output ports so you can chain
02:05 vade otherwise its kind of useless
02:05 vade you can go direct to ofTexture, which I do
02:05 dantheman right
02:05 vade but you may need to get CPU side pixel buffer access for some ofApps
02:05 vade from QC
02:06 vade so you need a QCImage to ofImage / CPU backed buffer method
02:06 vade which I provide, and it works,
02:06 pizthewiz joined #openframeworks
02:06 dantheman cool
02:06 vade the issue is, something due to GLEW is fucking up OpenGL API entry points
02:06 vade with their bullshit
02:07 vade I feel like every father intriniscally new this:http://www.parentherald.com/articles/4474/201​40415/is-crying-a-babys-means-of-survival.htm
02:07 pizthewiz Could you Syphon it over?
02:07 dantheman what if you dropped that shit and just used a Cocoa window
02:07 vade what?
02:07 vade what would a cocoa window solve?
02:08 dantheman not using GLFW
02:08 vade well, im linking against OpeNFrameworks
02:08 vade im not using GLFW at all.
02:08 admsyn glfw is using a cocoa window though?
02:08 pizthewiz Yup
02:08 admsyn you can get the window pointer if you want
02:08 vade im proxying ofWindow
02:08 vade no, I dont even instantiate a window for of
02:08 vade I run my own run loop for the ofApp
02:08 pizthewiz ofAppGLFWWindow glfwWindow = *(ofAppGLFWWindow *)ofGetWindowPtr(); window = (NSWindow *)glfwWindow.getCocoaWindow();
02:08 vade based off of the QCWindow
02:09 vade and its rendering
02:09 vade so you can serialize events and have well, deterministic time based rendering online and offline
02:09 vade look at ofQCBaseWindowProxy
02:10 dantheman ok
02:10 vade I suspect due to the new modular rendering in of 8 or whatever, I need to change shit
02:10 vade but the idea prior to that was to basically just, uh, pretend I have a window
02:10 vade but its just rendering to the QC GL context
02:10 vade I attempt to setup the OF coordinate system and isolate GL state
02:10 vade but the issue is OpenFrameworks is very state leaky
02:11 dantheman yeah
02:11 dantheman it is
02:12 dantheman ok I get how this works now
02:12 vade yea basically, you init the plugin
02:12 vade it inits the ofApp and sets up the proxy
02:12 vade every render call we render of and update/draw
02:12 vade its simple conceptually
02:13 dantheman word
02:13 vade im just sure enough in of 8 changed that I have yet to grok
02:13 dantheman David wants me to try something...the only way he thinks I can ship a plugin currently for VDMX is via an oF+Qrtz Plugin hack
02:14 dantheman and trying out albemic->vdmx
02:14 vade Alembic ?
02:14 vade yea
02:14 vade it would ‘fast path’ it potentially
02:14 dantheman javascript:;
02:14 vade VDMX is also sensitive to GL state leaks :)
02:14 dantheman err
02:15 dantheman basically this http://instagram.com/p/mzOLFaRnKI/
02:15 dantheman haha
02:15 dantheman I've discovered
02:15 vade cool.
02:16 dantheman trying out new things for these two Liars shows coming up
02:17 admsyn dantheman: how is ofxAlembic in terms of coverage?
02:17 dantheman you get your mesh and your camera
02:17 dantheman and some other things
02:17 dantheman but like not full featured
02:18 dantheman so no subdivided meshes
02:18 admsyn do they just not show up, or are they just not nice and smooth?
02:18 * admsyn admittedly knows very little about alembic
02:19 dantheman I'm learning about it now haha
02:19 admsyn yeah I'm just looking at the wrapped lib
02:20 admsyn I can't find anything googleable?
02:20 admsyn libalembic just brings up something about fedora I assume is unrelated
02:20 vade http://www.alembic.io
02:20 dantheman http://alembic.io/
02:20 dantheman haha
02:20 admsyn oh oh ok :)
02:21 admsyn yeah I saw that but just figured it was the spec or something
02:21 * admsyn gets it now
02:21 dantheman yup
02:21 dantheman it didn't exist so lucasarts invented it
02:21 dantheman the camera path tracking is neat
02:22 admsyn interesting
02:22 admsyn I kind of want to take some of beeple's CC cinema4d project files and see how they hold up
02:22 dantheman that's what I'm testing right now
02:22 dantheman haha
02:22 admsyn ha
02:22 admsyn :D
02:23 admsyn well I'd be interested to see how it goes then!
02:23 dantheman and then fuxing with my own stuff
02:23 dantheman and I gotz yopablo making shitz
02:23 admsyn nice
02:24 dantheman yeah it'll be fun
02:24 dantheman the fun thing is just like hey look geometry let me shade you
02:25 admsyn you get the animations too right?
02:25 admsyn and camera stuff
02:25 admsyn yeah some of the beeple loops would be real fun to dig into
02:25 admsyn <_< >_>
02:25 admsyn ok here I go
02:25 dantheman I email you
02:26 dantheman pushing my test files
02:27 dantheman https://github.com/fakelove/ofxAlembic
02:28 dantheman its pretty much this admsyn abc.get("/Camera/CameraShape", cam);
02:28 dantheman vade: that is the code I wanna wrap for Qrtz haha
02:28 dantheman just this https://github.com/fakelove/ofxAlembic/bl​ob/master/example-camera/src/testApp.cpp
02:40 vade seems reasonable
02:40 dantheman totally
02:41 dantheman here cache this mesh and let me drive a camera around
02:59 Joel_re joined #openframeworks
02:59 admsyn argh
03:00 admsyn c4d lite doesn't do alembic export it seems :/
03:07 kdh-1334_ joined #openframeworks
03:13 vade I think its pretty specific to higher end modelling tools and usually as a plugin
03:14 vade personally ive only really had firsthand experience with collada as an interchange format but ive been out of the post game for a bit
03:14 vade collada is also huge and a pain in the ass
03:14 vade and tries to do too much
03:30 vade dantheman: pushed some changes, sorry got distracted with shit
03:32 dantheman admsyn: you need R14/R15
03:32 dantheman kk
03:32 dantheman me too
03:32 dantheman ooooshiney
03:32 admsyn yeah but I've only got c4d lite handy
03:32 admsyn which is the one that comes with after effects
03:33 admsyn and it doesn't export much of anything at all :) afaict it's just for working on stuff live
03:33 * admsyn shake fist at $4000 c4d
03:34 dantheman cough R15torrent
03:34 admsyn yeah well
03:34 admsyn :p
03:34 dantheman and you're in canada
03:34 dantheman where you pay a tax on every harddrive
03:34 admsyn that one doesn't cut it anymore as far as I'm aware
03:34 admsyn and I think even then it was for songs specifically
03:34 dantheman R15 is the new new
03:35 dantheman oh the tax
03:35 admsyn I'll see if I know a guy that knows a guy that knows a server
03:37 dantheman admsyn: look in my repo
03:37 dantheman I put this one up http://vimeo.com/58460459
03:37 dantheman the abc
03:37 admsyn yepp I was playing around with it
03:38 dantheman neat huh
03:39 dantheman and btw its like a bitch to export
03:39 dantheman hah
03:39 admsyn yeah I guess that's an ideal one for not stressing ofxAlembic too much :)
03:39 dantheman pretty much
03:39 dantheman this 2 gig one I have load up fast
03:39 dantheman and is only like 58 mb of ram
03:39 admsyn I wonder how well does e.g. this one hold up https://vimeo.com/4240369 ?
03:40 admsyn 'cause it's mostly cubes
03:40 admsyn cubeular things
03:40 dantheman can't find the c4d?
03:40 admsyn one sec
03:41 dantheman nvm
03:41 admsyn http://www.beeple-crap.com/c4d/beeple-subprime.zip
03:41 dantheman yeah I told pablo...go easy
03:41 dantheman simple shapes
03:41 dantheman just geometry and camera movements
03:42 admsyn do you get a reasonable mesh in the end result for doing vert shader stuff on?
03:43 dantheman like hell
03:43 admsyn haha
03:43 dantheman fucking shit man
03:43 dantheman this keeps going
03:43 dantheman and going
03:43 dantheman and going
03:43 admsyn subprime?
03:43 dantheman 4000 frames
03:43 dantheman yeah
03:44 admsyn :3
03:46 dantheman this one works
03:46 dantheman http://vimeo.com/21118169
03:46 dantheman well
03:47 dantheman doing a 10% test with 400 frames
03:52 pizthewiz joined #openframeworks
03:55 vade oh
03:55 vade nice
03:55 vade got this working :D
03:55 vade ofQCPlugin yay
03:55 pizthewiz 🎉
03:55 vade FUCK.
03:55 vade GLEW
03:55 vade UP THE ASS
03:55 vade thats harsh
03:55 vade sorry
03:56 admsyn haha
03:56 pizthewiz Just in the ear?
03:56 vade I very much dislike GLEW.
03:56 vade anal sex is fine. as long as its consensual.
03:57 pizthewiz Did it end up being state leaking issues or other integration stuff?
04:00 dantheman haha
04:00 dantheman vade:
04:00 vade oh
04:00 dantheman admsyn: yeah that is too dirty of a file
04:00 vade no, it was fucking glew and init shit
04:00 vade just enough of the rendering bootstrapping changed in 0.8
04:00 dantheman word
04:00 vade that some necessary bootstrapping calls were not being made.
04:01 vade dumb shit. basically.
04:01 dantheman COMMIT
04:01 dantheman push
04:01 dantheman haha
04:02 dantheman so this works ok with like simple files then you and just fuck with shit
04:02 dantheman if you try to do too much....you're doing it wrong
04:03 admsyn yeah figured that might give it a heart attack :)
04:03 dantheman you just gotta go in a strip stuff out
04:03 dantheman soooo many layers too
04:04 vade so, do you normally just init a git repo in your openframeworks addons folder for an addon you work on?
04:04 admsyn yeah cd ofxMyAddon; git init
04:05 vade and is it normal to have example apps there too?
04:05 pizthewiz Yep
04:05 admsyn yeah called example-whatever
04:05 vade ok. Thats not so bad then. Maybe i change my mind.
04:05 vade maybe.
04:05 admsyn lawl
04:05 vade probably not.
04:05 pizthewiz Almost universally prefixed with "example-"
04:05 vade ok
04:05 vade hm
04:06 pizthewiz I think because the addon makefile magic will automatically ignore addons/*/example-*
04:06 admsyn https://github.com/openframeworks/ofxAddonTemplate
04:06 vade ah, I see
04:06 vade ok. ill move to that format
04:06 vade thanks for putting up with all my bitching and moaning
04:07 admsyn :)
04:07 vade of really wants you to do shit their prescribed way
04:07 vade and i HATE THAT AUTHORTARIAN BULLSHIT
04:07 vade :P
04:07 pizthewiz Don't forget to use all lowercase filename prefixes too 😉
04:07 vade hm?
04:08 pizthewiz Kidding… oF just seems to use them
04:08 pizthewiz I can't count how many times I've tried OFFile or oFFile
04:08 admsyn this ain't no apple guidlines cocoa shit maaaaaan
04:09 dantheman if vade isn't complaining about something...we're doing it wrong
04:09 pizthewiz Definitely more wildstyle!
04:11 vade wait though
04:11 vade so, now
04:11 vade if I have my addon folder ofxQCPlugin
04:11 vade and in there i have src
04:11 vade and I have example-WHATEVER
04:12 vade and I drag my ofxQCPlugin to my existing projects addons folder to include it
04:12 vade it will include my example files
04:12 dantheman nope
04:12 admsyn no it does
04:12 pizthewiz Yeah it will
04:12 vade of course it will.
04:12 pizthewiz I usually just drag src
04:12 vade ok.
04:12 admsyn yeah just src + libs
04:12 dantheman I use the plugin
04:12 pizthewiz Then I create a group and name it
04:12 vade thats… that makes me sad
04:12 vade but ok
04:12 admsyn haha
04:12 dantheman that admsyn made
04:12 vade if thats how ya’ll roll
04:12 pizthewiz Yeah src+libs, winner winner chicken dinner
04:12 dantheman it does it all for you
04:13 vade plugin?
04:13 pizthewiz OFPlugin (note it isn't ofPlugin) is pretty rad
04:13 dantheman or I build from the command line and just populate the addons.make
04:13 admsyn sup https://github.com/admsyn/OFPlugin
04:13 pizthewiz admsyn: Cocoa naming scheme!
04:13 dantheman and some makefilefoo auto links them
04:13 dantheman make && make run :P
04:13 pizthewiz I guess a lot of things prefix with 2-n capitalized…
04:13 admsyn pizthewiz: because it's obj-c :p
04:14 vade ill just copy the src
04:14 vade :)
04:14 dantheman haha
04:14 pizthewiz Copy? Living dangerous
04:14 dantheman naw look at OFPlugin
04:14 dantheman it adds the deps and shit
04:14 pizthewiz Then… then I open up by pbxproj file and make sure all my paths are relative
04:14 vade deps are easy to handle
04:14 dantheman specific checkouts of specific repos?
04:14 dantheman haha
04:14 pizthewiz And then I wish I could include files in Xcode like $(OF_PATH)/addons/ofxBanana
04:15 dantheman that shit's fancy son
04:15 pizthewiz Instead of actual paths
04:15 dantheman pizthewiz: yeah
04:15 dantheman like you do in the makefile
04:15 pizthewiz Yep
04:18 dantheman and if vade doesn't do it right I'll just fork it...fix it and do a PR
04:18 booltox joined #openframeworks
04:29 iverson joined #openframeworks
04:29 vade oh, crash on exit, wee
04:50 kikko_fr joined #openframeworks
05:07 pizthewiz joined #openframeworks
05:44 Joel_re joined #openframeworks
06:49 ncls joined #openframeworks
08:46 neue joined #openframeworks
08:59 stephanschulz joined #openframeworks
09:01 kdh-1334_ joined #openframeworks
09:51 bilderbuchi joined #openframeworks
09:52 bilderbuchi jvcleave, you there?
09:54 bilderbuchi or anybody else, really. what can I pass to `make` to compile OF with C++11?
09:54 bilderbuchi I know I can adjust the PLATFORM_CFLAGS variable in the makefile config files, but I'd love to do this without modifying files
10:07 kdh-1334_ joined #openframeworks
10:37 kikko_fr joined #openframeworks
10:41 stephanschulz joined #openframeworks
10:44 _rm any idea why double taps and such are triggered twice on ios?
10:51 Joel_re joined #openframeworks
11:23 stephanschulz joined #openframeworks
11:36 admsyn joined #openframeworks
11:37 nylki joined #openframeworks
12:37 stephanschulz joined #openframeworks
12:47 groolot joined #openframeworks
13:26 sTEaDy[NL] joined #openframeworks
13:49 Topic for #openframeworks is now Welcome to http://openframeworks.cc/ | logs at http://irclog.perlgeek.de/openframeworks/
13:59 sTEaDy[NL] joined #openframeworks
14:00 stephanschulz left #openframeworks
14:49 kikko_fr joined #openframeworks
15:01 jedahan joined #openframeworks
15:06 kdh-1334_ joined #openframeworks
15:23 bilderbuchi argh any shell script magicians around?
15:23 * admsyn is not
15:46 kritzikratzi joined #openframeworks
16:03 kikko_fr joined #openframeworks
16:11 pizthewiz joined #openframeworks
16:20 ncls joined #openframeworks
16:42 sTEaDy[NL] joined #openframeworks
17:00 sTEaDy[NL] joined #openframeworks
17:01 AceSlowman joined #openframeworks
17:32 kikko_fr joined #openframeworks
17:56 admsyn joined #openframeworks
18:04 decultured joined #openframeworks
18:04 dantheman joined #openframeworks
18:04 dantheman vade: https://github.com/laserpil​ot/ofxCoreImage/tree/master
18:05 dantheman I told hit to switch to a shared
18:05 dantheman look at it
18:05 dantheman pizthewiz: ^^
18:05 laserpilot joined #openframeworks
18:05 pizthewiz Jumped on a shared context?
18:06 laserpilot im still trying to figure out the shared context stuff
18:07 vade https://github.com/vade/ofxQCPlugin has some stuff too
18:07 laserpilot yeah im going to start pawing through that…i was going off some random dude's example
18:07 vade I have the two plugins OF image to QC image,  and OF image to QC image mostly working
18:08 pizthewiz I wonder if you could have a CIFilter description and it could get auto-wrapped
18:08 vade something weird in my handling of QCImage to ofImage  Texture though
18:08 dantheman vade: word
18:08 laserpilot yeah i need to look at how you're doing that
18:08 dantheman I've been trying to figure out how to setup this plugin to build
18:09 dantheman well from 10am to 11 am
18:09 dantheman then had to go real work
18:09 vade I re-organized the source code to match what you guys described
18:09 vade so the checkout goes to addons
18:09 vade and i have just exmaple-blah etc
18:10 laserpilot yeah i havent been following addon procedure yet either
18:13 laserpilot i also havent been able to get it working with glfw so ive put it in a glut window for now
18:18 dantheman vade: yah I saw
18:18 dantheman vade: just trying to get the project setup to build a plugin vs app
18:18 vade what project?
18:18 dantheman my abc project
18:18 dantheman having to add a new target
18:19 vade oh god
18:19 dantheman or I could just haxor yours
18:19 vade dont
18:19 vade all the paths
18:19 laserpilot hahah
18:19 vade its horrible
18:19 vade al that oF bs
18:19 dantheman lulz
18:19 vade just re-name one of the existing projects
18:19 vade for serious
18:19 dantheman kk
18:19 dantheman but the addon won't link
18:22 vade whats the link error?
18:22 laserpilot vade: where is a good place to look in your code for getting a CIImage back into an OF friendly texture? or is that in there at all? were you just going back to ofImage?
18:22 vade _SystemUI something?
18:22 vade laserpilot:
18:22 vade ofTextureFromQCImage
18:24 vade right now its a bit janky but
18:24 laserpilot ah i see
18:24 vade basic idea
18:24 laserpilot copying all the attributes to ofTexData
18:26 vade well
18:26 nylki_ joined #openframeworks
18:26 vade but I also render into an FBO because you have to , at least in my case
18:27 vade allow the lifetime of the texture to be handled by openFrameworks
18:27 sTEaDyNL joined #openframeworks
18:32 dantheman ok
18:33 dantheman so render my ABC meshes into an FBO?
19:11 vade hm?
19:11 vade no
19:11 vade you can render meshes directly
19:12 dantheman that's what I tought
19:12 vade images just need to be owned by whatever ‘system’
19:12 vade since oF doesnt provide ‘texture release callbacks;
19:12 vade so when the texture is free you dangle VRam
19:12 vade hehe. dangle.
19:13 dantheman lol
19:13 dantheman hey dude your VRam is dangling
19:18 dantheman args vade I can't get it to find the Alemic headers
19:18 dantheman Alembic
19:18 vade hm
19:19 vade where are they in your search path?
19:19 dantheman HEADER_SEARCH_PATHS in the Project.xcconfig
19:20 dantheman ahh
19:20 dantheman not in the project
19:22 dantheman holy shit
19:27 vade :D
19:27 vade you have to set the config
19:27 vade if you didnt copy the project over
19:28 dantheman yeah I figure it out
19:32 dantheman ok
19:34 dantheman ok now how come I can't see anything?
19:34 dantheman but it builds
19:34 dantheman haha
19:41 * dantheman weeps
19:43 GuidovanPossum joined #openframeworks
19:49 vade hm?
19:56 dantheman it doesn't draw?
19:56 dantheman but it runs
20:22 vade well, I mena
20:22 vade mean
20:22 vade that could be a billion things
20:22 vade coordinate system issues
20:22 vade setup issues
20:22 vade QC Plugin problems with how you set that up
20:22 vade is it on git
20:22 vade ?
20:23 dantheman give me one second
20:23 laserpilot IT CAN BE
20:23 vade im sure that theres a ton of nee state leakage im not handling in OF
20:23 vade and my examples right now are pretty uh
20:23 vade basic
20:23 vade to say the least
20:23 vade (in terms of what oF is doing internally)
20:24 dantheman pushinggggg
20:25 dantheman https://github.com/fakelove/ofxQCPlug​in/tree/master/example-OFtoQCABCDemo
20:27 vade ok, heres a git question
20:27 vade how would I check out your version into my repo?
20:27 vade just add a new remote?
20:27 vade oh
20:27 vade you likely need to change the class names
20:27 vade :D
20:29 LCID_Fire joined #openframeworks
20:33 dantheman haha
20:33 dantheman yeah
20:33 dantheman class names?
20:48 vade read my readme on the main repo
20:55 dantheman kk
20:56 vade basically, namespace issues
20:56 vade c land
20:57 vade hardcode paths :P
20:57 vade L/Users/dantheman/src/openFrameworks/a​ddons/ofxAlembic/libs/alembic/lib/osx'
20:57 dantheman ahh
20:57 vade also, you didnt change this to be a bundle
20:58 dantheman ahh
20:58 vade its an app
20:58 dantheman ok
20:58 vade you stuck with it and didnt copy a project? :D
20:58 dantheman no I did
20:58 dantheman haha
20:58 vade which one?
20:59 dantheman OFtoQC image
20:59 vade weird
20:59 dantheman but I think i just copied and pasted my src into your project
20:59 vade because the target is messed up
20:59 vade as is the info.plist etc
20:59 dantheman ok
20:59 dantheman oh this project is different now
21:00 vade yea i made a ton of changes to it to make it work
21:00 dantheman ok
21:01 admsyn joined #openframeworks
21:06 dantheman ok
21:06 dantheman loads
21:06 dantheman but still blank
21:10 vade well, you sure you are a) copying the model file to the proper resources/data folder
21:10 vade and that the model is loading?
21:10 vade that you arent throwing and logging errors
21:10 dantheman yup
21:10 dantheman that loads
21:10 dantheman in Resources/Data/
21:11 dantheman let me try drawing rect
21:13 dantheman yeah no rectangle
21:13 dantheman do I need to tell is something else to do
21:16 dantheman so I am seeing some logs come in
21:16 dantheman do I need to remove those?
21:17 uberdan joined #openframeworks
21:18 vade I dont know what that means
21:18 vade how about this
21:18 vade did you change your class name
21:18 vade because you may be runnign the wrong plugin
21:18 vade if you have two bundles
21:18 vade and they load code
21:18 vade and both code has the same class names
21:18 vade its undefined which will load
21:19 dantheman I've removed the dups
21:19 vade and the QCPLugin ?
21:19 vade and updated the info.plist
21:20 dantheman yeah I'm just using your Image one with changes in ofApp and the .mm
21:20 dantheman just removed the image callback
21:20 dantheman and it builds and I can see my logs run
21:20 dantheman I'm not much of a Quartz person
21:21 vade huh?
21:21 vade removed the image callback?
21:21 dantheman call any post OF actions here, like extracting QCImages from ofTextures and the like.
21:21 dantheman self.outputImage = qcImageFromOfImage(context, pluginTestApp->testOfImage, (void*)MyQCPlugInTextureReleaseCallback);
21:21 dantheman that
21:21 dantheman is a callback right
21:22 admsyn joined #openframeworks
21:27 vade oh, its a function that takes a callback as an argument
21:27 dantheman oh
21:27 dantheman ok
21:27 dantheman whatever
21:27 dantheman to that registers the callback
21:28 vade did you change the plugin to be a consumer, not a provider?
21:28 dantheman probably not
21:28 dantheman haha
21:28 vade dantheman: ok. i cant look at this right now
21:28 dantheman its cool
21:28 dantheman I shouldn't be
21:29 dantheman I should be doing other things
21:29 dantheman haha
21:29 vade my boss just commited a fucking change that deleted all our backwards compatibility code
21:29 vade for effects
21:29 vade because I work with assholes.
21:29 vade :D
21:29 dantheman what
21:29 dantheman what
21:29 dantheman what
21:29 dantheman what
21:29 vade and no one caught it
21:29 dantheman do slap him for me
21:29 vade and now we have commits on top of it
21:29 dantheman ok
21:29 dantheman time for git surgery
21:29 dantheman I'm pretty good a that
21:30 dantheman checkout the commit id right before he committed
21:30 dantheman fork that shit
21:30 dantheman then cherry pick everything else that you want over
21:38 qDot_ If you're gonna do that just interactive rebase and make the commit disappear.
21:41 dantheman or that
21:41 dantheman but I would keep the history around
21:41 dantheman 'and this is why Jason isn't allowed to commit code by himself'
21:43 qDot_ Then just revert.
21:48 bilderbuchi joined #openframeworks
21:52 vade I prefer slapping
21:53 vade cherry picking individual lines out of an XCode project is like
21:53 vade yea
21:53 vade not gonna happen :D
22:12 laserpilot vade: can you think of any reason why third party QC plugins/CI filters don't play nice in my ofxCI code versus the built in filters?
22:12 vade not off the top of my head
22:12 vade how are you managing QC plugins though
22:12 laserpilot i was just messing with like the fxfactory/NI ones
22:13 laserpilot im able to get them to show up with  [CIPlugIn loadAllPlugIns];
22:13 laserpilot and they dont cry when i pass an image in, im just not getting anything drawn
22:17 vade oh
22:17 vade those are vanilla CI Filters
22:17 vade they should draw
22:17 vade unless you are using the QCRenderer API or QCComposition API you arent using QC
22:17 laserpilot ok, maybe the one i tried just was a bad choice to start with
22:17 vade oh
22:17 vade some might require cropping
22:18 vade to draw
22:18 laserpilot yeah im just sticking with CIFilters right now, no QC
22:18 vade you can get infinite image extents in core image easily
22:18 vade the domain of definition and region of interest tiling system
22:18 vade yea, pita
22:18 laserpilot yeah im wondering if thats whats causing my random ROI errors…but im also on a 2010 machine
22:18 vade what ROI errors?
22:18 vade custom CIKL code or ?
22:19 laserpilot CoreImage: ROI is not tilable:
22:19 laserpilot DIVX  DOD [-241,-369 1506x1506] ROI [0,0 34x26] RGBA_F
22:19 laserpilot APPLY _CIClampToAlpha DOD [-241,-369 1506x1506] ROI [0,0 18x26] RGBA_F
22:19 laserpilot APPLY _CIColorGamma DOD [-241,-369 1506x1506] RGBA_F
22:19 laserpilot APPLY _CIMatrixNobias DOD [-241,-369 1506x1506] RGBA_F
22:19 laserpilot APPLY kaleidoscope DOD [-241,-369 1506x1506] RGBA_F
22:19 laserpilot APPLY _CIMatrixNobias DOD [-80,-80 1184x928] RGBA_F
22:19 laserpilot nah, just with like gaussian blur
22:19 vade you loading a chain
22:20 laserpilot no thats all spit out from just one blur filter
22:20 vade huh
22:20 vade no idea
22:20 laserpilot only reference to the error i found was from 2007 hah
22:20 laserpilot so clearly doing something right
22:20 vade :D\
22:59 kikko_fr joined #openframeworks
23:04 GuidovanPossum joined #openframeworks
23:07 admsyn joined #openframeworks

| Channels | #openframeworks index | Today | | Search | Google Search | Plain-Text | summary