Perl 6 - the future is here, just unevenly distributed

IRC log for #openframeworks, 2014-10-29

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

All times shown according to UTC.

Time Nick Message
01:30 discipline joined #openframeworks
01:33 discipline Hi, I am having trouble finding an example to use ofShader passing color attributes as vertex attributes, I would like to specify every vertex color in C++
01:35 discipline I am using setAttribute3fv passing an std::vector<float> colors with shader.setAttribute(“color”, &color[0]); but it doesn’t seem to work
02:03 discipline oh, I think it found it in the forums :)
02:03 discipline http://forum.openframeworks.cc/t/ofxshader-set-c​olor-in-shader-via-attribute-float-array/9963/7
02:22 discipline except that my compiler doesn’t like the solution: vbo.setAttributeData(colorsAttributeId, &colors[0],3,colors.size(),GL_​STATIC_DRAW,sizeof(ofVec3f));   ————>  Cannot initialize a parameter of type 'const float *' with an rvalue of type 'ofVec3f *'
02:22 discipline while colors is a std::vector<ofVec3f>
02:23 neue joined #openframeworks
03:13 neue__ joined #openframeworks
03:39 vade joined #openframeworks
07:47 neue joined #openframeworks
08:24 vade_ joined #openframeworks
08:25 Eibx joined #openframeworks
09:46 sebllll joined #openframeworks
10:09 DrCode joined #openframeworks
11:05 neue joined #openframeworks
11:21 mhashmi joined #openframeworks
11:40 Eibx joined #openframeworks
12:07 fkgas joined #openframeworks
12:08 fkgas Any anyone suggest some channels on creative coding?
12:43 discipline joined #openframeworks
12:50 Beliq joined #openframeworks
13:26 reqshark_ joined #openframeworks
13:54 discipline joined #openframeworks
13:57 vade joined #openframeworks
14:39 vade joined #openframeworks
14:40 mhashmi joined #openframeworks
14:49 w4ffles joined #openframeworks
15:20 mhashmi joined #openframeworks
16:16 neue joined #openframeworks
16:28 vade joined #openframeworks
16:36 w4ffles joined #openframeworks
16:39 admsyn joined #openframeworks
17:01 MyMind joined #openframeworks
17:03 mhashmi joined #openframeworks
17:04 mhashmi joined #openframeworks
17:10 MyMind joined #openframeworks
17:22 pizthewiz joined #openframeworks
17:36 w4ffles joined #openframeworks
17:46 micr0 joined #openframeworks
17:48 Bigpet_ joined #openframeworks
18:13 _pizthewiz joined #openframeworks
18:40 mhashmi joined #openframeworks
19:01 w4ffles_ joined #openframeworks
19:19 neue joined #openframeworks
19:47 w4ffles_ joined #openframeworks
20:36 neue joined #openframeworks
20:56 vade joined #openframeworks
21:05 pizthewiz joined #openframeworks
21:37 neue joined #openframeworks
22:44 neue joined #openframeworks
22:57 w4ffles joined #openframeworks
23:09 w4ffles joined #openframeworks

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