#jogamp @ irc.freenode.net - 20141001 05:05:53 (UTC)


20141001 05:05:53 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20140930050552.html
20141001 05:05:53 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20141001050553.html
20141001 06:20:21 * xranby (~xranby@anon) Quit (Ping timeout: 260 seconds)
20141001 06:33:37 * xranby (~xranby@anon) has joined #jogamp
20141001 06:56:38 * eclesia (~husky@anon) has joined #jogamp
20141001 07:09:19 <eclesia> good morning
20141001 07:31:38 * monsieur_max (~maxime@anon) has joined #jogamp
20141001 08:03:00 * xranby (~xranby@anon) Quit (Ping timeout: 260 seconds)
20141001 08:04:22 * xranby (~xranby@anon) has joined #jogamp
20141001 08:27:43 * gouessej (5ee4b442@anon) has joined #jogamp
20141001 08:27:50 <gouessej> Good morning
20141001 09:12:11 <zubzub> morning
20141001 09:12:51 <zubzub> my java wayland bindings are becoming usable
20141001 09:12:53 <zubzub> https://github.com/Zubnix/wayland-java-bindings
20141001 09:13:02 <zubzub> Now I'm working on implementing wayland client egl
20141001 09:13:12 <zubzub> once I get that working I can extend newt
20141001 09:22:52 <gouessej> zubzub: :) Good luck
20141001 09:23:38 <gouessej> zubzub: take care "Native JNI code is not as robust is should be i.e. no corner case checks."
20141001 09:23:50 <zubzub> yeah that needs to be fixed
20141001 09:24:09 <zubzub> I need to check & verify each jni api call
20141001 09:24:20 <zubzub> not difficult to do, just needs to be done
20141001 09:24:36 <zubzub> but I have very little actual jni c calls
20141001 09:24:56 <zubzub> it's mostly 1-1 java-wayland api mapping
20141001 09:26:19 * xranby (~xranby@anon) Quit (Ping timeout: 244 seconds)
20141001 09:28:31 * xranby (~xranby@anon) has joined #jogamp
20141001 10:08:53 <gouessej> sgothel: I have implemented a smaller fix for the bug 1078
20141001 10:28:36 * bbbruce (~bx@anon) Quit (Ping timeout: 260 seconds)
20141001 10:31:30 * xranby (~xranby@anon) Quit (Ping timeout: 272 seconds)
20141001 10:34:16 * xranby (~xranby@anon) has joined #jogamp
20141001 11:22:55 * doev (~doev@anon) has joined #jogamp
20141001 11:23:08 * doev (~doev@anon) Quit (Remote host closed the connection)
20141001 11:23:55 * doev (~doev@anon) has joined #jogamp
20141001 11:50:16 <sgothel> Hi Julien, where can I find the new fix?
20141001 11:51:22 <sgothel> (I assume the quirk .. i.e. new version to the one you posted as a patch in Bug 1078 ..?)
20141001 11:54:10 <eclesia> question : I have reached the limit of values for uniforms (because I use uniform for bone matrix in skinning , over 200 bones), so I'm changing my code to use Texture Buffer Objects. Does someone have a simple example of TBO + vertex shader ?
20141001 11:58:57 <gouessej> Done, sorry. Tested.
20141001 11:59:07 <sgothel> TBO .. nope sorry, neither UBOs .. even though, I should do that one day
20141001 11:59:11 <gouessej> sgothel: I'll put the patch somewhere
20141001 11:59:24 <sgothel> git would be nice
20141001 11:59:30 <gouessej> sgothel: I have something that works
20141001 11:59:42 <eclesia> sgothel: just to be sure, TBO and UBO are supported in jogl ?
20141001 11:59:46 <sgothel> sounds good
20141001 12:00:05 <sgothel> sure .. guess they are 4.1 and 3.3 ..
20141001 12:00:23 <eclesia> ok hanks
20141001 12:00:23 <gouessej> sgothel: my chief asked me when I'm done with this bug a few hours ago :s
20141001 12:00:28 <sgothel> i.e. binding exists
20141001 12:00:34 <eclesia> thanks*
20141001 12:01:26 <sgothel> Julien, you also provided a patch against Java3D using git I guess right ? (more crucial)
20141001 12:01:41 <sgothel> This quirk patch .. is like 'make it complete' .. but not crucial
20141001 12:06:23 <gouessej> sgothel: I have a complete patch
20141001 12:22:28 * doev (~doev@anon) Quit (Quit: Verlassend)
20141001 12:24:04 <gouessej> sgothel: I did what you suggested but I just didn't modify 2 of the methods you mentioned
20141001 12:28:21 * bbbruce (~bx@anon) has joined #jogamp
20141001 12:52:00 <eclesia> is there a fixed date for jogl 2.1 ?
20141001 12:56:09 <gouessej> 2.1???
20141001 12:56:40 <xranby> v2.1.0 2013-10-10 http://jogamp.org/git/?p=gluegen.git;a=tag;h=29f9e4971f6da8563db110b4976d85268410b036
20141001 12:57:38 <eclesia> 2.3* sorry
20141001 12:57:59 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20141001 13:00:03 <sgothel> for 2.3.0 is no fixed date nope
20141001 13:00:15 <sgothel> hence 2.2.3 will come soon .. bugfix release
20141001 13:00:35 <sgothel> but well .. 2.3.0 within this year of course :)
20141001 13:00:59 <eclesia> with the 'you know what bug I mean' improvement ?
20141001 13:01:54 * monsieur_max (~maxime@anon) has joined #jogamp
20141001 13:07:11 <gouessej> sgothel: https://jogamp.org/bugzilla/attachment.cgi?id=652&action=diff
20141001 13:08:38 <sgothel> @Julien .. this is not master branch as req., also can you do it using git ?
20141001 13:09:14 <gouessej> I'm sure I use the master branch :s
20141001 13:09:28 <gouessej> sgothel: I'll try to sync and use git
20141001 13:09:51 <sgothel> thank you
20141001 13:10:33 <gouessej> sgothel: I can ask Eclipse to produce a git friendly diff
20141001 13:10:45 <gouessej> sgothel: Would it be enough?
20141001 13:11:09 <sgothel> lets see .. sure should do it
20141001 13:11:22 <sgothel> like an git email patch
20141001 13:11:27 <gouessej> ok
20141001 13:11:44 <sgothel> nobody is enforced to use github, sure not :)
20141001 13:12:13 <sgothel> you can ofc have a user repo @ jogamp.org
20141001 13:22:00 * doev (~doev@anon) has joined #jogamp
20141001 14:42:53 <gouessej> sgothel: I have just done a pull request
20141001 14:43:32 <gouessej> sgothel: https://github.com/sgothel/jogl/pull/80
20141001 14:47:26 <sgothel> @Julien .. as you can see in your own pull request, your branch is not clean
20141001 14:47:44 <sgothel> we had this discussion before
20141001 14:48:00 <sgothel> I would reset the branch to the last common 'node' (git sha1)
20141001 14:48:09 <sgothel> and then pull/merge official master
20141001 14:48:31 <sgothel> before - you can create a new branch like 'julien' to save your current master branch
20141001 14:48:50 <sgothel> then you can cherry pick what you like to be in official master and make a pull-req on that one
20141001 14:49:20 <gouessej> ok :s I'll try again
20141001 14:49:39 <eclesia> hehe good luck with git
20141001 14:51:00 <gouessej> I have to find the last common node first
20141001 14:51:34 <sgothel> gitk --all is your friend .. if you have fetched official repo [remote branch] as well
20141001 15:02:56 <gouessej> sgothel: What do you plan to do for the detection of the image file format? You said that we could move my stuff from JogAmp's Ardor3D Continuation to JOGL
20141001 15:03:20 <sgothel> would be nice yes .. good that you mention it
20141001 15:03:32 <sgothel> can you please add references to the branch ?
20141001 15:03:52 <sgothel> i.e. references to the file format spec/description .. or at least spell the names out ?
20141001 15:04:20 <sgothel> do we have a bug entry for that ? if not, pls add one .. definitely have to do this!
20141001 15:09:28 <gouessej> We have a bug report for that
20141001 15:09:39 <gouessej> You created it as far as I know
20141001 15:10:33 <gouessej> sgothel: https://jogamp.org/bugzilla/show_bug.cgi?id=1042
20141001 15:24:55 <gouessej> sgothel: I've just found the last common node
20141001 15:32:52 <gouessej> sgothel: I've done git reset --hard 4d35eaa766071fd8dedab8b6e2ee53710831c567
20141001 15:36:27 * doev (~doev@anon) Quit (Ping timeout: 245 seconds)
20141001 15:37:08 <gouessej> sgothel: git push --force origin master
20141001 15:37:45 <gouessej> sgothel: git pull sgothel master
20141001 15:37:47 <sgothel> don't hit your head too hard :)
20141001 15:37:54 <sgothel> yup
20141001 15:38:01 <sgothel> then cherry pick your stuff
20141001 15:38:41 <sgothel> 'head' - a git terminology, tip of branch :)
20141001 15:38:54 <gouessej> sgothel: git push origin master -> now I should be clean
20141001 15:47:15 <gouessej> sgothel: :s it displays "unknown" as an author
20141001 15:48:55 <gouessej> sgothel: I'm going to revert my crap once again
20141001 15:50:34 <sgothel> git config .. author name, email .. etc
20141001 15:54:49 * xranby (~xranby@anon) Quit (Ping timeout: 260 seconds)
20141001 15:55:12 <gouessej> sgothel: done. https://github.com/sgothel/jogl/pull/82
20141001 15:56:11 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20141001 15:56:35 <sgothel> great - thank you
20141001 15:56:46 <sgothel> https://jogamp.org/bugzilla/show_bug.cgi?id=1078#c34 <- how about my other nitpicking ?
20141001 15:57:02 <sgothel> i.e. your code will still show the caps in the list
20141001 15:57:23 <sgothel> I would go the other way around, drop the caps in the first place, as mentioned earlier
20141001 15:57:36 <gouessej> sgothel: I tried to do that first
20141001 15:57:37 <sgothel> (ARB -> GLCaps, PFD -> GLCaps)
20141001 15:57:44 <sgothel> but ?
20141001 15:57:55 <gouessej> sgothel: Look at the comment in the pull request
20141001 15:58:23 <sgothel> Completely blacklisting some capabilities objects seems to be very tricky because their PFDs are still natively picked.
20141001 15:58:29 <sgothel> oh ..
20141001 15:58:29 <gouessej> sgothel: it's a bit difficult to explain but I can try to do it
20141001 15:58:36 <sgothel> maybe both then ..
20141001 15:58:54 <sgothel> i.e. additional dropping the GLCaps as well
20141001 15:59:09 <sgothel> so they won't be visible to the user caps chooser
20141001 15:59:24 <sgothel> so great ..
20141001 16:00:11 <sgothel> btw .. it doesn't seem that he native chooser (driver) uses these PFDs as long pbuffer is mentioned, otherwise Java3D would not work w/o this patch - but it does
20141001 16:00:16 <gouessej> sgothel: I'm looking for the thing that annoyed me...
20141001 16:00:53 <sgothel> (assuming you have pushed/using the Java3D patch as well, fixing the caps for offscreen usage - if using offscreen)
20141001 16:01:00 <gouessej> sgothel: in some places, I had no access to a shared resource and creating one hanged
20141001 16:01:30 <sgothel> oh ..
20141001 16:01:46 <sgothel> ofc .. when using the shared-resource, it might not be available while probing
20141001 16:01:51 <sgothel> then: don't use it
20141001 16:02:01 <sgothel> i.e. probing shall be fine w/o using this quirk
20141001 16:02:26 <gouessej> sgothel: it doesn't test whether it returns null: https://github.com/sgothel/jogl/blob/master/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLGraphicsConfigurationFactory.java#L523
20141001 16:02:58 <gouessej> sgothel: https://github.com/sgothel/jogl/blob/master/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLGraphicsConfigurationFactory.java#L513 it still returns a PFDID that matches with a removed caps object
20141001 16:03:26 <sgothel> GLRendererQuirks.existStickyDeviceQuirk(device, GLRendererQuirks.GL4NeedsGL3Request) <- look at this here :)
20141001 16:03:29 <gouessej> sgothel: even when I modify WindowsWGLGraphicsConfiguration.GLCapabilities2PFD
20141001 16:03:55 <gouessej> sgothel: Can I pass any device?
20141001 16:04:19 <sgothel> final AbstractGraphicsDevice device <- the used one ..
20141001 16:05:18 <gouessej> ok
20141001 16:05:38 <gouessej> I thought that only the default device really knows the quirks
20141001 16:05:50 <sgothel> final AbstractGraphicsDevice device = config.getScreen().getDevice(); <- queried in method for example
20141001 16:06:38 * eclesia (~husky@anon) has left #jogamp
20141001 16:07:45 <gouessej> sgothel: Then, how should I handle a null value #L523?
20141001 16:09:04 <sgothel> updateGraphicsConfigurationGDI <- operates on a preselected caps .. i.e. should not happen -> exception
20141001 16:09:40 <sgothel> in line 523 .. simply do _not_ add the null caps to the list :)
20141001 16:09:52 <sgothel> (the no preselect branch)
20141001 16:10:17 * xranby (~xranby@anon) has joined #jogamp
20141001 16:12:24 <sgothel> method should handle null results of PFD2GLCapabilities
20141001 16:12:39 <gouessej> sgothel: and then the local variables shouldn't be modified, ok
20141001 16:12:41 <sgothel> so does updateGraphicsConfigurationARB
20141001 16:14:06 <gouessej> I'll improve the fix tomorrow. I'm going to miss my train ;s
20141001 16:14:10 * gouessej (5ee4b442@anon) Quit (Quit: Page closed)
20141001 16:55:03 * monsieur_max (~maxime@anon) has joined #jogamp
20141001 18:23:35 * [Mike] (~Mike]@anon) has joined #jogamp
20141001 19:11:52 * void256 (~void@anon) has joined #jogamp
20141001 20:10:59 <monsieur_max> excellent use of oculus rift http://vimeo.com/97645686 ( not related to jogamp )
20141001 20:20:57 * xranby (~xranby@anon) Quit (Ping timeout: 246 seconds)
20141001 20:34:23 * xranby (~xranby@anon) has joined #jogamp
20141001 21:08:44 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20141001 21:24:48 * void256 (~void@anon) Quit (Quit: ChatZilla 0.9.90.1 [Firefox 32.0.3/20140923175406])
20141001 21:36:33 * xranby (~xranby@anon) Quit (Ping timeout: 246 seconds)
20141001 21:54:08 * xranby (~xranby@anon) has joined #jogamp
20141001 22:06:15 * rmk0-alt (~rmk0@anon) Quit (Ping timeout: 258 seconds)
20141001 22:12:17 * rmk0-alt (~rmk0@anon) has joined #jogamp
20141001 22:12:26 * rmk0-alt (~rmk0@anon) Quit (Changing host)
20141001 22:12:27 * rmk0-alt (~rmk0@anon) has joined #jogamp
20141001 23:39:22 * xranby (~xranby@anon) Quit (Ping timeout: 250 seconds)
20141001 23:53:13 * xranby (~xranby@anon) has joined #jogamp
20141002 00:00:37 * xranby (~xranby@anon) Quit (Ping timeout: 245 seconds)
20141002 00:15:36 * xranby (~xranby@anon) has joined #jogamp
20141002 02:33:57 * xranby (~xranby@anon) Quit (Ping timeout: 245 seconds)
20141002 02:47:18 * xranby (~xranby@anon) has joined #jogamp
20141002 05:05:53 -jogamp- Continue @ http://jogamp.org/log/irc/jogamp_20141002050553.html