Jump to page: 1 2
Thread overview
GLU in DerelictOrg
Jul 21, 2015
Spacen Jasset
Jul 21, 2015
Rikki Cattermole
Jul 21, 2015
John Colvin
Jul 21, 2015
Spacen Jasset
Jul 21, 2015
Spacen Jasset
Jul 21, 2015
John Colvin
Jul 21, 2015
Alex Parrill
Jul 21, 2015
Spacen Jasset
Jul 22, 2015
Mike Parker
Jul 24, 2015
Spacen Jasset
Jul 24, 2015
Alex Parrill
July 21, 2015
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
July 21, 2015
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%93&query=+only%3Asources+glu
July 21, 2015
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
July 21, 2015
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.
July 21, 2015
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.
July 21, 2015
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
July 21, 2015
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.
July 21, 2015
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.


July 22, 2015
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.
July 24, 2015
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.


« First   ‹ Prev
1 2