#jogamp @ irc.freenode.net - 20160108 05:05:15 (UTC)


20160108 05:05:15 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20160107050515.html
20160108 05:05:15 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20160108050515.html
20160108 06:14:27 * netlike (~netlike@anon) has joined #jogamp
20160108 07:47:47 * monsieur_max (~maxime@anon) has joined #jogamp
20160108 08:05:48 * elect (~GBarbieri@anon) has joined #jogamp
20160108 08:09:31 <elect> hi
20160108 08:30:17 <monsieur_max> hi elect
20160108 08:30:29 <elect> bonjour
20160108 08:30:48 <zubzub> aloha
20160108 08:31:12 <monsieur_max> elect : my gf wants us to go visit Italy in march or april, what a strange idea !
20160108 08:31:24 <elect> you are fucked
20160108 08:31:33 <elect> sorry bro
20160108 08:31:50 <elect> where she wanna go?
20160108 08:32:17 <monsieur_max> florenzia ( ? Florence in french )
20160108 08:32:43 <elect> nice
20160108 08:33:04 <monsieur_max> what would you suggest ?
20160108 08:33:19 <elect> it is one of the destinations I'd suggest
20160108 08:33:52 <monsieur_max> fine, prepare your spaguettis !
20160108 08:34:01 <elect> they are getting already cold
20160108 08:38:20 <elect> there small signs invisible to the mass
20160108 08:38:24 <elect> one of these is this one
20160108 08:38:25 <elect> http://www.toplifemagazine.it/1432-la-leggenda-del-volto-scolpito-da-michelangelo-su-palazzo-vecchio/
20160108 08:38:30 <elect> use google translate
20160108 08:42:55 <elect> btw, on christmas we went on a tour called "torino magica"
20160108 08:43:35 <elect> did you know that turin, together with lyon and Prague, is called the triangle of the white magic
20160108 08:43:37 <elect> ?
20160108 08:44:10 <monsieur_max> ( meeting brb )
20160108 08:44:49 <elect> it's ok, I forgive you
20160108 08:59:03 * netlike (~netlike@anon) Quit (Quit: Leaving)
20160108 09:56:13 * xranby1 (~xranby@anon) has joined #jogamp
20160108 11:57:34 * philjord (599cc172@anon) has joined #jogamp
20160108 12:08:18 * philjord (599cc172@anon) Quit (Read error: Connection timed out)
20160108 12:21:36 <rmk0> i'm curious how much work it'd be to expose versions of the Buffer-accepting GL functions that instead take arguments of type long
20160108 12:26:53 <rmk0> it would be nice to not be tied to ByteBuffers for uploading/mapping GPU data
20160108 12:32:36 <zubzub> rmk0: afaik it's a matter of adapting the gluegen config
20160108 12:32:51 <zubzub> rmk0: however, you'd still need to manually allocate memory
20160108 12:32:54 <zubzub> how will you do that?
20160108 12:33:06 <zubzub> create a gluen function for malloc? :)
20160108 12:33:55 <rmk0> zubzub: i wouldn't have that be part of jogl at all
20160108 12:35:50 <rmk0> not sure if that was the implication or not
20160108 12:36:21 <rmk0> the point of exposing a long variant is precisely to leave allocation and all that up to the caller
20160108 12:36:40 <rmk0> i know of several projects that provide that stuff and they all appear to allow access to the raw memory via a long value
20160108 12:52:30 <zubzub> rmk0: well, it does provide better performance
20160108 12:52:54 <zubzub> as you don't need to go from buffer<->pointer between java<->native
20160108 12:54:21 <rmk0> right
20160108 12:54:44 <rmk0> and you can do coarse-grained bounds checks, as opposed to having to check individual inserted values
20160108 13:02:05 <zubzub> or you don't do any checks at all as you are the programmer and you know what you are doing :)
20160108 13:04:58 <monsieur_max> do we ?
20160108 13:06:11 <rmk0> i make mistakes all the time. my static types and run-time checks catch them ♥
20160108 13:08:47 <zubzub> monsieur_max: I do, and so does my OS when the program segfaults ;)
20160108 14:20:39 * Eclesia (~husky@anon) has joined #jogamp
20160108 14:21:01 <Eclesia> hi
20160108 14:27:07 <rmk0> lo
20160108 15:06:12 <zubzub> err
20160108 15:49:01 <elect> anyone here played with binary shaders?
20160108 16:25:44 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20160108 16:30:43 <Eclesia> binary shader ? vulcan ?
20160108 16:31:04 <Eclesia> elect ?
20160108 16:31:25 <elect> no
20160108 16:31:31 <elect> gl4.1
20160108 16:31:38 <elect> anyway I solved
20160108 16:31:58 <elect> stupid mistake of mine as usually ^^
20160108 16:32:12 <elect> https://github.com/elect86/jogl-samples/blob/master/jogl-samples/src/tests/gl_410/Gl_410_program_binary.java
20160108 16:38:31 <elect> wait, that's not yet update
20160108 16:38:57 <elect> ok now
20160108 16:40:39 <Eclesia> that looks very complicated ....
20160108 16:53:42 <elect> it's kind of tricky, yes
20160108 16:55:41 <elect> I was an idiot, I was creating the shader the old-way, and trying to reload it from an empty byte array
20160108 16:56:02 <elect> I used just the length of the array to create the buffer
20160108 16:56:41 <elect> that's why it was working submitting the same buffer but not loading again the byte array
20160108 17:06:19 * Eclesia (~husky@anon) has left #jogamp
20160108 17:09:53 * elect (~GBarbieri@anon) Quit (Ping timeout: 265 seconds)
20160108 17:16:31 * monsieur_max (~maxime@anon) has joined #jogamp
20160108 18:04:36 * guillaum1 (~gl@anon) Quit (Ping timeout: 255 seconds)
20160108 18:04:48 * guillaum1 (~gl@anon) has joined #jogamp
20160108 19:22:29 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20160108 23:05:35 * monsieur_max (~maxime@anon) has joined #jogamp
20160109 00:38:11 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20160109 05:05:15 -jogamp- Continue @ http://jogamp.org/log/irc/jogamp_20160109050515.html