Re: GLU in DerelictOrg
On Wednesday, 22 July 2015 at 00:49:29 UTC, Mike Parker wrote: On Tuesday, 21 July 2015 at 16:34:35 UTC, Spacen Jasset wrote: On Tuesday, 21 July 2015 at 15:17:13 UTC, Alex Parrill wrote: On Tuesday, 21 July 2015 at 14:51:47 UTC, John Colvin wrote: Isn't glu considered legacy these days? I think it's entirely OpenGL 2.x. For the maths stuff see http://code.dlang.org/packages/gl3n Yep. It still uses immediate mode, GL matrix functions, and all sorts of other stuff removed in OpenGL 3.1+ core. Yes, thanks John. I will be using the legacy mode though :-) Not got around to the wizz bang stuff yet. I intentionally did not port the Derelict3 GLU binding to DerelictOrg because it uses parts of the deprecated OGL API and is considered legacy these days. Initially, I didn't include support for the deprecated OGL API either, but there were enough requests for it that I finally added it. I have no intention of adding GLU, though. It's easily replaceable. Thanks Mike, that's fair enough. I shall just implement the functions I need I think until such time as I end up using the newer OpenGL 3 stuff.
Re: GLU in DerelictOrg
On Friday, 24 July 2015 at 12:56:29 UTC, Spacen Jasset wrote: Thanks Mike, that's fair enough. I shall just implement the functions I need I think until such time as I end up using the newer OpenGL 3 stuff. If you want, you can steal from Mesa's GLU implementation here: http://cgit.freedesktop.org/mesa/glu/
Re: GLU in DerelictOrg
On Tuesday, 21 July 2015 at 15:17:13 UTC, Alex Parrill wrote: On Tuesday, 21 July 2015 at 14:51:47 UTC, John Colvin wrote: Isn't glu considered legacy these days? I think it's entirely OpenGL 2.x. For the maths stuff see http://code.dlang.org/packages/gl3n Yep. It still uses immediate mode, GL matrix functions, and all sorts of other stuff removed in OpenGL 3.1+ core. Yes, thanks John. I will be using the legacy mode though :-) Not got around to the wizz bang stuff yet.
Re: GLU in DerelictOrg
On Tuesday, 21 July 2015 at 14:51:47 UTC, John Colvin wrote: Isn't glu considered legacy these days? I think it's entirely OpenGL 2.x. For the maths stuff see http://code.dlang.org/packages/gl3n Yep. It still uses immediate mode, GL matrix functions, and all sorts of other stuff removed in OpenGL 3.1+ core.
Re: GLU in DerelictOrg
On Tuesday, 21 July 2015 at 12:26:30 UTC, Spacen Jasset wrote: It seems that Derelict3 contains GLUT whereas derelict2 containss GLU. It appears I need GLU but I am somewhat confused as to what the diffrence is. Whoops, yes you are right, my mistake. Isn't glu considered legacy these days? I think it's entirely OpenGL 2.x. For the maths stuff see http://code.dlang.org/packages/gl3n
Re: GLU in DerelictOrg
On Tuesday, 21 July 2015 at 16:34:35 UTC, Spacen Jasset wrote: On Tuesday, 21 July 2015 at 15:17:13 UTC, Alex Parrill wrote: On Tuesday, 21 July 2015 at 14:51:47 UTC, John Colvin wrote: Isn't glu considered legacy these days? I think it's entirely OpenGL 2.x. For the maths stuff see http://code.dlang.org/packages/gl3n Yep. It still uses immediate mode, GL matrix functions, and all sorts of other stuff removed in OpenGL 3.1+ core. Yes, thanks John. I will be using the legacy mode though :-) Not got around to the wizz bang stuff yet. I intentionally did not port the Derelict3 GLU binding to DerelictOrg because it uses parts of the deprecated OGL API and is considered legacy these days. Initially, I didn't include support for the deprecated OGL API either, but there were enough requests for it that I finally added it. I have no intention of adding GLU, though. It's easily replaceable.
Re: GLU in DerelictOrg
On Tuesday, 21 July 2015 at 11:08:13 UTC, Spacen Jasset wrote: Hello, Can anyone tell me if the GLU functions, gluSpehere etc are availble in DerelictOrg or have they been removed. I can replace these with my own versions, but was hoping to do a quick port to DerelictOrg They are not available. See http://dblog.aldacron.net/2014/10/derelict-3-removed-from-dub-repository/ I'm not sure why they aren't part of the DerelictOrg. I'm sure it wouldn't be hard to take https://github.com/aldacron/Derelict3/tree/master/import/derelict/freeglut and make a dub package out of it yourself, maybe even add it to code.dlang.org as derelict_extras-freeglut
Re: GLU in DerelictOrg
On Tuesday, 21 July 2015 at 11:23:23 UTC, John Colvin wrote: On Tuesday, 21 July 2015 at 11:08:13 UTC, Spacen Jasset wrote: Hello, Can anyone tell me if the GLU functions, gluSpehere etc are availble in DerelictOrg or have they been removed. I can replace these with my own versions, but was hoping to do a quick port to DerelictOrg They are not available. See http://dblog.aldacron.net/2014/10/derelict-3-removed-from-dub-repository/ I'm not sure why they aren't part of the DerelictOrg. I'm sure it wouldn't be hard to take https://github.com/aldacron/Derelict3/tree/master/import/derelict/freeglut and make a dub package out of it yourself, maybe even add it to code.dlang.org as derelict_extras-freeglut Thanks John, it looks really simple. I'll see if I can get round to making a proper package from it.
Re: GLU in DerelictOrg
On 21/07/2015 11:08 p.m., Spacen Jasset wrote: Hello, Can anyone tell me if the GLU functions, gluSpehere etc are availble in DerelictOrg or have they been removed. I can replace these with my own versions, but was hoping to do a quick port to DerelictOrg https://github.com/DerelictOrg?utf8=%E2%9C%93query=+only%3Asources+glu
Re: GLU in DerelictOrg
It seems that Derelict3 contains GLUT whereas derelict2 containss GLU. It appears I need GLU but I am somewhat confused as to what the diffrence is.