#jogamp @ irc.freenode.net - 20130618 05:05:17 (UTC)
20130618 05:05:17 -CatOut- Previous @ http://jogamp.org/log/irc/jogamp_20130617050517.html
20130618 05:05:17 -CatOut- This channel is logged @ http://jogamp.org/log/irc/jogamp_20130618050517.html
20130618 06:45:07 * monsieur_max (~maxime@anon) has joined #jogamp
20130618 08:11:56 * [Mike] (~Mike]@anon) Quit ()
20130618 08:12:59 * ebrayet (~Adium@anon) has joined #jogamp
20130618 10:44:36 * ebrayet (~Adium@anon) Quit (Quit: Leaving.)
20130618 11:00:27 * ebrayet (~Adium@anon) has joined #jogamp
20130618 12:46:01 * xranby (~xranby@anon) has left #jogamp
20130618 14:17:52 * ebrayet (~Adium@anon) Quit (Quit: Leaving.)
20130618 14:26:42 * ebrayet (~Adium@anon) has joined #jogamp
20130618 15:21:10 <monsieur_max> Hi everyone :) anyone here have ever tested the libgdx framework ?
20130618 15:35:39 * xranby (~xranby@anon) has joined #jogamp
20130618 15:35:48 <xranby> <monsieur_max> Hi everyone :) anyone here have ever tested the libgdx framework ? <--- yes
20130618 15:36:02 <monsieur_max> any thought about it ?
20130618 15:37:07 <xranby> monsieur_max: its a generic framework for writing opengl es 1 and 2 games. most examples are focused on es1 for compatibility with the old generation android tablets
20130618 15:37:38 <xranby> you can use it in combination with jogl using the jogl backend
20130618 15:38:19 <xranby> right now the jogl backend is in review limbo for inclusion into the main libgdx repository
20130618 15:38:30 <monsieur_max> ok, any idea about the performance one should expect from it ?
20130618 15:39:47 <xranby> ok performance for most games
20130618 15:41:42 <monsieur_max> ok :) thanks xranby
20130618 15:51:49 <xranby> monsieur_max: one of the more powerful API's in libgdx is the SpriteBatch API http://code.google.com/p/libgdx/wiki/SpriteBatch its frequently used in the libgdx examples and gives good performance for spraying 2d sprites all around the scene
20130618 15:54:36 <monsieur_max> yeah i saw that, i coded a similar thing for my game, easier cause i have more control, but well ... sometimes i'm tired to reinvent the wheel
20130618 15:55:56 <sgothel> Hi Xerxes - great that you are back! Missed you!
20130618 15:56:13 <xranby> sgothel: hi, yes i have been pianfully sick for several days
20130618 15:56:23 <monsieur_max> i've been thinking about switching to a framework, rather than coding everything by myslef ... not sure if that's worth the effort, that's why i asked about libgdx :)
20130618 15:56:41 <xranby> hard to focus with the head full of snot
20130618 15:56:44 <sgothel> .. I thought so .. even better you hopefully feel better now.
20130618 15:56:49 <sgothel> hehe
20130618 15:59:38 <xranby> sgothel: when you looked at the a/v mediaplayer stuff.. have you had any idea how to cache the video frames?
20130618 16:00:24 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20130618 16:00:29 <xranby> ideally a circular buffer with a handfull textures bound to the gpu...? right now it binds the current texture to the GPU and that sis
20130618 16:00:30 <xranby> it
20130618 16:01:01 <sgothel> yes
20130618 16:01:16 <sgothel> i.e. cache them (ringbuffer) on target
20130618 16:01:39 <sgothel> i.e. shared glctx .. other thread puts them on target
20130618 16:02:00 <sgothel> good that you asked .. I would like to see your many a/v branches merged ..
20130618 16:02:16 <sgothel> - make javax.sound pluggable if at all (default: don't)
20130618 16:02:42 <sgothel> - use joal as default (as discussed .. for now .. depend on it if joal.jar is avail)
20130618 16:03:01 <sgothel> i.e. I don't know what is what .. your a/v branches :)
20130618 16:03:36 <xranby> ok can we take it in small steps,, 1st make the jogl project depend on joal in a way that work for the jenkins builders
20130618 16:03:56 <sgothel> done :)
20130618 16:04:07 <xranby> really? cool
20130618 16:04:13 <sgothel> oh .. need to add the build location .. right
20130618 16:04:23 <sgothel> like build.gluegen .. build.joal
20130618 16:04:44 <sgothel> but the order of build is already that way
20130618 16:05:17 <xranby> lets see if i can use joal libs inside the jogl src or if i will hit a class not found compile error
20130618 16:05:41 <sgothel> jogl/build
20130618 16:05:44 <sgothel> joal/build
20130618 16:05:51 <sgothel> I will beautify it later :)
20130618 16:05:59 <sgothel> sure you must build joal ..
20130618 16:18:56 * ebrayet (~Adium@anon) Quit (Quit: Leaving.)
20130618 16:21:12 <xranby> sgothel: hmm nope.. some more ant hackery is needed http://fpaste.org/19413/57244613/
20130618 16:21:53 <xranby> sgothel: i basically tried to add this http://fpaste.org/19414/57249413/raw/
20130618 16:24:02 <sgothel> http://jogamp.org/deployment/archive/master/gluegen_682-joal_446-jogl_1009-jocl_809-signed
20130618 16:24:19 <sgothel> maven 2.0.2-rc-20130618 ...
20130618 16:24:44 <xranby> how do this help me to compile jogl from source?
20130618 16:24:55 <sgothel> sorry .. parallel world :)
20130618 16:25:03 <sgothel> now checking ..
20130618 16:25:43 <sgothel> ofc .. you need to add joal.jar to the classpath .. well :)
20130618 16:26:01 <xranby> of course.. but here is the ant hell :D
20130618 16:32:32 <sgothel> doing it now .. one sec
20130618 16:32:39 <xranby> lets see can i somehow change<target name="java.compile.secondpass.javase">
20130618 16:32:40 <xranby> ... <classpath refid="nativewindow_gluegen.classpath"/> into <classpath refid="nativewindow_gluegen_joal.classpath"/> ?
20130618 16:32:47 <sgothel> stay tuned ..
20130618 16:47:25 <xranby> http://fpaste.org/19424/13715740/raw/ .. now without line truncation
20130618 16:50:32 <sgothel> stay tuned :)
20130618 16:51:24 <sgothel> I guess it's faster if I solve this .. then .. otherwise :)
20130618 16:53:18 * monsieur_max (~maxime@anon) has joined #jogamp
20130618 17:03:49 <xranby> sgothel: many thanks,
20130618 17:04:59 <xranby> i will relocate to my humble home and continue hacking from there
20130618 17:13:57 <sgothel> testing optional joal .. stuff now
20130618 17:14:15 <sgothel> I use the package jogamp.opengl.openal (like jogamp.opengl.android)
20130618 17:14:25 <sgothel> so you can drop joal dependencies there ..
20130618 17:14:43 <sgothel> will be build _before_ the other 2nd pass java files
20130618 17:15:02 <sgothel> if joal.jar has been found
20130618 17:15:27 <sgothel> let me test the build w/ and w/o joal.jar avail .. then I push
20130618 17:33:44 * [Mike] (~Mike]@anon) has joined #jogamp
20130618 17:49:26 <sgothel> http://jogamp.org/git/?p=jogl.git;a=commit;h=af426c53f818a8dac39e43b441dde261aa360536
20130618 17:49:43 <sgothel> JOAL optional dependency w/ tests etc ^^
20130618 17:52:54 <sgothel> the optional openal part is now included in atomic/jogl-util.jar, and all *all* targets including it
20130618 17:53:11 <sgothel> earmarked for removal later - yes :)
20130618 17:53:47 <sgothel> hope it works ..
20130618 17:54:32 <sgothel> i.e. create an AudioOutput interface in FFMPEG* .. and impl. it in e.g. jogamp.opengl.openal.av.JOALOut
20130618 17:54:53 <sgothel> .. then you can include jogamp.opengl.openal.av.JOALOut via reflection
20130618 17:54:57 <sgothel> in FFMPEG*
20130618 17:55:13 <sgothel> important: do not expose any JOAL/OpenAL stuff in that interface .. ofc
20130618 17:55:34 <sgothel> pingback ?
20130618 18:07:48 * monsieur_max (~maxime@anon) Quit (Ping timeout: 256 seconds)
20130618 18:08:15 <sgothel> ok .. me taking a break (shopping, garden work) .. will be back later on
20130618 19:22:27 -JonathanD- Hey Freenode, Fosscon is coming up Saturday August 10th. Fosscon has it's roots right here on freenode, and has been growing for 4 years now. Check it out over at http://fosscon.org, and check out a few of the speakers for this year at http://fosscon.org/speakers
20130618 19:29:40 * monsieur_max1 (~maxime@anon) has joined #jogamp
20130618 19:48:01 * [Mike] (~Mike]@anon) Quit ()
20130618 20:11:29 <monsieur_max1> sgothel: are you around ?
20130618 20:21:20 <sgothel> back
20130618 20:24:55 <sgothel> @Xerxes: Me gone in 1hr for ~2hrs, then back coding .. in 3 hrs from now - just in case for collab work - or let's catch up tomorrow / days ..
20130618 20:32:15 <monsieur_max1> sgothel: i updated my project with your sneak build of yesterday evening and i'm facing an issue that i did not have before ( was in 2.0rc11 )
20130618 20:32:30 <monsieur_max1> maybe that'll be of any interest to you
20130618 20:32:39 * monsieur_max1 is now known as monsieur_max
20130618 20:32:45 <sgothel> sure .. another 'sneak' build happened today
20130618 20:32:54 <monsieur_max> haha :)
20130618 20:33:19 <sgothel> you can see that in the IRC logs of this chat here ..
20130618 20:33:26 <sgothel> incl. maven
20130618 20:33:28 <sgothel> however .. shoot
20130618 20:33:59 <monsieur_max> true ... maybe it has been fixed or something i have to fix on my side, but it's classpaht related
20130618 20:34:20 <sgothel> go on .. no need to be shy :)
20130618 20:34:46 <monsieur_max> haha ;) i am a bit, indeed
20130618 20:34:47 <monsieur_max> so
20130618 20:34:53 <monsieur_max> here it is :
20130618 20:34:59 <monsieur_max> Catched FileNotFoundException: /home/maxime/Developpement/intelliJ/Catequesis/Catequesis%20Binaries/lib/gluegen-rt-natives-linux-amd64.jar (Aucun fichier ou dossier de ce type), while TempJarCache.bootstrapNativeLib() of jar:file:/home/maxime/Developpement/intelliJ/Catequesis/Catequesis%2520Binaries/lib/gluegen-rt-natives-linux-amd64.jar!/ (file:/home/maxime/Developpement/intelliJ/Catequesis/Catequesis%20Binaries/lib/
20130618 20:35:14 <monsieur_max> i just replaced the lib, did not touch anything in the classpath
20130618 20:35:32 <monsieur_max> something is strange, maybe it's because of a space in the path
20130618 20:35:42 <monsieur_max> Catequesis%2520Binaries
20130618 20:35:50 <sgothel> replaced w/ which jar files .. ? from the 7z all bundle ?
20130618 20:36:20 <monsieur_max> hold on, looking for this
20130618 20:36:21 <sgothel> ah .. that would indeed make sense, since we change URL -> URI
20130618 20:36:39 <sgothel> pls run w/ -Djogamp.debug=all
20130618 20:37:06 <monsieur_max> oh great hint, will do right away
20130618 20:37:26 <sgothel> and attach that log file to a new bug report, saying: 'Regression of URL to URI conversion commit b98825eb7cfb61aead4a7dff57471cd2d2c26823'
20130618 20:37:42 <sgothel> that is highly likely the case !
20130618 20:37:46 <sgothel> thank you!
20130618 20:38:38 <sgothel> but aren't windows file op's allowed to accepts escaped space ?
20130618 20:38:45 <sgothel> ' ' -> %20
20130618 20:39:10 <monsieur_max> don't have a clue i'm on linux
20130618 20:39:21 <sgothel> oh .. so neither there :
20130618 20:39:23 <sgothel> :)
20130618 20:39:32 <sgothel> great will fix it after gl4.3 / es3.0
20130618 20:39:58 <monsieur_max> ok, let's report this, i'm on the other side of the bugtracker today ! :)
20130618 20:45:51 * h05h1 (~h05h1@anon) has joined #jogamp
20130618 20:54:22 <sgothel> thx max!
20130618 20:55:00 * [Mike] (~Mike]@anon) has joined #jogamp
20130618 21:30:40 <monsieur_max> sgothel: well, i'm a bit relieved that it was not my fault, would be a shame to have a classpath issue after so many years of java coding ;) and btw, i'm the one who should be thankful for your work on jogamp , it's a great lib
20130618 21:31:33 <sgothel> using [and hence enhancing] our stuff is the best appreciation
20130618 21:32:34 <monsieur_max> totally aggree with this :)
20130618 21:32:38 <monsieur_max> off to bed, good night
20130618 21:32:41 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20130618 21:49:55 * h05h1 (~h05h1@anon) Quit (Ping timeout: 276 seconds)
20130618 22:14:50 * void256 (~void@anon) has joined #jogamp
20130618 23:27:10 * void256 (~void@anon) Quit (Remote host closed the connection)
20130618 23:35:22 <sgothel> @all: checking Bug 757 .. I have some questions ..
20130618 23:35:54 <sgothel> so it seems when translating URL -> URI -> file .. we cannot use the encoded name, i.e. escaped 'other chars' (re URI RFC)
20130618 23:37:21 <sgothel> but if source schema is not file, but http, etc .. the encoded name is correct right ? i.e. you can (or better should) use encoded names for http ? Can you use also non-encoded names by the URI RFC ? .. Hmm, have to check.
20130618 23:39:38 <sgothel> RFC 2396
20130618 23:46:47 <sgothel> ok. seems only schema file needs to be in the clear ..
20130618 23:46:52 <sgothel> i.e. not encoded
20130618 23:47:55 <rmk0> hm
20130618 23:48:10 <rmk0> http://waste.io7m.com/2013/06/18/Test.java
20130618 23:48:14 <rmk0> prints:
20130618 23:48:18 <rmk0> file:/a%20b%20c
20130618 23:48:18 <rmk0> file:/a%20b%20c
20130618 23:48:21 <rmk0> /a b c
20130618 23:48:47 <sgothel> yes .. and File schema fails to open the stream .. as an URL connection
20130618 23:48:52 <sgothel> if encoded ..
20130618 23:48:57 <rmk0> urgh
20130618 23:49:00 <sgothel> http .. and probably all others .. work well
20130618 23:49:11 <sgothel> i.e. http requires it actually
20130618 23:49:25 <sgothel> (your browser does the magic translation) .. yes .. ugly
20130618 23:49:54 <sgothel> so I have to check all our 'final' access, i.e. open it .. and may need to decode 1st .. something. will see
20130618 23:50:02 <rmk0> lame
20130618 23:50:36 <sgothel> problem, URI encodes it right away, i.e. stores it encoded, so no way to see (at least thats how I interpret the situation)
20130618 23:51:04 <sgothel> even though I didn't measure performance, but w/ URI and no DNS resolving it 'feels faster' :)
20130618 23:51:20 <sgothel> i.e. on Android it bumped up much faster
20130618 23:58:04 <sgothel> hmm .. 'could' use URI.toASCIIString() when url.openConnection() fails and schema is file .. well, ugly
20130618 23:59:24 <sgothel> or is there a magic URI encode -> File UTF encode translator ?
20130618 23:59:43 <sgothel> I guess thats what actually needed, i.e. for proper UTF8/16 support
20130619 00:00:09 <sgothel> too bad class URL doesn't to it magically
20130619 00:00:41 <rmk0> is bizarre that it'd behave like this
20130619 00:01:08 <sgothel> it's known .. http://stackoverflow.com/questions/2765782/why-does-java-automatically-decode-2f-in-uri-encoded-filenames
20130619 00:01:52 <sgothel> will try 'new File(URI)' ..
20130619 00:13:41 <sgothel> will add a generic 'URL IOUtils.toURL(URI)' method ..
20130619 01:02:26 <sgothel> url = new URL(IOUtil.FILE_SCHEME+IOUtil.SCHEME_SEPARATOR+f.getPath());
20130619 01:02:26 <sgothel> // url = f.toURI().toURL();
20130619 01:02:52 <sgothel> the latter line (as recommended in API doc in File) .. doesn't fork for file scheme .. :)
20130619 01:03:13 <sgothel> yeah .. adding a ridiculous conversion util
20130619 03:45:01 * [Mike] (~Mike]@anon) Quit ()
20130619 04:16:58 * [Mike] (~Mike]@anon) has joined #jogamp
20130619 04:21:14 <sgothel> @Xerxes: jenkins jogl build now: [echo] joal-jars.available: true ../../../../joal/label/linux-x86_64-nvidia/build/joal.jar
20130619 04:58:04 <sgothel> maven 2.0.2-rc-20130619
20130619 04:58:18 <sgothel> http://jogamp.org/deployment/archive/master/gluegen_686-joal_448-jogl_1011-jocl_810/
20130619 04:58:55 <sgothel> http://jogamp.org/deployment/archive/master/gluegen_686-joal_448-jogl_1011-jocl_810-signed/ (done in a few secs ..)
20130619 05:05:17 -CatOut- Continue @ http://jogamp.org/log/irc/jogamp_20130619050517.html