#jogamp @ irc.freenode.net - 20150315 12:13:25 (UTC)


20150315 12:13:31 * jogamp (~jogamp@anon) has joined #jogamp
20150315 12:13:32 * Topic is 'http://jogamp.org | Hacking 3D Graphics, Multimedia and Processing across Devices | logs: http://jogamp.org/log/irc/?C=M;O=D'
20150315 12:13:32 * Set by rmk0 on 20141110 16:19:10
20150315 12:13:32 -NickServ- You are now identified for jogamp.
20150315 13:04:41 * Eclesia (~eclesia@anon) has joined #jogamp
20150315 13:05:10 <Eclesia> hi
20150315 13:05:55 <rmk0> lo
20150315 13:37:01 * hija (~hija@anon) Quit (Ping timeout: 264 seconds)
20150315 14:04:43 * hija (~hija@anon) has joined #jogamp
20150315 16:54:21 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20150315 16:55:37 * monsieur_max (~maxime@anon) has joined #jogamp
20150315 17:01:29 <Eclesia> glsl question, how can I declare a vec4 array with initial values ?
20150315 17:01:44 <Eclesia> he doesnt like : vec4[32] average = vec4[32];
20150315 17:02:27 <rmk0> isn't it brace syntax like C? vec4[4] v = {0.0, 0.0, 0.0, 0.0};
20150315 17:02:51 <rmk0> er
20150315 17:03:03 <rmk0> hehe... obviously not using 0.0 as the individual elements
20150315 17:03:16 <rmk0> isn't it brace syntax like C? vec4[4] v = {vec4(0.0), vec4(0.0) ...
20150315 17:03:33 <rmk0> i need a type checker in my irc client
20150315 17:03:42 <Eclesia> so I have to set allll values one by one
20150315 17:10:30 <rmk0> i was wrong, braces are an extension
20150315 17:10:54 <rmk0> i'm curious now
20150315 17:11:29 <rmk0> ah, "array constructors"
20150315 17:11:29 <Eclesia> the most obvious solution :
20150315 17:11:32 <Eclesia> vec4[32] average = vec4[32](vec4(0),vec4(0),vec4(0),vec4(0),vec4(0),vec4(0),vec4(0),vec4(0),vec4(0),vec4(0),vec4(0),vec4(0),vec4(0),vec4(0),vec4(0),vec4(0),vec4(0),vec4(0),vec4(0),vec4(0),vec4(0),vec4(0),vec4(0),vec4(0),vec4(0),vec4(0),vec4(0),vec4(0),vec4(0),vec4(0),vec4(0),vec4(0));
20150315 17:11:32 <Eclesia> int[32] intensityCount = int[32](0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
20150315 17:11:38 <rmk0> vec4[3] z = vec4[3](vec4(0.0), vec4(0.0), vec4(0.0));
20150315 17:11:47 <rmk0> requires glsl 120 or newer
20150315 17:11:54 <rmk0> yeah
20150315 17:11:55 <rmk0> that!
20150315 17:12:26 <rmk0> no idea what the semantics are if you provide fewer arguments than necessary
20150315 17:12:59 <rmk0> compile time error
20150315 17:13:10 <rmk0> i kind of expect silent failure
20150315 18:08:17 <Eclesia> :) finished porting oil painting to glsl http://unlicense.developpez.com/temporaire/oilpaintgl.png
20150315 18:15:12 <Eclesia> hm ... isn't as cool as I expected after all :/ isn't that nice with moving scenes
20150315 18:25:21 <bruce-> what does it do?
20150315 18:26:36 <Eclesia> just a visual effect
20150315 18:26:59 <Eclesia> like if it was a painting
20150315 18:28:34 <Eclesia> bruce-: http://www.developpez.net/forums/attachments/p165322d1420401213/applications/developpement-2d-3d-jeux/projets/projet-2d-3d-public-domain-bibliotheque-base-connaissances/img_oilpainting_l.png/
20150315 18:28:59 <bruce-> i have to log in
20150315 18:29:27 <Eclesia> sorry 1sec
20150315 18:30:15 <sgothel> a filter, like comic, gauss.blur, ..
20150315 18:30:31 <Eclesia> bruce-: http://unlicense.developpez.com/gallery/IMG_oilpainting_l.png
20150315 18:30:35 <Eclesia> sgothel: hi
20150315 18:30:39 <sgothel> ho
20150315 18:31:23 <bruce-> maybe you should try it on something that is already shaded in an interesting way
20150315 18:32:46 <Eclesia> perhaps, I keep the code ayway, might be of use to someone.
20150315 18:33:55 <sgothel> if you like, you can find other funny filter [comic, ..] in sdlmame's gl driver .. once upon a time
20150315 18:40:18 <Eclesia> "Now thanks to GLSL shaders those wonderful imperfect screens are back on newer displays" haha
20150315 21:27:53 * zzuegg_ (~zzuegg___@anon) Quit (Ping timeout: 240 seconds)
20150315 22:07:12 * monsieur_max (~maxime@anon) Quit (Ping timeout: 256 seconds)
20150315 23:24:07 * zzuegg_ (~zzuegg___@anon) has joined #jogamp
20150315 23:42:14 * Eclesia (~eclesia@anon) Quit (Quit: Leaving.)
20150316 06:54:53 * hija (~hija@anon) Quit (Ping timeout: 246 seconds)
20150316 08:17:58 * monsieur_max (~maxime@anon) has joined #jogamp
20150316 08:55:00 * hija (~hija@anon) has joined #jogamp
20150316 08:59:30 * hija (~hija@anon) Quit (Client Quit)
20150316 09:21:01 * jvanek (jvanek@anon) has joined #jogamp
20150316 09:55:16 * hija (~hija@anon) has joined #jogamp
20150316 10:10:07 * zzuegg__ (~zzuegg___@anon) has joined #jogamp
20150316 10:12:31 * zzuegg_ (~zzuegg___@anon) Quit (Ping timeout: 250 seconds)
20150316 11:29:42 * hija (~hija@anon) Quit (Quit: hija)
20150316 12:11:16 * zzuegg_ (~zzuegg___@anon) has joined #jogamp
20150316 12:13:48 * zzuegg__ (~zzuegg___@anon) Quit (Ping timeout: 256 seconds)
20150316 12:20:20 * hija (~hija@anon) has joined #jogamp
20150316 15:20:23 * Eclesia (~eclesia@anon) has joined #jogamp
20150316 15:20:44 <Eclesia> hi
20150316 15:22:31 <rmk0> lo
20150316 15:43:39 * jvanek (jvanek@anon) Quit (Quit: Leaving)
20150316 16:49:26 * Eclesia (~eclesia@anon) Quit (Ping timeout: 272 seconds)
20150316 17:04:02 * Eclesia (~eclesia@anon) has joined #jogamp
20150316 17:07:08 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20150316 18:21:21 * monsieur_max (~maxime@anon) has joined #jogamp
20150316 19:59:14 <Eclesia> peaceful day ...
20150316 21:31:19 * hija (~hija@anon) Quit (Quit: hija)
20150316 22:46:23 * monsieur_max (~maxime@anon) Quit (Ping timeout: 240 seconds)
20150316 22:48:24 * hija (~hija@anon) has joined #jogamp
20150317 00:08:40 * Eclesia (~eclesia@anon) Quit (Quit: Leaving.)
20150317 05:05:26 -jogamp- Continue @ http://jogamp.org/log/irc/jogamp_20150317050526.html