#jogamp @ irc.freenode.net - 20140226 05:05:49 (UTC)
20140226 05:05:49 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20140224134049.html
20140226 05:05:49 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20140226050549.html
20140226 05:32:13 * phao (~phao@anon) has joined #jogamp
20140226 06:20:19 * phao (~phao@anon) Quit (Quit: Fui embora)
20140226 06:31:35 * xranby-64 (~familjen@anon) has joined #jogamp
20140226 08:17:24 * monsieur_max (~maxime@anon) has joined #jogamp
20140226 08:36:52 * odinsbane (~msmith@anon) has joined #jogamp
20140226 08:37:31 <odinsbane> Does anybody know the state of OpenGL and javafx?
20140226 08:40:50 * jvanek (jvanek@anon) has joined #jogamp
20140226 09:51:22 <xranby> odinsbane: the official sory is that oracle removed the JOGLbackend in javafx 2 , they then hired c++ programmers to write a hardcoded opengl es 2 backend using jni
20140226 09:51:48 <xranby> odinsbane: now they have portability issues and ask the community to recreate a jogl backend
20140226 09:52:32 <xranby> if you remember javafx 1.3 it had support for mobile devices across platforms thanks to the jogl backend
20140226 09:53:03 <odinsbane> No, I don't go that far back.
20140226 09:53:57 <odinsbane> I have been avoiding javafx. I tried it out recently and it wasn't too bad. I was going to try something with opengl and I remember javafx was supposed to work with opengl.
20140226 09:55:09 <xranby> javafx dont work well with other opengl frameworks because there is currently no way to re use an existing opengl context or expose the opengl context initialized by javafx
20140226 09:55:51 <xranby> if javafx is rewritten to expose the opengl context and native window then it may be possible to use javafx as a more generic gui
20140226 09:57:20 <bbbruce> if or when? :)
20140226 09:57:37 <xranby> we have some discussions inside a bugreport https://jogamp.org/bugzilla/show_bug.cgi?id=607
20140226 10:02:12 <sgothel> god morning. AFAIK, Julien likes to add a simple FBO bridge .. similar to GLJPanel .. but not doing the whole rewrite. Maybe somebody likes to join this effort or do it (if he hasn't started yet)
20140226 10:02:16 <sgothel> *good* :)
20140226 10:03:07 <sgothel> @Xerxes: Your changes were merged .. does it work ? (deadlock at pause/resume)
20140226 10:03:37 <xranby> there was a forum post that demonstrated the possibility to use Java3D+JOGL in combination with JavaFX2 if you rendered to a offscreen FBO and then transfered the result to javafx. http://forum.jogamp.org/Custom-Raster-tp4031610p4031629.html
20140226 10:04:30 <sgothel> all you would need is to copy GLJPanel and replace the Swing pixel sink with JavaFX ..
20140226 10:14:15 <xranby> sgothel: bug closed https://jogamp.org/bugzilla/show_bug.cgi?id=927#c19
20140226 10:14:24 <sgothel> sweet
20140226 10:15:29 <sgothel> interesting though .. that this exception did not propagate .. hmm
20140226 10:16:02 <sgothel> 32 only ? I would have expected at least 42 :)
20140226 10:27:25 <xranby> actually the limit apears in ulseaudio
20140226 10:27:32 <xranby> pulseaudio
20140226 10:28:04 <xranby> its pa_context_new that failed http://freedesktop.org/software/pulseaudio/doxygen/context_8h.html#a2784c754947a97f02c78b73d7b1c2d5f
20140226 10:40:52 <xranby> if i configure ~/.alsoftrc to use drivers = alsa i hit the same limit thus it appears my hardware got the 32 voices limit
20140226 10:42:02 <xranby> using alsa i openal-soft uses a slightly more correct error code ALCError 0xa005 == out of memory compared to ALCError 0xa004 == invalid argument
20140226 10:42:13 <xranby> while using the pulseaudio backend
20140226 10:42:35 <sgothel> nice nice, great digging
20140226 10:42:55 <sgothel> still .. that exception which did not reach StreamWorker .. hmm, funny
20140226 10:43:04 <sgothel> which VM ?
20140226 10:43:40 <sgothel> I glanced over our code .. couldn't find a try {} catch () {} ..
20140226 10:44:03 <sgothel> so the ffmpeg native code .. swallows it ? Java -> JNI -> Java X
20140226 10:44:25 <sgothel> Java1 -> JNI1 -> Java2 -> JNI2 X
20140226 10:44:43 <xranby> if i use the driver = wave the testcase pass ... and i get a nice wav file of the output from the 40 simultanious players
20140226 10:44:50 <sgothel> Java1 StreamWorked, JNI1 ffmpeg-jni, Java2 ALAudio, JNI2 OpenAL
20140226 10:47:34 <xranby> i currently use hotspot java -version
20140226 10:47:34 <xranby> java version "1.7.0_51"
20140226 10:47:34 <xranby> OpenJDK Runtime Environment (IcedTea 2.4.4) (7u51-2.4.4-0ubuntu0.12.04.2)
20140226 10:47:34 <xranby> OpenJDK Server VM (build 24.45-b08, mixed mode)
20140226 10:49:29 <xranby> i belive its handled by http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Thread.UncaughtExceptionHandler.html
20140226 10:50:18 <sgothel> but thread is StreamWorker .. still alive -> pauseImpl deadlock
20140226 10:54:24 * hija (~hija@anon) has joined #jogamp
20140226 11:20:51 <sgothel> @Petros: .. pls use TAB == space .. :)
20140226 12:14:30 * xranby (~xranby@anon) Quit (Remote host closed the connection)
20140226 12:18:55 <hija> ??
20140226 12:19:15 <sgothel> your editor settings .. use space instead of TAB
20140226 12:19:35 <hija> my bugfix had tabs??
20140226 12:19:41 <sgothel> yup
20140226 12:19:47 <hija> dammit
20140226 12:19:54 <hija> I thought eclipse understood
20140226 12:20:00 <hija> will be more careful
20140226 12:20:01 <sgothel> PIA .. I know
20140226 12:20:03 <hija> sorry about that
20140226 12:20:06 <sgothel> np
20140226 12:20:15 <sgothel> removed them I guess ..
20140226 12:20:21 <hija> did you test it?
20140226 12:20:26 <sgothel> you easily can see those in the produced diff
20140226 12:20:39 <hija> you mean in github?
20140226 12:20:44 <sgothel> nope - trust you here .. busy w/ other things
20140226 12:20:50 <sgothel> git diff ..
20140226 12:20:52 <hija> oh
20140226 12:20:54 <sgothel> or gitk
20140226 12:20:55 <hija> :D
20140226 12:21:04 <hija> quick question
20140226 12:21:19 <sgothel> hence I was asking you whether you have tested .. so I take your word - you are the SWT man
20140226 12:21:23 <hija> why (null == variable) and not (variable == null)
20140226 12:21:27 <hija> ?
20140226 12:21:28 <hija> style?
20140226 12:21:34 <sgothel> ah .. left-value!
20140226 12:21:42 <hija> to avoid variable = null?
20140226 12:21:46 <sgothel> yes!
20140226 12:21:54 <hija> got it
20140226 12:22:21 <hija> thank you o great master once more :D
20140226 12:22:32 <sgothel> :)
20140226 12:22:44 <hija> I submitted a new bug btw
20140226 12:22:53 <sgothel> (just b/c I learned a bit from my own mistakes)
20140226 12:23:04 <sgothel> good good
20140226 12:23:34 <hija> about the newt window requiring reparenting
20140226 12:23:40 <sgothel> if you want me to read it .. put me as CC .. hmm
20140226 12:23:57 <hija> its just a statement of the things we discussed
20140226 12:24:20 <hija> when I find some time to make into a bugfix I will
20140226 12:24:51 <sgothel> can't see your new bug entry .. ?
20140226 12:25:27 <hija> https://jogamp.org/bugzilla/show_bug.cgi?id=985
20140226 12:25:30 <sgothel> 985 ?
20140226 12:25:31 <sgothel> ah
20140226 12:25:33 <hija> ye
20140226 12:26:15 <sgothel> I remember a bit .. yup
20140226 12:27:02 <sgothel> Nice work Petros!
20140226 12:27:10 <hija> :D
20140226 12:27:47 <sgothel> btw .. did Rayan catch up w/ you ? Haven't heard about anything lately .. me just hacking along.
20140226 12:28:11 <hija> no, I was away when he came
20140226 12:28:49 <sgothel> ah .. yeah, when I need communication .. well, I need to be very persistent .. (not to say annoying) :)
20140226 12:29:11 <hija> hehehe
20140226 12:29:11 <sgothel> since .. they are so busy w/ own stuff .. the usual
20140226 12:30:13 <sgothel> do you have a CAD/curve importer for your work ?
20140226 12:30:33 <sgothel> i.e. reading curves from .. whatever .. ? collada, etc ?
20140226 12:30:53 <sgothel> or anybody here .. ?
20140226 12:31:07 <hija> i do but I don't do complex curves
20140226 12:31:11 <sgothel> (binary if possible .. not bloated xml)
20140226 12:31:16 <sgothel> ah
20140226 12:31:21 <hija> up to arcs + circles
20140226 12:31:26 <sgothel> which format do you use ?
20140226 12:31:29 <hija> dxf
20140226 12:31:35 * odinsbane (~msmith@anon) Quit (Quit: dammit.)
20140226 12:31:38 <sgothel> quadratics ?
20140226 12:31:46 <sgothel> bicubic ?
20140226 12:31:53 <hija> no no
20140226 12:31:59 <hija> only arcs :P
20140226 12:32:09 <sgothel> dxf is binary ?
20140226 12:32:12 <hija> oh
20140226 12:32:17 <hija> no dxf is ASCII
20140226 12:32:18 <sgothel> so you can parse a bit already ?
20140226 12:32:19 <sgothel> oh
20140226 12:32:37 <sgothel> ok thx .. guess I have to do the blender thing then ..
20140226 12:32:44 <hija> I am not comfortable with bits yet no :P
20140226 12:32:57 <hija> I understand, but i've never parsed a file
20140226 12:33:01 <sgothel> I wrote the Bitstream class to make that easy
20140226 12:33:10 <sgothel> in GlueGen now
20140226 12:36:19 <hija> in general there is a great lack of common formats in this area
20140226 12:36:19 <hija> collada is horrible
20140226 12:36:19 <hija> at least for architectural stull
20140226 12:36:19 <hija> stuff
20140226 12:36:19 <hija> there is DWG, but its convoluted as hell
20140226 12:36:53 <sgothel> yeah .. 1st I thought SVG .. but then .. parsing w/ xml might be not right
20140226 12:37:08 <sgothel> then in the end, we like to support blender as an editor
20140226 12:37:09 <hija> svg is the simplest, but still xml
20140226 12:37:09 <hija> so... DXF!
20140226 12:37:12 <sgothel> (at least I do)
20140226 12:37:14 <hija> you can also get binary dxf btw...
20140226 12:37:15 <hija> but I have no leads into that
20140226 12:37:44 <sgothel> right .. dxf or blender
20140226 12:38:04 <sgothel> sure .. only extracting some simple shapes for now
20140226 12:39:26 <hija> http://images.autodesk.com/adsk/files/autocad_2012_pdf_dxf-reference_enu.pdf
20140226 12:40:13 <sgothel> copied .. thx
20140226 13:11:39 * xranby-64 (~familjen@anon) Quit (Remote host closed the connection)
20140226 13:35:16 * xranby (~xranby@anon) has joined #jogamp
20140226 13:39:53 <xranby> http://www.livet.se/mahoney/index_timeline.php - 15th of February 2014: Released the world's first 44.1kHz 8-bit samples on the 32-year-old Commodore 64 computer - technical paper: http://www.livet.se/mahoney/c64-files/Musik_RunStop_Technical_Details_by_Pex_Mahoney_Tufvesson.pdf
20140226 13:40:50 <xranby> "brand new, technique which relies on analog imperfections in the filter implementation of the 6581/8580 SID chips, together with clever use of voice 3 enabled/disabled, voice routing and the 4-bit volume register"
20140226 16:01:35 <sgothel> @Petros: Bug 969 can be closed ?
20140226 16:02:52 <sgothel> oh .. it depends on so many others .. hmm, I see
20140226 16:05:47 * jvanek (jvanek@anon) Quit (Ping timeout: 246 seconds)
20140226 16:19:15 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20140226 16:27:31 * jvanek (jvanek@anon) has joined #jogamp
20140226 18:00:46 <hija> It depends on two two more...
20140226 18:01:19 * hija is now known as petrosk
20140226 18:01:28 <petrosk> maybe that makes more sense...
20140226 18:01:30 <petrosk> :D
20140226 18:02:18 * petrosk is now known as petr0s
20140226 18:02:31 <petr0s> meh, "nick is registered"
20140226 18:06:39 * petr0s is now known as kpetros
20140226 18:07:19 <kpetros> obviously I can not find a satisfactory nick :D
20140226 18:08:39 <kpetros> btw what happens if I can't reproduce a bug (namely 822)
20140226 18:08:45 <kpetros> @sgothel
20140226 18:10:27 * kpetros is now known as hija
20140226 18:10:37 <hija> ok added Petros to highlight words :P
20140226 18:30:54 * phao (~phao@anon) has joined #jogamp
20140226 18:38:46 * hija (~hija@anon) Quit (Quit: hija)
20140226 18:38:50 * monsieur_max (~maxime@anon) has joined #jogamp
20140226 18:40:28 * monsieur_max (~maxime@anon) has left #jogamp
20140226 19:22:20 * hija (~hija@anon) has joined #jogamp
20140226 19:23:10 <sgothel> https://jogamp.org/bugzilla/show_bug.cgi?id=822#c1 <- it is the reporters duty to provide a test
20140226 19:23:21 <sgothel> and all details etc ..
20140226 19:23:57 <sgothel> you may press them to comply. sure, sometimes they cannot provide a test .. then a good description may suffice
20140226 19:24:20 * monsieur_max (~maxime@anon) has joined #jogamp
20140226 19:40:04 * hija_ (~hija@anon) has joined #jogamp
20140226 19:43:28 <phao> Hi. In here ( https://github.com/sgothel/jogl/blob/master/src/jogl/classes/com/jogamp/opengl/math/VectorUtil.java ) comparison of vectors is done by using Float.compare
20140226 19:43:40 <phao> isn't that problematic?
20140226 19:45:09 <sgothel> b/c no epsilon is used .. I marked such issue elsewhere in the code as well
20140226 19:45:14 <sgothel> needs to be validate
20140226 19:46:04 <phao> I heard someone talking about using absolute epsilons, maybe adding support for "relative" epsilons could help
20140226 19:46:25 <phao> something like checking if vector X's components are within 0.01% of vector Y's components.
20140226 19:46:51 <phao> the difference, I mean. I am not sure if I was clear there.
20140226 19:47:13 <sgothel> would be best to have something in FloatUtil, i.e. calculating the machines epsilon (absolute) and allowing user to pass an epsilon
20140226 19:47:34 <sgothel> the latter could be the calculated one .. or a custom accuracy
20140226 19:47:36 * hija (~hija@anon) Quit (*.net *.split)
20140226 19:47:39 * hija_ is now known as hija
20140226 19:48:31 <sgothel> btw .. if you edit the class, pls use branch 2.2-train
20140226 19:48:44 <phao> machines epsilon?
20140226 19:48:46 <sgothel> thats the one currently under development
20140226 19:48:49 <sgothel> yes sure
20140226 19:49:04 <phao> I still have to learn how to use git. I am reading a book on version control systems which covers git
20140226 19:49:06 <sgothel> the absolute min. diff
20140226 19:50:32 <phao> Cool =)
20140226 19:50:43 <sgothel> https://www.youtube.com/watch?v=4XpnKHJAok8
20140226 19:50:50 <sgothel> (Linus Torvalds on git )
20140226 19:51:02 <phao> Hehe.
20140226 19:51:17 <phao> I thought that video wasn't about teaching git.
20140226 19:51:29 <sgothel> no, just bashing the others :)
20140226 19:51:30 <phao> Gonna watch it anyway. Linus' talks are always good.
20140226 19:51:47 <phao> I always wondered what he has to say about java.
20140226 19:52:02 <sgothel> http://jausoft.com/blog/2009/07/08/svn-to-git-migration-1/ <- some links here
20140226 19:52:42 <phao> I've been reading this one => http://www.ericsink.com/vcbe/
20140226 19:52:47 <phao> It's a REALLY nice reading.
20140226 19:54:09 <sgothel> so I hope it covers some encryption basics and why you can manage it all via a sha-1 ?
20140226 19:54:32 <phao> Idk if it covers that. Let me see if I can find if it does.
20140226 19:55:11 <sgothel> i.e. one of git's strong points and reason why it is so fast (finding deltas/duplicates etc)
20140226 19:57:08 <phao> well, it mentions that gits looks for the sha-1 hash of the contents (actually I am not sure if it's only contents; haven't read the section fully)
20140226 19:57:17 <phao> and uses that hash to check for equality in files.
20140226 19:57:36 <phao> It mentions that although it's possible, it's much unlikely that two different files will have the same sha-1 hash
20140226 19:57:56 <phao> it has a section on those collisions of hash values for different file contents,
20140226 19:58:05 <phao> it has a whole section called
20140226 19:58:12 <phao> "Git: Cryptographic Hashes"
20140226 19:58:48 <phao> It has a chapter on distributed version control systems internals, inside which this section is.
20140226 19:59:48 <phao> The quanlity of the contents of the book I cannot guarantee. It seems good though, although only an introduction. It actually assumes you don't know what version control systems are. It examplains the ideas of centralized vcs exemplifying with svn.
20140226 20:00:12 <phao> That's less than 1/3 of the book. The rest seems to be on distributed vcs, exemplifying with git, mercural and another one... let me see.
20140226 20:00:24 <phao> veracity, which iirc was developed by the author,
20140226 20:00:32 <phao> or the author is one of the developers... something like that.
20140226 20:01:11 * sgothel1 (~sgothel@anon) has joined #jogamp
20140226 20:01:11 * sgothel1 (~sgothel@anon) Quit (Changing host)
20140226 20:01:11 * sgothel1 (~sgothel@anon) has joined #jogamp
20140226 20:01:11 * ChanServ sets mode +v sgothel1
20140226 20:01:26 * xranby (~xranby@anon) Quit (Ping timeout: 272 seconds)
20140226 20:01:29 * kermyt (~kermyt@anon) Quit (Ping timeout: 272 seconds)
20140226 20:01:31 * sgothel (~sgothel@anon) Quit (Ping timeout: 272 seconds)
20140226 20:02:50 * xranby (~xranby@anon) has joined #jogamp
20140226 20:05:04 * kermyt (~kermyt@anon) has joined #jogamp
20140226 20:12:20 * bbbruce_ (~bx@anon) has joined #jogamp
20140226 20:18:37 <phao> sgothel1, hey are you a professor or something like that?
20140226 20:18:47 * bbbruce (~bx@anon) Quit (*.net *.split)
20140226 20:18:47 * bbbruce_ is now known as bbbruce
20140226 20:19:32 <phao> btw, I'm not sure if you got this => http://pastie.org/pastes/8791990/text
20140226 20:56:29 * hija_ (~hija@anon) has joined #jogamp
20140226 20:57:14 * hija (~hija@anon) Quit (Ping timeout: 264 seconds)
20140226 20:57:15 * hija_ is now known as hija
20140226 21:13:29 * hija (~hija@anon) Quit (Ping timeout: 240 seconds)
20140226 21:19:13 * jogamp (~jogamp@anon) Quit (Ping timeout: 252 seconds)
20140226 21:19:13 * Disconnected.