#jogamp @ irc.freenode.net - 20150819 05:05:30 (UTC)


20150819 05:05:30 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20150818050530.html
20150819 05:05:30 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20150819050530.html
20150819 05:43:21 * jvanek (jvanek@anon) has joined #jogamp
20150819 06:21:41 * elect (~elect@anon) has joined #jogamp
20150819 06:27:10 * badshah400 (~badshah40@anon) Quit (Ping timeout: 250 seconds)
20150819 06:30:31 <elect> hi
20150819 06:52:30 * monsieur_max (~maxime@anon) has joined #jogamp
20150819 07:51:37 * badshah400 (~badshah40@anon) has joined #jogamp
20150819 08:24:34 * eclesia (~husky@anon) has joined #jogamp
20150819 08:33:14 * gouessej (5ee4b442@anon) has joined #jogamp
20150819 08:33:26 <gouessej> Hi
20150819 08:33:48 <gouessej> I have to update LibGDX tonight
20150819 08:34:11 <gouessej> sgothel: I will improve the documentation of ImageIOUtil tonight too
20150819 09:07:38 <elect> gouessej, you should sleep at night ^^
20150819 09:08:59 <gouessej> elect: Hi. Why do you tell me such things? I sleep at night. "tonight" means "during the evening". Sorry if it is misleading.
20150819 09:09:19 <elect> I was joking ;)
20150819 09:47:51 <gouessej> Has anyboby tried QMole with JogAmp? http://www.qmole.uk/download/ It allows to run Linux applications on an IPad or an IPhone
20150819 10:14:29 <sgothel> @Julien: great, thank you!
20150819 10:17:43 <sgothel> @Julien: Pls do a git pull before it due to https://jogamp.org/bugzilla/show_bug.cgi?id=1042#c14, its ImageType now.
20150819 10:17:50 <sgothel> *it's*
20150819 10:30:13 <gouessej> sgothel: I'm currently reading your source code
20150819 10:30:47 <sgothel> great, thx
20150819 10:31:01 <gouessej> sgothel: Why do the texture providers return several image types whereas you always use the first one?
20150819 10:31:15 <gouessej> sgothel: public final ImageType[] getImageTypes()
20150819 10:31:36 <sgothel> 'always use the first one' -> only for the TextureData srcImageType ..
20150819 10:31:51 <sgothel> but it could end up in a provider supporting more than one ImageType
20150819 10:32:26 <sgothel> for 2.4.* we change the TextureProvider API .. i.e. no more using a list .. but always the mapping
20150819 10:32:38 <sgothel> then this *hack* (use 1st for list) is gone
20150819 10:32:38 <gouessej> ok
20150819 10:33:17 <sgothel> mapping also gives us O(1) .. and parse the magic only once
20150819 10:33:27 <sgothel> (ImageType)
20150819 10:33:43 <sgothel> the lex-parser .. is actually O(n) ofc
20150819 10:34:01 <sgothel> or O(logn) .. I guess :)
20150819 10:35:29 <gouessej> Why do you want to deprecate the methods that take a URL or a File in input? This change will simplify our implementation but keeping somewhere a method that makes the dumb job of opening a stream from a URL isn't a big deal to me.
20150819 10:36:02 <sgothel> b/c the File and URL variant are exposed via TextureIO
20150819 10:36:17 <sgothel> and TextureProvider is used only via stream ..
20150819 10:36:38 <sgothel> I just moved the File/URL -> stream one level up to TextureIO
20150819 10:37:34 <sgothel> yes .. for the DDS provider, this may be non-efficient, since the file-memmap is gone .. hmm
20150819 10:37:35 <gouessej> Ok, you only deprecate some methods in TextureProvider, not in TextureIO
20150819 10:37:40 <sgothel> should think about that detail ..
20150819 10:37:46 <sgothel> yes
20150819 10:38:09 <gouessej> your error messages are more consistent than mine, good :)
20150819 10:39:15 <sgothel> the one actual bug (fixed) was the missing (byte) cast in the comparison ..
20150819 10:40:35 <gouessej> Several years ago, I found a way of finding the path of a file used in an input stream in Harmony or OpenJDK. It would be a nice fallback especially for the few formats with no magic number in the header.
20150819 10:41:37 <sgothel> yes, the 2.4* TextureProvider needs both fileSuffix and ImageType .. the latter has priority if exists
20150819 10:41:46 <gouessej> I will have to implement something similar to ImageType.Util in JOGL-Utils or JogAmp's Ardor3D Continuation for the models
20150819 10:41:56 <gouessej> fewer supported formats :)
20150819 10:43:05 <gouessej> I will add some indications about the formats into ImageType.Util tonight
20150819 10:43:16 <gouessej> but there is no spec for lots of them :s
20150819 10:43:19 <sgothel> great!
20150819 10:43:49 <sgothel> yeah .. at least the 'TBD' (to be determined) tag .. to be replaced, if no URL ref is avail
20150819 10:44:43 <gouessej> I talked about QMole earlier in case that somebody wants to run JOGL under iOS
20150819 10:45:03 <gouessej> I remember that somebody talked about it at Siggraph 2012
20150819 10:45:16 <sgothel> oh .. reading
20150819 10:45:35 <gouessej> it uses JamVM with GNU Classpath under the hood
20150819 10:45:55 <sgothel> ah .. and a jailbroken phone ..
20150819 10:46:13 <sgothel> hence: no way - still jailed by Apple :-/
20150819 10:46:14 <gouessej> yes but it's better than nothing
20150819 10:46:33 <sgothel> i.e. customers won't like to become criminal :)
20150819 10:46:54 <sgothel> solution: buy another phone/tablet thingy w/ the walled garden crap
20150819 10:47:09 <gouessej> it's possible to use Avian but I'm not motivated in investigating
20150819 10:47:15 <sgothel> however, but thx for sharing
20150819 10:47:16 <gouessej> or RoboVM
20150819 10:47:27 <gouessej> Avian and RoboVM are legal
20150819 10:48:27 <gouessej> I'd like to run JogAmp's Ardor3D Continuation under Android too, do you think that it would be easier if I put the few classes depending on AWT into a separate subproject?
20150819 10:49:52 <sgothel> yes .. thats how we maintain/separate AWT in JOGL
20150819 10:50:14 <sgothel> and producing one '-android' jar file ofc, to be used for the APK
20150819 10:50:24 <sgothel> which only uses NEWT ..
20150819 10:51:14 <gouessej> ok, I'll plan to create ardor3d-jogl-awt, there is already something similar for SWT
20150819 10:52:29 <gouessej> I don't want to use the Android SDK. I'd prefer using OpenJDK :(
20150819 10:53:28 <sgothel> hmm .. you only need the Android SDK to create the APK .. if your sources use NEWT
20150819 10:54:02 <sgothel> well .. and writing the activity etc .. for a demo ofc :)
20150819 10:54:35 <gouessej> I don't understand the naming of the JARs for Android
20150819 10:54:45 <gouessej> jogl-all-android-2.3.2-rc-20150812-natives-solaris-i586.jar?
20150819 10:55:24 <sgothel> me neither :)
20150819 10:55:33 <sgothel> well, that is something solely for maven .. hehe
20150819 10:55:49 <sgothel> i.e. all android targets must be complete, even for the non android platfroms
20150819 10:55:59 <sgothel> hence: must deliver the natives ..
20150819 10:56:24 <sgothel> it is actually a copy 1:1 .. of the desktop natives
20150819 10:58:39 <gouessej> I don't know if it's possible to get the Android SDK through Maven, I have to check that
20150819 10:59:10 <sgothel> hmm .. @Mark has a demo project in jogl-demos ..
20150819 10:59:22 <sgothel> but AFAIK the Android SDK is not 'mavenized' .. :)
20150819 11:00:49 <gouessej> The Android Maven Plugin requires the developer to install the Android SDK separately
20150819 11:01:18 <rmk0_> lo
20150819 11:01:41 <rmk0_> https://github.com/simpligility/maven-android-sdk-deployer
20150819 11:02:07 <rmk0_> it's possible to deploy the android packages into a maven repository, because google have stopped doing it
20150819 11:02:42 <gouessej> I've just found it while you were typing thanks
20150819 11:04:20 <rmk0_> google's recommended approach to libraries is having you import the sources of the library directly into your project
20150819 11:04:33 <rmk0_> terrible
20150819 11:04:57 <gouessej> rmk0: Is this deployer used in jogl-demos? I assume it isn't
20150819 11:04:58 <sgothel> well, thats what we do in GlueGen :)
20150819 11:05:27 <rmk0_> gouessej: no, i'm actually using the old artifacts that google used to publish to maven central for the demo
20150819 11:05:29 <sgothel> i.e. the source android jar is there
20150819 11:05:46 <rmk0_> they stopped some time around android 4.1
20150819 11:06:19 <gouessej> It's ridiculous
20150819 11:07:06 <rmk0_> android is just awful
20150819 11:07:15 <rmk0_> the code is awful, the tools are awful, the way it's managed is awful
20150819 11:07:25 * rmk0_ stomps on android
20150819 11:07:28 <sgothel> you forgot *security* :)
20150819 11:07:35 <rmk0_> awful!
20150819 11:07:39 <sgothel> :)
20150819 11:08:25 <sgothel> one good thing: at least we can used it to deploy free software on it .. hehe
20150819 11:09:24 <gouessej> JogAmp's Ardor3D Continuation has a build based on Maven and Gradle. I don't want to force the developers to install the Android SDK especially if they only target the desktop environments
20150819 11:11:13 <elect> sgothel, any news about the srgb default framebuffer?
20150819 11:13:05 <gouessej> rmk0: Is it possible to skip the build of a Maven subproject when the Android SDK isn't installed?
20150819 11:14:30 * badshah400 (~badshah40@anon) Quit (Quit: badshah400)
20150819 11:16:38 <sgothel> @elect: considering the current priorities and collaboration-output, I am afraid you may want to assign this bug to yourself, i.e. implement it (git, unit test). otherwise I may do it .. later (month).
20150819 11:16:53 <elect> ok
20150819 12:29:14 <rmk0_> gouessej: have a look at maven "build profiles"
20150819 12:29:46 <rmk0_> one way to do it would be to define an "android" profile that enables a separate module if the user defines a property
20150819 12:34:56 <gouessej> rmk0: Thank you for the tip
20150819 12:35:44 <sgothel> @Mark, et al.: It is ofc up to you whether to mavenize the fat-jar .. if desired
20150819 12:36:11 <rmk0_> sgothel: i'm opposed! mainly because it doesn't offer anything... if you're already using maven, then you have no problem getting all the jar dependencies
20150819 12:36:19 <rmk0_> feel like it's only useful for people that are manually managing their own classpath
20150819 12:36:31 <sgothel> *my thinking* .. just wanted to mention it
20150819 12:36:57 <rmk0_> urhur
20150819 12:37:03 <sgothel> :)
20150819 12:37:09 <rmk0_> i think everyone here knows how i feel about fat jars
20150819 12:37:11 * rmk0_ kicks fat jars
20150819 12:37:14 <gouessej> I agree with rmk0 about the fat JAR
20150819 12:37:38 <gouessej> it would be counterintuitive with Maven
20150819 12:37:58 <gouessej> Using a consistent location for the native libraries is enough
20150819 12:39:17 <gouessej> sgothel: the fat JAR would be useful for the newbies, for a quick start, available on the homepage
20150819 12:39:33 <gouessej> sgothel: They can still use other JARs later
20150819 12:40:31 <sgothel> ay .. so .. you might think about pushing this to the homepage and wiki .. (forward the fat-jar info to those newbies)
20150819 13:59:41 <elect> dont discriminate fat jars
20150819 14:00:15 <bruce-> fat jars need love too
20150819 14:02:30 <gouessej> lol
20150819 14:02:53 <gouessej> eclesia already discriminated hairy women here ;)
20150819 14:08:54 <elect> I'll take them all
20150819 14:09:13 <sgothel> http://jogamp.org/git/?p=jogl.git;a=blob;f=LICENSE.txt;h=02d605cd3a6d38100c58904f1f44e9e7f054ac4c;hb=HEAD#l50 :)
20150819 14:09:42 <sgothel> should expand this to forum/IIRC :)
20150819 14:10:46 <sgothel> re hair: I hardly manage to shave my facial hair .. I could not imagine to be a woman and being required to shave all the other parts :-)
20150819 14:11:29 <gouessej> xranby: Have you ever succeeded in building OpenJDK 9?
20150819 14:30:00 <gouessej> sgothel: there is something that we could drive more homogeneous in TextureIO
20150819 14:30:28 <gouessej> sgothel: Sometimes, we use if (fileSuffix == null) { fileSuffix = IOUtil.getFileSuffix(file); }
20150819 14:30:54 <gouessej> sgothel: In other places, we use (fileSuffix != null) ? fileSuffix : IOUtil.getFileSuffix(file)
20150819 14:31:28 <gouessej> Personally, I vote for (fileSuffix == null) ?IOUtil.getFileSuffix(file) : fileSuffix;
20150819 14:35:43 <gouessej> Then, fileSuffix could be declared final in all methods taking it as an input
20150819 14:39:07 <sgothel> lets make a followup bug for 2.4.* where we can change the API ..
20150819 14:40:38 <gouessej> It won't modify the way these methods are called,
20150819 14:42:02 <gouessej> Do you prepare any API changes except the removal of some methods in util.texture?
20150819 14:42:06 <sgothel> there we shall modify the whole thing :)
20150819 14:42:44 <sgothel> and passing both fileSuffix + ImageType .. as discussed above ..
20150819 14:43:09 <sgothel> and merging the SupportedImageType -> TextureProvider as well
20150819 14:44:43 <gouessej> Why does https://youtube.com/devicesupport appear in http://jogamp.org/stream/ ???
20150819 14:46:49 * jvanek (jvanek@anon) Quit (Quit: Leaving)
20150819 14:55:05 <monsieur_max> gouessej: there was an odd bug on youtube links, months ago , remind me of that
20150819 15:21:32 <gouessej> Which RSS reader do you use? I plan to host this one on my server: https://www.commafeed.com/#/welcome
20150819 15:21:47 <gouessej> Commafeed is written in Java :)
20150819 15:38:45 * gouessej (5ee4b442@anon) Quit (Quit: Page closed)
20150819 15:45:18 * elect (~elect@anon) Quit (Ping timeout: 250 seconds)
20150819 15:52:19 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20150819 16:04:27 * eclesia (~husky@anon) has left #jogamp
20150819 17:11:49 * monsieur_max (~maxime@anon) has joined #jogamp
20150819 17:17:46 * elect (~elect@anon) has joined #jogamp
20150819 18:05:39 * elect (~elect@anon) Quit (Ping timeout: 244 seconds)
20150819 18:27:50 * Eclesia (~eclesia@anon) has joined #jogamp
20150819 18:28:04 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20150819 19:15:25 * elect (~elect@anon) has joined #jogamp
20150819 19:23:44 * Eclesia (~eclesia@anon) Quit (Quit: Leaving.)
20150819 19:31:39 * badshah400 (~badshah40@anon) has joined #jogamp
20150819 19:56:37 * gouessej (52794836@anon) has joined #jogamp
20150819 19:56:47 <gouessej> sgothel: https://github.com/gouessej/jogl/commit/d75dfb0c8f55ad950a7ec6d67ad427987aeadc2d
20150819 19:57:15 <gouessej> xranby: I updated LibGDX a few minutes ago
20150819 19:57:51 <gouessej> sgothel: it's really difficult to find the specifications of numerous image file formats :s
20150819 19:57:59 <gouessej> bye
20150819 19:58:04 * gouessej (52794836@anon) Quit (Client Quit)
20150819 20:35:10 * gouessej (52794836@anon) has joined #jogamp
20150819 20:35:16 <gouessej> sgothel: https://github.com/gouessej/jogl/commit/ab116d69e86a0c102adfe922180919d12dad162c
20150819 20:35:31 * gouessej (52794836@anon) Quit (Client Quit)
20150819 20:52:15 * a11mad11 (4c47eb44@anon) has joined #jogamp
20150819 21:02:34 <elect> salut a11mad11
20150819 21:02:40 <elect> how is going?
20150819 21:02:52 <a11mad11> hi elect
20150819 21:03:51 <a11mad11> I read a big part of the tuto.
20150819 21:04:01 <elect> good
20150819 21:05:05 <a11mad11> I am thinking that I need to rewrite my shaderprogram.
20150819 21:05:28 <elect> :)
20150819 21:19:12 <elect> Im gonna sleep
20150819 21:19:23 <elect> you can write if you have any dubt
20150819 21:19:34 <elect> someone will reply you sooner or later
20150819 21:19:40 <elect> you can check also on the logs
20150819 21:19:48 <elect> http://jogamp.org/log/irc/
20150819 21:20:04 <elect> bonne nuit
20150819 21:24:10 * elect (~elect@anon) Quit (Ping timeout: 245 seconds)
20150819 23:24:13 * badshah400 (~badshah40@anon) Quit (Quit: badshah400)
20150819 23:43:15 * a11mad11 (4c47eb44@anon) Quit (Ping timeout: 246 seconds)
20150820 00:04:37 * rmk0_ (~rmk0@anon) Quit (Ping timeout: 250 seconds)
20150820 00:04:52 * rmk0 (~rmk0@anon) has joined #jogamp
20150820 03:26:23 * badshah400 (~badshah40@anon) has joined #jogamp
20150820 05:05:30 -jogamp- Continue @ http://jogamp.org/log/irc/jogamp_20150820050530.html