#jogamp @ irc.freenode.net - 20150508 05:05:35 (UTC)


20150508 05:05:35 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20150507050535.html
20150508 05:05:35 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20150508050535.html
20150508 07:23:20 * monsieur_max (~maxime@anon) has joined #jogamp
20150508 07:31:59 * elect (~elect@anon) has joined #jogamp
20150508 09:13:18 * doev (~doev@anon) has joined #jogamp
20150508 09:20:47 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20150508 09:22:05 * monsieur_max (~maxime@anon) has joined #jogamp
20150508 10:02:59 <elect> I miss gods
20150508 10:27:13 * doev (~doev@anon) Quit (Ping timeout: 256 seconds)
20150508 10:29:08 * elect_ (~elect@anon) has joined #jogamp
20150508 11:18:25 * doev (~doev@anon) has joined #jogamp
20150508 11:25:00 * elect_ (~elect@anon) Quit (Ping timeout: 272 seconds)
20150508 11:30:48 * doev (~doev@anon) Quit (Remote host closed the connection)
20150508 15:25:48 * elect (~elect@anon) Quit (Ping timeout: 272 seconds)
20150508 15:29:15 * dirtytrixzzster (~gingerb3a@anon) has joined #jogamp
20150508 15:31:37 * badshah400 (~badshah40@anon) has joined #jogamp
20150508 15:51:45 * badshah400 (~badshah40@anon) Quit (Quit: badshah400)
20150508 15:52:01 * badshah400 (~badshah40@anon) has joined #jogamp
20150508 15:56:37 * badshah400 (~badshah40@anon) Quit (Ping timeout: 264 seconds)
20150508 16:20:37 * badshah400 (~badshah40@anon) has joined #jogamp
20150508 18:10:28 * elect (~elect@anon) has joined #jogamp
20150508 18:34:43 * elect (~elect@anon) Quit (Ping timeout: 250 seconds)
20150508 19:30:51 * elect (~elect@anon) has joined #jogamp
20150508 19:45:39 * Murii (~smuxi@anon) has joined #jogamp
20150508 19:45:58 <Murii> This is JOGL's IRC channel?
20150508 19:47:00 <rmk0> it is!
20150508 19:47:27 <Murii> oh
20150508 19:47:28 <Murii> cool
20150508 19:47:45 <Murii> Are there any sample on how to run JOGL on android or web?
20150508 19:48:00 <Murii> (HTML5 or Applet,does not matter)
20150508 19:48:38 <rmk0> i wrote this a couple of years back: http://jogamp.org/wiki/index.php/Maven_And_Android
20150508 19:48:49 <Murii> Thx
20150508 19:48:58 <rmk0> i'm not sure if it still works, but it's about as minimal an example as you can get
20150508 19:49:16 <rmk0> someone else might be able to point you at jogl's test suite cases, but i'm not familiar with them
20150508 19:49:29 <Murii> rmk0: How should I work with OpenGL since for desktop I need gl and on phones gl es?
20150508 19:50:08 <rmk0> it is possible to use GL ES on the desktop if you want to stick to one
20150508 19:50:16 <Murii> really?
20150508 19:50:25 <Murii> how's that?
20150508 19:50:39 <rmk0> well, all modern drivers that i'm aware of support opening an ES context
20150508 19:50:40 <Murii> I think I know how,but are there any samples?
20150508 19:50:48 <rmk0> it's basically:
20150508 19:51:01 <rmk0> GLProfile profile = GLProfile.get(GLProfile.GLES2);
20150508 19:51:19 <Murii> how's jogl compared to lwjgl?
20150508 19:51:29 <Murii> for now I think it's better since it has android
20150508 19:51:30 <Murii> and web
20150508 19:51:40 <Murii> but I want to know from your point of view
20150508 19:51:52 <rmk0> i used to maintain both JOGL and LWJGL backends for my software
20150508 19:52:13 <rmk0> i stopped bothering with LWJGL a couple of years back as it was starting to lag far behind and the support wasn't anywhere near as good
20150508 19:52:15 <Murii> weird :)
20150508 19:52:23 <Murii> I see
20150508 19:52:50 <rmk0> well the issue on java is that with two sets of bindings, if you write a library, you end up having to write both JOGL and LWJGL versions if you don't want to dictate to a user of your library which bindings to use
20150508 19:53:40 <rmk0> JOGL is nice in that it exposes the different OpenGL profiles as interfaces
20150508 19:53:58 <rmk0> whereas in LWJGL, you just get a big pile of static methods and have to be careful to avoid using any that aren't in the profile you're using
20150508 19:54:28 <rmk0> JOGL turns mistakes into compile-time errors, in that regard
20150508 19:54:39 <rmk0> preferable to finding out late into run-time that you called the wrong method
20150508 19:54:49 <Murii> can I make Applets from jogl?
20150508 19:54:55 <Murii> with*
20150508 19:55:17 <rmk0> i think there's been a lot of work done to keep applets working... i've never used them so i don't know how it works
20150508 19:55:59 <rmk0> http://jogamp.org/wiki/index.php/Using_JOGL_in_a_Java_applet
20150508 19:56:00 <rmk0> apparently
20150508 19:56:20 <Murii> cool!
20150508 19:56:39 <rmk0> there's a ton of documentation for JOGL
20150508 19:56:52 <rmk0> can be hard to find exactly what you're supposed to be reading
20150508 19:58:04 <Murii> I'm in then :)
20150508 19:59:56 <rmk0> i think it's ever so slightly easier to get started with LWJGL, but it's basically downhill from there
20150508 20:00:36 <rmk0> it's obviously designed to be mindlessly simple and to support only the single-display fullscreen game use case
20150508 20:01:06 <rmk0> you get access to contexts directly for multithreaded rendering and so on with JOGL
20150508 20:01:37 <rmk0> you'd... probably not be doing much of that on the average phone
20150508 20:16:34 <Murii> rmk0: How can I detect if a keyboard key was just Pressed and Pressed
20150508 20:16:56 <rmk0> are you using NEWT?
20150508 20:17:22 <Murii> hm?
20150508 20:17:56 <Murii> Input implements Input, MouseMotionListener, MouseListener, MouseWheelListener, KeyListener
20150508 20:18:10 <Murii> MyInput implements ...
20150508 20:19:06 <rmk0> is this ... code that exists somewhere?
20150508 20:21:24 <Murii> MyInput class implemetse these methods
20150508 20:21:37 <Murii> and I was modering how can I detect if justpressed and pressed occured
20150508 20:22:43 <rmk0> i'm not sure if the question is "how do i get JOGL to call my input handlers" or "how do i detect this specific input pattern"
20150508 20:28:58 <Murii> second one
20150508 20:28:59 <Murii> :)
20150508 20:29:51 <Murii> Can I use openAL with jogl?
20150508 20:30:12 <rmk0> http://jogamp.org/joal/www/
20150508 20:30:56 <rmk0> not sure what you mean by "Pressed and Pressed"
20150508 20:31:07 <Murii> pressed and JUST pressed
20150508 20:31:19 <rmk0> like... not held?
20150508 20:31:56 <Murii> pressed = if I press it once it will output it 6 times
20150508 20:32:07 <Murii> and just pressed = press it once and outout it 1 time
20150508 20:32:13 <Murii> that's what I mean
20150508 20:32:14 <Murii> :)
20150508 20:33:21 <Murii> Also what do you think,is openal really needed or ?
20150508 20:34:05 <rmk0> think it depends on whether or not you want spatial effects
20150508 20:57:32 * Murii (~smuxi@anon) Quit (Remote host closed the connection)
20150508 21:14:13 * dirtytrixzzster (~gingerb3a@anon) Quit (Quit: Konversation terminated!)
20150508 21:24:16 * badshah400 (~badshah40@anon) Quit (Ping timeout: 272 seconds)
20150508 21:40:39 * elect (~elect@anon) Quit (Ping timeout: 245 seconds)
20150508 21:49:00 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20150509 02:18:04 * badshah400 (~badshah40@anon) has joined #jogamp
20150509 04:56:17 * badshah400 (~badshah40@anon) Quit (Quit: badshah400)
20150509 05:04:52 * badshah400 (~badshah40@anon) has joined #jogamp
20150509 05:05:36 -jogamp- Continue @ http://jogamp.org/log/irc/jogamp_20150509050536.html