Re: dlang opengl / gl / glu /glut library.
On Sunday, 22 August 2021 at 13:28:24 UTC, Mike Parker wrote: On Sunday, 22 August 2021 at 12:22:41 UTC, Виталий Фадеев wrote: https://forum.dlang.org/post/s5pvtq$2q83$1...@digitalmars.com On Wednesday, 21 April 2021 at 19:54:35 UTC, rikki cattermole wrote: On 22/04/2021 7:51 AM, Alain De Vos wrote: import bindc.opengl; bindbc bindbc-opengl provides glu* functions ? gluNewTess gluTessCallback gluTessProperty gluTessNormal gluDeleteTess able? No. As far as I know, glu isn’t maintained anymore. Derelict GLUT dynamic loader: https://github.com/vitalfadeev/DerelictGLU This is beta.
Re: dlang opengl / gl / glu /glut library.
On Sunday, 22 August 2021 at 13:28:24 UTC, Mike Parker wrote: On Sunday, 22 August 2021 at 12:22:41 UTC, Виталий Фадеев wrote: https://forum.dlang.org/post/s5pvtq$2q83$1...@digitalmars.com On Wednesday, 21 April 2021 at 19:54:35 UTC, rikki cattermole wrote: On 22/04/2021 7:51 AM, Alain De Vos wrote: import bindc.opengl; bindbc bindbc-opengl provides glu* functions ? gluNewTess gluTessCallback gluTessProperty gluTessNormal gluDeleteTess able? No. As far as I know, glu isn’t maintained anymore. Thank you, Mike.
Re: dlang opengl / gl / glu /glut library.
On Sunday, 22 August 2021 at 12:22:41 UTC, Виталий Фадеев wrote: https://forum.dlang.org/post/s5pvtq$2q83$1...@digitalmars.com On Wednesday, 21 April 2021 at 19:54:35 UTC, rikki cattermole wrote: On 22/04/2021 7:51 AM, Alain De Vos wrote: import bindc.opengl; bindbc bindbc-opengl provides glu* functions ? gluNewTess gluTessCallback gluTessProperty gluTessNormal gluDeleteTess able? No. As far as I know, glu isn’t maintained anymore.
dlang opengl / gl / glu /glut library.
https://forum.dlang.org/post/s5pvtq$2q83$1...@digitalmars.com On Wednesday, 21 April 2021 at 19:54:35 UTC, rikki cattermole wrote: On 22/04/2021 7:51 AM, Alain De Vos wrote: import bindc.opengl; bindbc bindbc-opengl provides glu* functions ? gluNewTess gluTessCallback gluTessProperty gluTessNormal gluDeleteTess able?
Re: dlang opengl / gl / glu /glut library.
If i'm correct, sdl gives you a window opengl allows to draw in this window dlang allows to model the world with objects. "Needing a hello world :)"
Re: dlang opengl / gl / glu /glut library.
My lapsus. I've got dgame & raylib-d working. I wander how I start with sdl/opengl.
Re: dlang opengl / gl / glu /glut library.
On 22/04/2021 7:51 AM, Alain De Vos wrote: import bindc.opengl; bindbc
Re: dlang opengl / gl / glu /glut library.
First opengl test. Link library. ``` import std.stdio; import bindc.opengl; void main() { writeln("Edit source/app.d to start your project."); } x: /home/x/Src/languages/dlang/opengl > ``` dub.json: ``` "authors": [ "x" ], "copyright": "Copyright © 2021, x", "dependencies": { "bindbc-opengl": "~>0.16.0", }, "description": "A minimal D application.", "license": "proprietary", "name": "opengl" } ``` dub build ``` dub build Performing "debug" build using /usr/local/bin/ldc2 for x86_64. bindbc-loader 0.3.2: target for configuration "noBC" is up to date. bindbc-opengl 0.16.0: target for configuration "dynamic" is up to date. opengl ~master: building configuration "application"... source/app.d(2,8): Error: module opengl is in file 'bindc/opengl.d' which cannot be read import path[0] = source/ import path[1] = /home/x/.dub/packages/bindbc-opengl-0.16.0/bindbc-opengl/source/ import path[2] = /home/x/.dub/packages/bindbc-loader-0.3.2/bindbc-loader/source/ import path[3] = /usr/local/include/d /usr/local/bin/ldc2 failed with exit code 1. ```
Re: dlang opengl / gl / glu /glut library.
On Sunday, 18 April 2021 at 22:35:26 UTC, Alain De Vos wrote: Is there a library with api index ? https://github.com/BindBC/bindbc-opengl use the version block you need: https://github.com/BindBC/bindbc-opengl#enable-support-for-opengl-versions-30-and-higher
Re: dlang opengl / gl / glu /glut library.
On Sunday, 18 April 2021 at 23:36:58 UTC, Alain De Vos wrote: When doing graphics the number of functions explodes. So one needs always a list, compare to a header file in c. If there are "modern" alternatives to opengl feel free. More modern from which perspective? Simpler to use (non-inclusive list of options: SDL2/Allegro/SFML bindings, cairod, DLib, dgame)? Or more modern from GPU acceleration perspective (you're probably wanting derelict-vulkan or derelict-bgfx)?
Re: dlang opengl / gl / glu /glut library.
When doing graphics the number of functions explodes. So one needs always a list, compare to a header file in c. If there are "modern" alternatives to opengl feel free.
dlang opengl / gl / glu /glut library.
Is there a library with api index ?