View previous topic :: View next topic |
Author |
Message |
nebster
Joined: 18 May 2011 Posts: 2
|
Posted: Wed May 18, 2011 5:12 pm Post subject: Matrix bindings |
|
|
Hey,
I'd like to thank you for doing such an awesome job on these bindings! I've been using them for quite a while now but I've been recently troubled by the fact that matrix stack is deprecated in opengl 3.0 and removed in subsequent versions.
Are you thinking of implementing any matrix manipulation code?
I know of http://glm.g-truc.net/ but it's all C++ macros...
Also, is there a function built in for compiling/running shaders? At the moment, I've just written a bit of ugly code
Thanks,
Nebster |
|
Back to top |
|
|
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
Posted: Thu May 19, 2011 6:23 am Post subject: Re: Matrix bindings |
|
|
nebster wrote: |
I'd like to thank you for doing such an awesome job on these bindings! I've been using them for quite a while now but I've been recently troubled by the fact that matrix stack is deprecated in opengl 3.0 and removed in subsequent versions.
Are you thinking of implementing any matrix manipulation code?
I know of http://glm.g-truc.net/ but it's all C++ macros...
|
No, I have no plans for anything like that. The lib you link to would be impossible to write a binding for. It's something that would have to actually be reimplemented on the D side, which is well beyond the scope of Derelict.
There are a handful of D matrix/vector math libs floating around if you don't want to implement your own. You might want to check out the team0xf stuff. Google should take you there.
Quote: | Also, is there a function built in for compiling/running shaders? At the moment, I've just written a bit of ugly code |
I'm not sure what you mean. If you mean some sort of utility function built on top of OpenGL, then no. There are no such utilities in Derelict. Again, beyond the scope of the project.
Sorry! _________________ The One With D | The One With Aldacron | D Bits |
|
Back to top |
|
|
nebster
Joined: 18 May 2011 Posts: 2
|
Posted: Fri May 20, 2011 10:01 am Post subject: Re: Matrix bindings |
|
|
aldacron wrote: | There are a handful of D matrix/vector math libs floating around if you don't want to implement your own. You might want to check out the team0xf stuff. Google should take you there. |
Would you mind pointing me to it please?
I looked for ages for a library in D but I couldn't fine one! I thought team0xf.com had been shut down/wiped?
aldacron wrote: | I'm not sure what you mean. If you mean some sort of utility function built on top of OpenGL, then no. There are no such utilities in Derelict. Again, beyond the scope of the project.
Sorry! |
Thanks, I didn't think it was, but I thought I may as well ask!
Nebster |
|
Back to top |
|
|
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
Posted: Fri May 20, 2011 8:58 pm Post subject: Re: Matrix bindings |
|
|
nebster wrote: | I looked for ages for a library in D but I couldn't fine one! I thought team0xf.com had been shut down/wiped? |
Oh, I had no idea the team0xf site was gone. Anyway, their omg math library still survives. You can find it in the source tree of Fawzi Mohamed's Blip library. _________________ The One With D | The One With Aldacron | D Bits |
|
Back to top |
|
|
|