Perl 6 - the future is here, just unevenly distributed

IRC log for #openframeworks, 2014-01-29

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

All times shown according to UTC.

Time Nick Message
23:14 nylki_ joined #openframeworks
23:26 nylki joined #openframeworks
00:25 admsyn joined #openframeworks
00:39 robot joined #openframeworks
00:55 indefinit joined #openframeworks
01:29 robot joined #openframeworks
02:22 robot joined #openframeworks
03:48 waffles joined #openframeworks
04:44 booltox joined #openframeworks
05:15 _JP_ joined #openframeworks
06:15 pizthewiz joined #openframeworks
06:38 entarro joined #openframeworks
07:01 _JP_ joined #openframeworks
07:42 ncls joined #openframeworks
08:17 entarro joined #openframeworks
08:41 ofarturo joined #openframeworks
08:42 Razorien joined #openframeworks
08:57 entarro joined #openframeworks
09:44 okjake joined #openframeworks
09:52 ncls _JP_:
09:52 ncls yes
10:02 robot joined #openframeworks
10:02 ncls _JP_: argh, sorry but I can't help you ... I've never used opengl, etc
10:03 ncls maybe rogerm could help you
10:03 ncls but he's not online
10:04 neue joined #openframeworks
10:10 ncls let your session opened, I'll "ping" you if I see him
10:36 nylki joined #openframeworks
10:48 okjake joined #openframeworks
11:03 ofarturo _JP_ use an ofVbo and add custom attributes to pass attributes to the shader other than vertices, color, tex coordinates...
11:13 ofarturo yes, in the programmable renderer the only way to draw is through vbo's
11:13 ofarturo even if you it's hidden inside OF every function uses a vbo to draw at some point
11:13 ofarturo there's no more vertex arrays...
11:14 ofarturo you can use an ofVboMesh to make things easier
11:15 ofarturo every vertex is a particle use OF_PRIMITIVE_TYPE_POINTS
11:15 ofarturo then access it's vbo usieng mesh.getVbo().someVboCall()
11:15 ofarturo to add other custom attributes
11:15 ofarturo using setAttributeData
11:16 okjake joined #openframeworks
11:16 ofarturo so mesh.getVbo().setAttributeData(...)
11:16 ofarturo that's new in 0.8.0 i think there's no examples
11:16 ofarturo yet
11:16 ofarturo :)
11:17 ofarturo the parameters are:
11:17 ofarturo int location, const float * vert0x, int numCoords, int total, int usage
11:17 ofarturo location is the location of the attribute in the shader
11:17 ofarturo vert0x is a pointer to an array with the data
11:17 ofarturo yes
11:18 ofarturo numCoords is the number of coordinates per element so if you are passing point size for example with a float, 1 if you are passing a vec2f 2...
11:18 ofarturo and total is the total size of the array the number of elements that should be the same as the number of vertices in you vbomesh
11:19 ofarturo you shouldn't need to pass the stride
11:19 ofarturo but it's usually sizeof(float)*numCoords
11:20 ofarturo if you want to pass the point size for your particles for example, you'll create a vector with the same size as the vertices in the vboMEsh then call this with
11:21 ofarturo mesh.getVbo().setAttributeData(shader.getAttributeLocation("pointSize"), &pointSizes[0], pointSizes.size(), GL_DRAW_STREAM, sizeof(float))
11:21 ofarturo the usage gives a hint of how that data is going to change
11:21 ofarturo GL_DRAW_STATIC means that it's almost not going to change
11:22 ofarturo GL_DRAW_DYNAMIC that it's going to change sometimes
11:22 ofarturo GL_DRAW_STREAM that it's going to change every frame
11:23 ofarturo np
11:27 ofarturo yes in the vertex shader you'll get the value that corresponds to each vertex
11:27 ofarturo you should have the same number of attributes than vertices and in the same order of course
11:45 okjake joined #openframeworks
12:01 robot joined #openframeworks
12:13 okjake joined #openframeworks
12:42 neue_ joined #openframeworks
13:33 _JP_ joined #openframeworks
13:43 okjake joined #openframeworks
13:50 robot joined #openframeworks
13:58 okjake joined #openframeworks
14:05 lukaszw joined #openframeworks
14:21 okjake_ joined #openframeworks
14:36 robot joined #openframeworks
14:44 okjake joined #openframeworks
15:14 robo joined #openframeworks
15:15 Biggy joined #openframeworks
15:16 okjake joined #openframeworks
15:45 okjake joined #openframeworks
16:17 nicedice joined #openframeworks
16:28 _JP_ joined #openframeworks
16:44 okjake joined #openframeworks
17:14 okjake joined #openframeworks
17:25 jedahan joined #openframeworks
17:28 admsyn joined #openframeworks
17:57 admsyn I'm streaming some sketching if anyone's into that http://new.livestream.com/admsyn/of-sketching
17:58 admsyn could use some confirmation that the sound works and the text is readable
18:09 pizthewiz joined #openframeworks
18:16 oneironaut joined #openframeworks
18:26 ofzach joined #openframeworks
18:26 ofzach go adam!
18:26 admsyn hi zach :)
18:27 ofzach you're working on your audio vis project?
18:27 admsyn yeah, I want to do a few livestreams where I actually tackle a problem for the first time
18:27 ofzach nice
18:27 admsyn but I figured for the first one I should do something I've kinda done before, to shake out the nerves and such :)
18:28 ofzach do you have a mic you should talk through the problem
18:28 admsyn yeah I was debating it but this one's so reliant on hoping into and out of sound
18:28 ofzach then you don't have to type into IRC
18:28 ofzach ah true...
18:28 admsyn I think the livestream app does a ducking thing actually
18:28 admsyn haven't looked into it
18:30 ofzach if you are doing offline audio things, I highly recommend VAMP and essentia
18:30 admsyn yeah I was just looking into VAMP because of those things you posted a couple days ago :)
18:30 ofzach (to process to text files... )
18:30 admsyn looks great
18:30 admsyn I bookmarked that one library that seems to do everything ever
18:30 ofzach yeah the melody extraction is **really** good
18:31 ofzach I've been emailing with this guy also who does melody extraction: http://www.benoit-fuentes.fr/
18:31 admsyn is the text readable on the stream?
18:32 ofzach here's another big library: http://opensmile.sourceforge.net/
18:32 admsyn was just thinking of bumping it up a bit
18:32 ofzach http://www.openaudio.eu/
18:33 ofzach favorite paper title from that page , "Mister D.J., Cheer Me Up!': Musical and Textual Features for Automatic Mood Classification"
18:35 admsyn :D
18:35 nylki joined #openframeworks
18:40 ofzach left #openframeworks
18:44 ofzach joined #openframeworks
18:50 admsyn silly livestream app
18:50 admsyn not the greatest
18:53 admsyn does what I'm doing even … look like anything on the stream?
18:53 admsyn I think I might've picked something that's alittle too high detail :/
20:16 okjake joined #openframeworks
20:27 GuidovanPossum joined #openframeworks
21:34 lukaszw joined #openframeworks
21:49 NewChannelsInfo joined #openframeworks
21:49 NewChannelsInfo left #openframeworks
21:53 GuidovanPossum joined #openframeworks
22:46 pizthewiz joined #openframeworks
22:58 ofarturo joined #openframeworks
22:58 oneironaut checkForImage("M:\\Media\\Pillar\\common\\", "pulse", "jpg");
22:58 oneironaut checkForImage("M:\\Media\\Pillar\\common\\", "dna", "jpg");
22:58 oneironaut checkForImage("M:\\Media\\Pillar\\common\\", "nose", "jpg");
22:58 oneironaut checkForImage("M:\\Media\\Pillar\\common\\", "woman", "jpg");
22:58 oneironaut doh.
22:59 oneironaut sry :)
22:59 oneironaut at least i picked the right room to accidentally paste ofx code to

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