#jogamp @ irc.freenode.net - 20140609 05:05:24 (UTC)
20140609 05:05:24 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20140608050524.html
20140609 05:05:24 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20140609050524.html
20140609 05:45:59 * guardianp (~gp@anon) has left #jogamp
20140609 06:11:01 * monsieur_max (~maxime@anon) has joined #jogamp
20140609 07:49:12 * zzuegg (~zzuegg@anon) Quit (Read error: Connection reset by peer)
20140609 07:50:06 * zzuegg (~zzuegg@anon) has joined #jogamp
20140609 08:04:39 * zzuegg (~zzuegg@anon) Quit (Read error: Connection reset by peer)
20140609 08:06:29 * zzuegg (~zzuegg@anon) has joined #jogamp
20140609 08:23:43 * xranby (~xranby@anon) has joined #jogamp
20140609 08:48:34 * guardianp (~gp@anon) has joined #jogamp
20140609 09:08:57 * bbbruce_ (~bx@anon) has joined #jogamp
20140609 09:14:38 * bbbruce (~bx@anon) Quit (Read error: Connection reset by peer)
20140609 09:14:39 * bbbruce_ is now known as bbbruce
20140609 10:18:03 * [Mike] (~Mike]@anon) Quit (Read error: Connection reset by peer)
20140609 10:21:27 * guardianp (~gp@anon) Quit (Ping timeout: 245 seconds)
20140609 15:55:11 * birdspider (~birdspide@anon) has joined #jogamp
20140609 16:00:12 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20140609 16:01:21 * birdspider (~birdspide@anon) Quit (Quit: Leaving)
20140609 16:34:01 * monsieur_max (~maxime@anon) has joined #jogamp
20140609 16:52:04 * monsieur_max (~maxime@anon) Quit (Ping timeout: 265 seconds)
20140609 19:18:34 <zubzub> what's the difference between:
20140609 19:18:51 <zubzub> GLAutoDrawable.getContext().getGL().getGL2ES2();
20140609 19:18:53 <zubzub> and
20140609 19:19:20 <zubzub> GLAutoDrawable.getGL().getGL2ES2();
20140609 19:19:24 <zubzub> ?
20140609 19:20:09 <zubzub> I'm reading code that does the one witout context first in the init phase
20140609 19:20:15 <zubzub> while later on using the context one
20140609 19:20:24 <zubzub> I'm wondering why that is
20140609 19:40:01 * Eclesia (~eclesia@anon) has joined #jogamp
20140609 19:40:04 * monsieur_max (~maxime@anon) has joined #jogamp
20140609 19:41:04 <Eclesia> hi
20140609 19:42:07 <Eclesia> I have a strange error with 'int' layout types
20140609 19:42:10 <Eclesia> OpenGL requires 'in/out' with 'flat'
20140609 19:43:26 <Eclesia> I have added the flat qualifier in my shader but I still have the message
20140609 19:43:31 <Eclesia> shader : http://pastebin.com/86Ypz7JA
20140609 19:43:34 <Eclesia> any idea ?
20140609 19:49:03 <Eclesia> ok found, looks like he doesn't like the indirection level
20140609 20:06:41 <Eclesia> sgothel: hi, a quick question, which is the most advanced UI lib using JOGL that you know ?
20140609 20:34:22 <sgothel> most advanced UI lib ? hope GraphUI will be ready/complete one day :)
20140609 20:47:59 <Eclesia> sgothel: thanks, so that will be my next target :D
20140609 20:50:44 <Eclesia> ho, that's your project ?
20140609 20:51:54 <sgothel> yup, besides usual stuff .. should add something nice/usable for siggraph
20140609 20:52:49 <Eclesia> I can't find any website, is it only inside jogl ?
20140609 20:52:53 <sgothel> we need it as well for a custom[er] app ..
20140609 20:53:11 <sgothel> currently inside jogl's unit tests .. where graph basics are in jogl
20140609 20:53:30 <sgothel> jogl applet test site has 2 demos ..
20140609 20:54:16 <Eclesia> http://unlicense.developpez.com/gallery/2D_explorer_l.png ^^
20140609 20:54:18 <sgothel> buttons [text, movie, texture, GLMediaPlayer and GLEventListener], plain text .. so far
20140609 20:55:06 <sgothel> ah .. right, would need layout as well
20140609 20:55:26 <sgothel> thought SVG importer first .. then adding a layouter
20140609 20:55:42 <Eclesia> lol we are making nearly the same things
20140609 20:56:13 <sgothel> well, you are welcome to join GraphUI ..
20140609 20:56:26 <sgothel> which basic rendering is based on graph .. curved lines on GPU
20140609 20:56:46 <Eclesia> your font rendering is impressive
20140609 20:57:02 <sgothel> so I try to make the latter basic 'nodes' more versatile for simple usage .. then the proper UI API
20140609 20:57:27 <Eclesia> I've been fighting with a proper triangulation and ttf parsing, took me a long time
20140609 20:58:18 <sgothel> font rendering uses graph, a method free found by Rami .. used patented stuff earlier in other projects but he solved that one
20140609 20:58:37 <sgothel> then adding typecast .. and .. so on and so forth ..
20140609 20:59:14 <sgothel> starting w/ > 200dpi .. AA might not be needed .. but it's more like 300dpi I realized, so retina is not enough :)
20140609 21:01:26 <Eclesia> you mean you render all the letters in a texture first ? not triangule+render on the fly ?
20140609 21:01:34 <sgothel> nope
20140609 21:01:45 <sgothel> we only render real curves w/ graph
20140609 21:02:25 <sgothel> we have OutlineShape holding the orig 2-grade curves .. which may need tesselation for mid-points and overlapping etc
20140609 21:02:32 <Eclesia> something like this : http://http.developer.nvidia.com/GPUGems3/gpugems3_ch25.html ?
20140609 21:02:39 <sgothel> then we add some graph-algo attributes
20140609 21:02:52 <sgothel> we cache those for each glyph .. or otherwise ..
20140609 21:03:11 <sgothel> then we have GLRegion .. which holds the curves data as GL representation .. (VBO .. etc)
20140609 21:03:36 <sgothel> http://jogamp.org/doc/gpunurbs2011/p70-santina.pdf
20140609 21:03:42 <sgothel> http://jogamp.org/doc/gpunurbs2011/graphicon2011-slides.pdf
20140609 21:04:15 <sgothel> it's like Loop/Blinn .. (mentioned above) .. I talked w/ Rami about that project .. and since he is a great math dude .. he found this patent free method
20140609 21:04:52 <sgothel> http://jogamp.org/deployment/archive/master/gluegen_789-joal_534-jogl_1253-jocl_961-signed/jogl-applet-runner-newt-GraphUISceneDemo02-napplet.html
20140609 21:05:36 <sgothel> still buggy stuff .. press Next Text .. etc .. the whole current GraphUI integration .. master branch has some issues fixed
20140609 21:05:51 <sgothel> currently fixing OSX issues w/ that code
20140609 21:06:07 <sgothel> point is - resolution indep. rendering of curves!
20140609 21:06:24 <Eclesia> I agree that's the solution ^^
20140609 21:07:11 <sgothel> AA uses FBO .. 'view based AA' so to say .. w/ brute force AA (avrg. pixel color) .. others proofed to be worse
20140609 21:07:42 <sgothel> so text itself .. can only be rendered w/ accurate scale, i.e. no 'grid fitting' possible here
20140609 21:07:50 <sgothel> (similar what apple uses)
20140609 21:09:04 <Eclesia> *sigh* so much left to do
20140609 21:09:13 <sgothel> when I think about layout containers .. well, I guess the topmost shall have a real size (pixel and millimeters) ..
20140609 21:09:23 <sgothel> where the child nodes shall cover a percentage
20140609 21:09:40 <sgothel> maybe adding some 'true scale' objects if desired
20140609 21:10:15 <sgothel> if that all works well (performance and API wise) .. we can think of a nice API for programmers :)
20140609 21:10:21 <sgothel> and all those UI elements ..
20140609 21:10:55 <sgothel> don't hesitate .. join GraphUI !
20140609 21:11:01 <Eclesia> if you need layouts, just go pick the one I have to start with. border,grid,block and a neat one FormLayout.
20140609 21:11:13 <sgothel> great, thx!
20140609 21:11:31 <Eclesia> sgothel: you already know I can't join, public domain.
20140609 21:12:12 <Eclesia> moving on slowly but surely ^^. reached 140.000 code lines recently
20140609 21:21:30 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20140609 21:30:03 <Eclesia> good night ++
20140609 21:30:19 * Eclesia (~eclesia@anon) has left #jogamp
20140609 21:32:07 * [Mike] (~Mike]@anon) has joined #jogamp
20140610 05:05:24 -jogamp- Continue @ http://jogamp.org/log/irc/jogamp_20140610050524.html