#jogamp @ irc.freenode.net - 20160807 05:05:33 (UTC)
20160807 05:05:33 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20160806050533.html
20160807 05:05:33 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20160807050533.html
20160807 08:34:38 * monsieur_max (~maxime@anon) has joined #jogamp
20160807 09:13:50 * bigpet (uid25664@anon) has joined #jogamp
20160807 14:35:21 * Eclesia (~eclesia@anon) has joined #jogamp
20160807 14:36:13 <Eclesia> pom ?
20160807 14:37:58 <rmk0> *splat*
20160807 14:41:26 <Eclesia> what's up ?
20160807 14:41:36 <rmk0> thinking about logging
20160807 14:41:39 <rmk0> you?
20160807 14:42:00 <Eclesia> fixing font rendering and speed
20160807 14:43:01 * juank_prada (~juank_pra@anon) has joined #jogamp
20160807 14:43:58 <Eclesia> rmk0: about my last question, you know any trick ?
20160807 14:44:07 * rmk0 eyes log
20160807 14:44:24 <Eclesia> somekind of command queue cached...
20160807 14:44:28 <rmk0> oh, clearing just the stencil buffer?
20160807 14:44:39 <Eclesia> in this case yes
20160807 14:45:01 <rmk0> i've heard it is expensive
20160807 14:45:28 <rmk0> i'm curious what would happen if you instead rendered a fullscreen quad that had the same effect
20160807 14:45:47 <rmk0> turn off color and depth writes, and unconditionally write a 0x0 value to the stencil buffer over the whole screen
20160807 14:45:54 <Eclesia> it is, 2nd most expensive thing for widget rendering
20160807 14:46:52 <Eclesia> hmm might work, I will try
20160807 14:47:20 <rmk0> it wouldn't surprise me if it turned out that the stencil clearing op isn't actually expensive, just that opengl drivers do stupid things when asked to schedule them
20160807 14:47:35 * juank_prada (~juank_pra@anon) Quit (Ping timeout: 250 seconds)
20160807 14:51:20 <Eclesia> another question : I often have to draw a quad, for that I use 6 coordinates stored in the vertex shader (to avoid a vbo) and tweak the mvp transform to achieve what I want, then I call gl.glDrawArrays(GL.GL_TRIANGLES,0,6). you know a better way ?
20160807 14:52:18 <rmk0> think that's fine
20160807 14:52:34 <rmk0> only other thing to do is make fewer draw calls
20160807 14:52:34 * Eclesia just noticed he could use a triangle fan instead
20160807 14:53:41 <Eclesia> widgets use a lot of draw calls, I am trying to reduce them but there is a limit
20160807 14:56:30 <rmk0> urhur, sometimes it's just not possible
20160807 15:40:49 <Eclesia> :)
20160807 15:40:57 <Eclesia> rmk0: what do you think : http://unlicense.developpez.com/temporaire/font2.png
20160807 15:41:30 <Eclesia> of the font quality
20160807 15:41:54 * rmk0 zooms in
20160807 15:42:45 <rmk0> something's... odd
20160807 15:42:50 <rmk0> but i don't know if it's the font or the rendering
20160807 15:43:08 <rmk0> what font is this?
20160807 15:43:13 <Eclesia> mona
20160807 15:43:31 <Eclesia> one of the only 2 fonts in the public domain i found :D
20160807 15:44:20 <Eclesia> let me try with the other one
20160807 15:48:05 <rmk0> http://ataxia.io7m.com/2016/08/07/lines.png
20160807 15:48:27 <rmk0> notice how the lowercase v is taller than the e and c
20160807 15:48:34 <rmk0> and there's... something hanging off the bottom of that lowercase e
20160807 15:49:37 <rmk0> it may just be the font
20160807 15:50:19 <Eclesia> http://unlicense.developpez.com/temporaire/font3.png
20160807 15:50:39 <Eclesia> this is tuffy font
20160807 15:51:12 <Eclesia> I think I see what is missing, font fitting
20160807 15:51:13 <rmk0> definitely better
20160807 15:52:55 <Eclesia> https://en.wikipedia.org/wiki/Font_hinting
20160807 15:54:15 <Eclesia> that won't be easy with rotation and stuff like that :/
20160807 16:04:02 <Eclesia> it will be for another time.
20160807 18:44:42 * juank_prada (~juank_pra@anon) has joined #jogamp
20160807 18:48:48 * juank_prada (~juank_pra@anon) Quit (Ping timeout: 244 seconds)
20160807 19:15:00 <Eclesia> Taiaut !
20160807 19:16:13 <Eclesia> bye ++
20160807 19:16:16 * Eclesia (~eclesia@anon) Quit (Quit: Leaving.)
20160807 20:46:02 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20160808 05:05:34 -jogamp- Continue @ http://jogamp.org/log/irc/jogamp_20160808050534.html