Perl 6 - the future is here, just unevenly distributed

IRC log for #openframeworks, 2015-03-27

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

All times shown according to UTC.

Time Nick Message
01:37 oneironaut joined #openframeworks
02:07 ar_tama joined #openframeworks
03:41 jedahan joined #openframeworks
04:15 alanmulhall joined #openframeworks
05:52 Youngchu joined #openframeworks
06:35 marcocanc joined #openframeworks
06:41 Pisuke joined #openframeworks
06:55 Sembei joined #openframeworks
08:09 debu joined #openframeworks
08:18 mhashmi joined #openframeworks
09:15 MyMind joined #openframeworks
09:41 mhashmi_ joined #openframeworks
10:09 notjosh joined #openframeworks
10:35 Beliq joined #openframeworks
13:03 Beliq joined #openframeworks
13:17 jamet joined #openframeworks
13:17 jamet hi everyone
13:23 jamet is there anyone here that uses ofxSimpleGuiToo?
13:38 bigpet left #openframeworks
14:06 notjosh joined #openframeworks
14:17 i_n_g_o_ joined #openframeworks
14:41 notjosh joined #openframeworks
14:51 admsyn joined #openframeworks
14:58 notjosh joined #openframeworks
15:11 jedahan joined #openframeworks
15:20 reqshark joined #openframeworks
15:20 reqshark joined #openframeworks
15:22 jedahan hmm do I rederive the actual function for this curve I want, or do I just give beziercurve a couple of points and let it do its magic ??
15:23 admsyn ?
15:25 jedahan I am trying to exaggerate this hand movement, but keep it between 0 and ofGetWidth()
15:26 jedahan so 0->0, 0.5 -> 0.5, 1.0 -> 1.0, but like, 0.75 -> 0.875, and 0.25 -> 0.125
15:27 jedahan I think its just a second order equation, but might be a third order
15:27 jedahan someething like the characterstic I-V curve for a diode
15:27 jedahan so I can either relearn my linear algebra
15:27 jedahan or just make a bezier curve and get the points along it
15:27 admsyn pretty much :)
15:28 jedahan I think something like "EaseInOut" https://msdn.microsoft.com/en-us/library/system.windows.media.animation.easingmode%28v=vs.110%29.aspx
15:28 admsyn so you're trying to create a path that should a) exaggerate the motion of some thing and b) not exceed some rectangle?
15:29 jedahan yeah, and exxagerrate with the understanding that 0.5 is still 0.5
15:29 jedahan and of course theres an addon for this https://github.com/armadillu/ofxAnimatable
15:29 jedahan haha
15:30 admsyn yeah I think the space of animation curves is well trodden :)
15:30 admsyn I think the "keep it in the box" might get a little complicated depending on how you want to do that
15:30 admsyn obviously clamping it would "work" but look like ass
15:31 jedahan well, its ok for it to feel a little off
15:31 jedahan they arent going to be seing anything
15:31 jedahan just a mouse cursor moving
15:31 admsyn oh I see
15:31 admsyn you could come up with a function that adds a "pull back to center" vector you add to your final position, where that vector goes from 0 to 100% as you get close to the edges
15:32 admsyn and starts at 0 at say the 90% point
15:32 admsyn I did that for a thing and it worked out well fwiw ¯\_(ツ)_/¯
15:32 admsyn err I explained that badly
15:33 jedahan ahh neat
15:34 jedahan I think ofInterpolateCubic(.42,0,.58,1) might also just do it
15:34 jedahan o-o
15:34 jedahan http://cubic-bezier.com/#.42,0,.58,1 is a neat size
15:34 jedahan *site
15:35 admsyn nice
16:34 pizthewiz joined #openframeworks
16:35 sirBenjamin Hello, anyone on that can help with complining projectGenerator from github on linux?
16:35 admsyn sure, what errors are you getting?
16:36 sirBenjamin just the "please report this error
16:36 admsyn there should be more to it than that..
16:36 sirBenjamin I ran compilePG.sh
16:36 admsyn did you run the install dependencies scrtipt?
16:36 sirBenjamin yes
16:37 sirBenjamin There is nothing in apps/projectGenerator/projectGeneratorSimple
16:37 admsyn oh it's a submodule
16:37 admsyn so git submodule init; git submodule update;
16:37 admsyn in the root of the repo
16:38 sirBenjamin K I'll try
16:38 sirBenjamin Actually the script says this "make: *** No rule to make target `Release'.  Stop."
16:38 admsyn yeah I'd imagine that's because there's nothing in the folder to build :)
16:39 sirBenjamin oh look it works now! :)
16:39 admsyn great :)
16:40 sirBenjamin after git init submodule
16:41 sirBenjamin Thanks! @admsyn
16:42 admsyn fwiw this info is in the README, though a lot of the questions that come through here are some variation on the problem you had
16:42 admsyn so that's probably indicative that we should modify the README a bit
16:43 sirBenjamin ... sorry... I have been trying to work with openFrameworks for a week now with little success. I just switched to a VM linux machine to see if I have better luck (was previously on windows 8)
16:44 admsyn yeah no worries, I think a lot of people do the same thing you do, so the problem is still that we're not structuring the README in the best way I suppose
16:44 sirBenjamin So, next question. I made a project (in linux) and when I try to compile and run with openFrameworks get a "fatal error: cairo-features.h: Nosuch file or directory" error
16:45 admsyn that'd imply that either cairo isn't installed (from the install dependencies script) or the header search paths in your IDE / makefile aren't correct
16:47 sirBenjamin Maybe I should back up. I really want to use open framworks to capture/dispaly a h.264 RTP stream. I found oxfGstreamer and oxfGstRTP on git. I would like to compile/run an example in oxfGstRTP. What I have done is download all of the needed addons and put then in openFramwork's addons folder and then generate a project with those addons with project generator
16:47 admsyn sounds right
16:47 sirBenjamin Then I copy and past into the generated project the make files and sources for the ofxGstRTP file.
16:48 sirBenjamin I haven't got them to compile yet because of the cario error. Am I proceeding down the right path?
16:48 admsyn I usually work on OSX so I'm kind of guessing here, but I think that step is what's causing the error
16:48 sirBenjamin what's the correct way to "build an example" then?
16:48 admsyn not being able to find cairo would imply that it's having trouble finding *all* of the OF internal libs
16:49 admsyn let's slow down a sec here :)
16:49 admsyn if I have to guess, what happened is that in the process of copying the makefiles etc around, the relative paths to the libs changed
16:49 sirBenjamin K, sorry I am so happy to find someone that is willing to answer a few questions
16:49 admsyn so instead of ../../../ you made it ../../ or something like that
16:50 sirBenjamin okay, I don't understand what the ../../../ implies.
16:50 sirBenjamin oh wait, is that similar to cd ./?
16:50 admsyn it's the path from your project directory (with src and bin inside it) to the root of the OF folder
16:50 sirBenjamin like we are going "up" directories?
16:50 admsyn yes
16:51 admsyn so if you were to copy the project from apps/myApps/emptyExample and move it to something like apps/emptyExample it'd break because the paths are wrong
16:51 admsyn so what's the path of the gst example, relative to the OF root?
16:51 sirBenjamin okay, I'm checking that now. Where does OF_ROOT want to end up at?
16:51 admsyn it should point at the folder you cloned from github (with apps, examples, libs etc)
16:52 sirBenjamin oh wait, OpenFramworks root.....
16:52 admsyn I have to leave right now though, I'll probably be back in a few hours
16:52 admsyn good luck! there's often a few people around here that are better than me at linux too fwiw :)
16:52 sirBenjamin Okay @adsyn. THANK YOU THANK YOU!
17:14 HarryHaaren joined #openframeworks
17:18 GuidovanPossum joined #openframeworks
17:33 vade joined #openframeworks
17:38 pizthewiz joined #openframeworks
17:52 jedahan joined #openframeworks
17:56 lukaszw joined #openframeworks
18:31 admsyn joined #openframeworks
18:33 notjosh joined #openframeworks
19:01 lukaszw joined #openframeworks
19:03 marcocanc joined #openframeworks
19:18 jedahan joined #openframeworks
19:39 jedahan joined #openframeworks
19:39 jedahan joined #openframeworks
20:03 jedahan joined #openframeworks
20:03 jedahan joined #openframeworks
20:52 jedahan_ joined #openframeworks
21:43 allartburns joined #openframeworks
22:24 pizthewiz joined #openframeworks
22:28 debu joined #openframeworks
22:38 vade joined #openframeworks
22:57 reqshark_ joined #openframeworks
22:58 vade joined #openframeworks
23:13 allartburns joined #openframeworks
23:14 admsyn joined #openframeworks

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