#jogamp @ irc.freenode.net - 20140521 05:05:15 (UTC)
20140521 05:05:15 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20140520050515.html
20140521 05:05:15 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20140521050515.html
20140521 05:33:25 * [Mike] (~Mike]@anon) Quit (Ping timeout: 265 seconds)
20140521 06:00:31 * [Mike] (~Mike]@anon) has joined #jogamp
20140521 06:05:48 * jvanek (jvanek@anon) has joined #jogamp
20140521 06:46:43 * monsieur_max (~maxime@anon) has joined #jogamp
20140521 06:55:10 <sgothel> http://jogamp.org/git/?p=jogl.git;a=shortlog;h=refs/heads/bug741_hidpi
20140521 06:55:15 <sgothel> ^^ WIP
20140521 07:11:04 * hija (~hija@anon) has joined #jogamp
20140521 07:16:04 <jvanek> sgothel, O:)
20140521 07:17:20 * [Mike] (~Mike]@anon) Quit (Read error: Connection reset by peer)
20140521 07:51:01 * rmk0 (~rmk0@anon) has joined #jogamp
20140521 07:51:02 * rmk0 (~rmk0@anon) Quit (Changing host)
20140521 07:51:02 * rmk0 (~rmk0@anon) has joined #jogamp
20140521 07:57:18 * jvanek (jvanek@anon) Quit (Quit: Leaving)
20140521 08:02:18 * hija (~hija@anon) Quit (Quit: hija)
20140521 08:51:28 * hija (~hija@anon) has joined #jogamp
20140521 09:04:36 * hija (~hija@anon) Quit (Quit: hija)
20140521 09:07:54 * jvanek (jvanek@anon) has joined #jogamp
20140521 09:39:45 * xranby (~xranby@anon) Quit (Ping timeout: 252 seconds)
20140521 09:48:54 * jvanek (jvanek@anon) Quit (Quit: Leaving)
20140521 09:50:16 * hija (~hija@anon) has joined #jogamp
20140521 09:50:25 * jvanek (jvanek@anon) has joined #jogamp
20140521 09:55:50 * xranby (~xranby@anon) has joined #jogamp
20140521 10:55:29 * xranby (~xranby@anon) Quit (Ping timeout: 264 seconds)
20140521 11:02:23 * xranby (~xranby@anon) has joined #jogamp
20140521 11:38:19 * xranby (~xranby@anon) Quit (Ping timeout: 240 seconds)
20140521 11:38:52 * xranby (~xranby@anon) has joined #jogamp
20140521 12:16:27 * guardianp (~gp@anon) Quit (Remote host closed the connection)
20140521 12:46:21 <bbbruce> hey
20140521 12:46:42 <bbbruce> what would be the advised way of making something like a first person camera
20140521 12:47:02 <bbbruce> I am having some trouble with mouse events when the mouse cursor is outside of the window
20140521 12:53:14 <monsieur_max> iirc there's something to block the mouse pointer in the window from jogl 2.1.4, not sure if that can help
20140521 13:05:14 <bbbruce> a hack would be to warp the cursor to center of the screen
20140521 13:47:05 * jvanek (jvanek@anon) Quit (Quit: Leaving)
20140521 14:31:06 * xranby (~xranby@anon) Quit (Ping timeout: 240 seconds)
20140521 14:31:40 * xranby (~xranby@anon) has joined #jogamp
20140521 14:36:20 * gouessej (5ee4b442@anon) has joined #jogamp
20140521 14:37:27 <gouessej> bbbruce, this kind of thing is already implemented in Jake 2, Sven ported its source code to JOGL 2
20140521 14:38:00 <gouessej> I implemented this kind of camera in my first person shooter too
20140521 14:38:51 <gouessej> It's build-in in Ardor3D and JMonkeyEngine
20140521 14:39:05 <bbbruce> I got the maths right, just need an idea about what to do with the mouse events
20140521 14:39:27 <bbbruce> I am warping the mouse to the center of the window now, which is not very convenient
20140521 14:41:22 <gouessej> this is what is already done except when using the raw data instead of the mouse events
20140521 14:41:51 <gouessej> https://github.com/gouessej/Ardor3D/blob/master/ardor3d-jogl/src/main/java/com/ardor3d/input/jogl/JoglNewtMouseWrapper.java#L154
20140521 14:48:50 <gouessej> As far as I know, the mouse events are built with the data of the window manager. Then, the mouse pointer cannot go outside of the virtual screen (one or multiple physical monitors).
20140521 14:49:23 <gouessej> These are absolute data, they indicate the position of the mouse pointer, not the amount of movement between two moments
20140521 14:50:07 <gouessej> When using AWT or NEWT, you only get this kind of information, which isn't very convenient
20140521 14:51:16 <gouessej> You have to warp the pointer to the center to allow the player to go on being able to rotate
20140521 14:51:46 <gouessej> You have to take into account this when managing the moves
20140521 14:52:31 <gouessej> When you use JInput (or in the future NEWT Input API), you get the relative delta
20140521 14:52:45 <gouessej> You don't have to warp the pointer
20140521 14:57:28 * xranby (~xranby@anon) Quit (Ping timeout: 265 seconds)
20140521 14:59:36 * xranby (~xranby@anon) has joined #jogamp
20140521 15:06:48 <xranby> http://www.zerohedge.com/news/2014-05-20/china-signs-non-dollar-settlement-deal-russias-largest-bank
20140521 15:29:20 * gouessej (5ee4b442@anon) Quit (Quit: Page closed)
20140521 15:32:30 <hharrison> sgothel: investigating a theory re our osx problems:
20140521 15:32:32 <hharrison> https://bugreports.qt-project.org/browse/QTBUG-34642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel
20140521 15:36:08 * xranby (~xranby@anon) Quit (Ping timeout: 265 seconds)
20140521 15:51:38 <hharrison> see the last comment there
20140521 15:56:57 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20140521 15:57:32 * xranby (~xranby@anon) has joined #jogamp
20140521 16:20:48 <sgothel> @Harvey: I cannot confirm this .. i.e. NewtCanvasAWT works even w/ pressing 'r' for reparenting and preserving the GLContext .. so re-attaching the drawable very well works and is specified to do so ofc.
20140521 16:21:26 <sgothel> sounds like some driver bug .. if this is the one .. hmm
20140521 16:21:45 <sgothel> me OSX + NV
20140521 16:22:17 <sgothel> I don't think we issue GL commands before the CALayer is complete neither .. hmm
20140521 16:22:49 <sgothel> even though .. CALAyer is created on OSX main-thread non-blocking ..
20140521 16:27:00 <hharrison> we're just working through the debug at this point, will return with more details if applicable
20140521 16:27:11 <hharrison> just thought that was an interesting bug
20140521 16:27:57 <sgothel> sure sure .. just would have thought that this would be triggered here as well .. still a chance that it is possible.
20140521 16:29:17 <sgothel> HiDPI: We could NativeWindow.getWindowWidth() -> NativeWindow.getWidth() w/o API collision
20140521 16:30:04 <sgothel> the only offside .. hmm .. that NEWT apps may not notice that they are now using window units .. since they use getWidth() in NEWT Window and it's semantics have changed ..
20140521 16:30:07 <sgothel> opinions ?
20140521 16:43:28 <hharrison> I'm not sure it's possible to make it 'just work', but at least providing the old getWidth returning window units will still work everywhere non-dpi
20140521 16:43:45 <sgothel> https://jogamp.org/bugzilla/show_bug.cgi?id=741#c8
20140521 16:43:59 <hharrison> Still provide the two sets of getters, one in window units, one in surface units
20140521 16:44:09 <sgothel> ay
20140521 16:44:10 <hharrison> and then just say all the old accessors return window units?
20140521 16:44:19 <hharrison> then maybe @deprecated them?
20140521 16:44:33 <sgothel> there would be no old accessors ..
20140521 16:45:42 <sgothel> so I guess .. NativeWindow.getWidth() it will be .. sort-of .. again :)
20140521 16:45:43 <sgothel> thx
20140521 16:46:11 <hharrison> I dunno, if you have to deal with this stuff, maybe explicit window/surafce in the naming is most-obvious
20140521 16:46:22 <sgothel> it was good to do this method name change for refactoring though ..
20140521 16:46:24 <hharrison> then it's impossible to get mixed up with the AWT ones
20140521 16:46:40 <hharrison> I dunno
20140521 16:46:59 <sgothel> right now we don't implement NativeWindow while deriving from AWT ..
20140521 16:47:15 <sgothel> but yes, if so .. that would be an issue .. maybe, if semantics are different
20140521 16:47:28 <sgothel> but I doubt that .. since it should be the window unit here ..
20140521 16:47:35 <sgothel> same would go for getX() .. etc
20140521 16:47:42 <sgothel> so .. either - or
20140521 16:47:52 <sgothel> all simple, or all explicit names
20140521 16:47:54 <hharrison> he who codes, rules
20140521 16:48:23 <hharrison> I don't mind explicit window/surface, but simple names that match the X-Y helpers certainly makes sense
20140521 16:50:04 <sgothel> all this change may also allow us to impl. an FBO solution for diff DPI of surface/window :)
20140521 16:50:41 <sgothel> just in case .. anybody cares to have a low-res windowing content
20140521 16:51:12 <sgothel> (or down-scaled hi-res for that matter)
20140521 16:51:53 * xranby (~xranby@anon) Quit (Ping timeout: 264 seconds)
20140521 16:53:22 * xranby (~xranby@anon) has joined #jogamp
20140521 17:34:54 * [Mike] (~Mike]@anon) has joined #jogamp
20140521 18:11:43 * hija (~hija@anon) Quit (Quit: hija)
20140521 18:13:14 * monsieur_max (~maxime@anon) has joined #jogamp
20140521 18:13:34 * monsieur_max (~maxime@anon) Quit (Client Quit)
20140521 18:14:21 * monsieur_max (~maxime@anon) has joined #jogamp
20140521 20:11:56 <hharrison> sgothel: Mac mavericks problems -> java 7 only, java 6 works fine
20140521 20:12:18 <hharrison> what Java have you been testing with?
20140521 20:22:29 * xranby (~xranby@anon) Quit (Ping timeout: 264 seconds)
20140521 20:40:58 * xranby (~xranby@anon) has joined #jogamp
20140521 21:03:29 <sgothel> 7u55
20140521 21:04:00 <sgothel> java6 may indicate not using CALayer ..
20140521 21:04:20 <sgothel> would be great if you can reduce the test case
20140521 21:04:46 <sgothel> or at least give us a recipe for reproduction .. (-> Bug report)
20140521 21:26:09 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20140521 21:32:05 <hharrison> run jaamsim? ;-)
20140521 21:32:35 <hharrison> I'm trying to compare our renderwindow class to the junit test you have in the repo to try and spot the difference
20140521 21:33:37 <sgothel> great .. if the latter does not work . .. I will jump in testing jaamsim
20140521 21:34:56 <hharrison> don't worry about it quite yet (unless you _really_ want to) I will try my best to reduce a tests case
20140521 21:35:17 <sgothel> sure .. thx! me busy w/ HiDPI ..
20140521 21:35:31 <sgothel> (just saying .. will jump in later ..)
20140521 21:35:51 <sgothel> is it time to book flight & hotel ?
20140521 21:36:50 <sgothel> can you recommend a nice hotel around ? I like the little ones, best one I had was one serving good espresso and having a real breakfast :)
20140521 22:02:30 <hharrison> I think there's an indigo hotel downtown that's smaller and has been well reviewed when people have come here to visit
20140521 22:02:56 <hharrison> I haven't stayed at a lot of Vancouver hotels
20140521 22:03:50 <sgothel> thx will look it up
20140521 22:04:08 <hharrison> I'll ask the wife tonight, she knows better than I
20140521 22:04:14 <hharrison> expect an email
20140521 22:04:44 <sgothel> THX !
20140521 22:07:27 <hharrison> Don't expect great breakfast in the hotels here, better to hit the bistros adjacent to them
20140521 22:28:37 * magaio (~magaio@anon) Quit (Ping timeout: 245 seconds)
20140521 22:28:45 * magaio_ (~magaio@anon) has joined #jogamp
20140521 22:29:09 * magaio_ is now known as magaio
20140521 22:49:33 * [Mike] (~Mike]@anon) Quit (*.net *.split)
20140521 23:09:05 * hija (~hija@anon) has joined #jogamp
20140521 23:09:24 * [Mike] (~Mike]@anon) has joined #jogamp
20140522 00:39:58 * kermyt (~kermyt@anon) Quit (Ping timeout: 240 seconds)
20140522 00:44:02 * kermyt (~kermyt@anon) has joined #jogamp
20140522 00:44:07 * kermyt (~kermyt@anon) Quit (Changing host)
20140522 00:44:07 * kermyt (~kermyt@anon) has joined #jogamp
20140522 01:52:07 * hija (~hija@anon) Quit (Quit: hija)
20140522 02:09:14 * guardianp (~gp@anon) has joined #jogamp
20140522 02:56:46 * magaio (~magaio@anon) Quit (Ping timeout: 258 seconds)
20140522 02:56:46 * jogamp (~jogamp@anon) Quit (Ping timeout: 258 seconds)
20140522 02:56:46 * Disconnected.