Author Topic: LwJGL 3.1?  (Read 654 times)

Offline AGP

  • quad
  • ******
  • Posts: 1518
    • View Profile
LwJGL 3.1?
« on: January 08, 2017, 08:58:02 pm »
I'm concerned that the old lwjgl dlls might stop working soon (and certainly will at some point). I'm actually only downloading it right now. I haven't even had a look at it, but I gather it's something much fatter and redundant than the 2s. I don't even know if AWTGLCanvas was kept. Have you tested jpct with version 3.1?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11748
    • View Profile
    • http://www.jpct.net
Re: LwJGL 3.1?
« Reply #1 on: January 08, 2017, 09:07:48 pm »
It won't work with 3.x. In my opinion. 3.x is much too complicated and blown-up for what LW(!)JGL is supposed to be. I also don't think that 2.x will go away anytime soon, because...Minecraft.

So, no I haven't tested it, because it won't work. And I don't have plans to port it to 3.x unless I really have to.

Offline AGP

  • quad
  • ******
  • Posts: 1518
    • View Profile
Re: LwJGL 3.1?
« Reply #2 on: January 10, 2017, 03:00:44 am »
But has there been a new build of 2.x in the last few years?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11748
    • View Profile
    • http://www.jpct.net
Re: LwJGL 3.1?
« Reply #3 on: January 10, 2017, 08:26:54 pm »
The latest build is exactly two years old. But as long as it works fine, I see no need to switch. They used to release one version a year only anyway. 3.x is going into the wrong direction IMHO. I don't want to spend the time to redo a lot of things just because someone thought that it's "cooler" that way. I'll wait and see...
« Last Edit: January 10, 2017, 08:30:19 pm by EgonOlsen »

Offline AGP

  • quad
  • ******
  • Posts: 1518
    • View Profile
Re: LwJGL 3.1?
« Reply #4 on: January 20, 2017, 06:54:03 pm »
What about committing straight with JOGL? It seems pretty mature from their web site, and it mentions "integrating with AWT" (there's a GLCanvas class in the docs).

Offline AGP

  • quad
  • ******
  • Posts: 1518
    • View Profile
Re: LwJGL 3.1?
« Reply #5 on: January 20, 2017, 11:26:13 pm »
And while I'm asking about this, have you considered adding Polylines to the software renderer? Don't you think that the choice of renderers should be seemless (that jpct shouldn't really "know" which renderer you're using)?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11748
    • View Profile
    • http://www.jpct.net
Re: LwJGL 3.1?
« Reply #6 on: January 22, 2017, 08:50:52 pm »
Yes, in theory, I agree. But honestly, nobody is actually using the software renderer anymore. Anyway, I might look into again in the future. I'm not sure why I didn't port it back to the software renderer. There had to be a reason, because the software renderer actually already has some code to draw line in it.

Offline AGP

  • quad
  • ******
  • Posts: 1518
    • View Profile
Re: LwJGL 3.1?
« Reply #7 on: January 23, 2017, 06:35:59 am »
I use it all the time. It's useful for prototyping, but it's also useful in case something goes wrong with drivers. By the way, why not get rid of the legacy renderer  altogether (but update the SoftGL) at this point? That one I'm sure no one uses. LOL