Perl 6 - the future is here, just unevenly distributed

IRC log for #openframeworks, 2014-03-31

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

All times shown according to UTC.

Time Nick Message
00:34 dantheman joined #openframeworks
00:57 admsyn joined #openframeworks
01:25 ilbot3 joined #openframeworks
01:25 Topic for #openframeworks is now Welcome to http://openframeworks.cc/ | logs at http://irclog.perlgeek.de/openframeworks/ 
01:39 vade joined #openframeworks
03:04 admsyn joined #openframeworks
03:16 vade joined #openframeworks
06:06 dantheman joined #openframeworks
06:28 admsyn joined #openframeworks
06:30 LCID_Fire joined #openframeworks
06:33 ncls joined #openframeworks
07:53 nylki_ joined #openframeworks
08:00 ofarturo joined #openframeworks
08:21 nylki_ joined #openframeworks
08:48 admsyn joined #openframeworks
09:02 ofarturo joined #openframeworks
09:04 ofarturo joined #openframeworks
09:29 admsyn joined #openframeworks
10:02 nylki_ joined #openframeworks
10:15 admsyn joined #openframeworks
11:59 DrCode joined #openframeworks
12:01 Joel_re joined #openframeworks
12:02 nylki_ joined #openframeworks
12:12 vade joined #openframeworks
12:36 ThatCantBe joined #openframeworks
12:53 jacres joined #openframeworks
13:38 jacres joined #openframeworks
13:53 jonbro joined #openframeworks
13:54 jonbro joined #openframeworks
14:24 nylki_ joined #openframeworks
14:30 dantheman joined #openframeworks
14:34 neue joined #openframeworks
16:38 Pando hello everyone, I encountered something that may be strange with shaders
16:38 Pando I have an app that uses normal of lighting, and then I tried to add shaders to it
16:39 Pando so just like in the of shaders tutorial I put ofSetCurrentRenderer(ofGLPr​ogrammableRenderer::TYPE); at the beginning of my main()
16:39 Pando but it seems to completely break the of lighting system. is it ok ?
16:39 Pando are there some workarounds
16:53 vade joined #openframeworks
16:59 ofarturo Pando: there's no lights in opengl 3
17:00 ofarturo you need to do it with shaders
17:00 Pando oh, ok
17:00 Pando I wasn't aware of that
17:02 Pando so working with a bunch of ofLights becomes kind of useless when dealing with shaders, right ?
17:19 ofarturo yes
17:19 ofarturo we need to do something about that, like a version of ofLight that uses shaders internally to calculate the lighting
17:19 ofarturo but by now you need to do it manually
17:22 ncls joined #openframeworks
17:22 Pando ok... actually I wanted to be able to use for example a blinn-phong shader on an object and "normal" ofLight on another to see the difference
17:24 Pando but everything's going to be blinn-phong'd then, doesn't matter. thanks
17:41 pizthewiz joined #openframeworks
17:48 keeran any tips on finding memory leaks in of apps? :) being told my app crashes every ~1.5hrs on deploy machine, can't make it happen locally "S
17:50 jvcleave keeran - Instruments if you are using a mac
17:58 jedahan joined #openframeworks
18:00 keeran cool thanks, certainly helps visualizing when memory is allocated etc
18:18 keeran so i had a ofqtkitplayer continually being fed new movies and not explcitly being close()d after each load/play
18:19 keeran not sure it was the cause, but cant have helped
18:20 groolot joined #openframeworks
18:21 nylki joined #openframeworks
18:24 Pando ofarturo: by the way, is there a way to programmatically roll back to the "normal" renderer inside the app in order to make the classic light system work again ?
18:24 Pando i.e. disabling the shaders
18:27 austinslominski joined #openframeworks
19:14 ofarturo Pando: no, the window at the beginning creates the opengl context with 3.0 if you use the programmable renderer, you would need to create a separate context manually or something like that and not even sure it would work across versions
19:28 Pando ofarturo: ok, going to stick with that. do you have any pointers on how to create a basic lighting system using only shaders ?
19:29 Pando some way of obtaining the same lights effects than the default ones
19:29 Pando using only shaders
19:29 AceSlowman joined #openframeworks
19:31 pizthewiz keeran: Could you use the AV Foundation video player instead of QTKit? https://github.com/kronick/ofxAVFVideoPlayer
19:32 keeran dont really want to replace such an important component at this stage of the project :S
19:32 keeran maybe keep it in my pocket if this mem fix isnt actually a fix :)
19:42 keeran i think the problem is with ofxVideoRecorder rather than the playback anyways
20:10 nylki joined #openframeworks
20:31 austinslominski joined #openframeworks
20:36 jedahan joined #openframeworks
20:40 jvcleave joined #openframeworks
20:40 jvcleave joined #openframeworks
21:18 kritzikratzi joined #openframeworks
22:09 groolot is it possible to add some pre-make command to the Makefile , and how ?
22:09 groolot is it possible to add some pre-make command to the project Makefile, and how ?
22:18 pizthewiz joined #openframeworks
22:37 jedahan joined #openframeworks
22:46 Hurtzy joined #openframeworks
23:43 veryphatic joined #openframeworks
23:50 vade joined #openframeworks

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