FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Matrix bindings

 
Post new topic   Reply to topic     Forum Index -> Derelict
View previous topic :: View next topic  
Author Message
nebster



Joined: 18 May 2011
Posts: 2

PostPosted: Wed May 18, 2011 5:12 pm    Post subject: Matrix bindings Reply with quote

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 Smile

Thanks,
Nebster Very Happy Very Happy Very Happy Very Happy Very Happy Very Happy
Back to top
View user's profile Send private message
aldacron



Joined: 05 May 2004
Posts: 1322
Location: Seoul, South Korea

PostPosted: Thu May 19, 2011 6:23 am    Post subject: Re: Matrix bindings Reply with quote

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 Smile


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
View user's profile Send private message Send e-mail
nebster



Joined: 18 May 2011
Posts: 2

PostPosted: Fri May 20, 2011 10:01 am    Post subject: Re: Matrix bindings Reply with quote

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
View user's profile Send private message
aldacron



Joined: 05 May 2004
Posts: 1322
Location: Seoul, South Korea

PostPosted: Fri May 20, 2011 8:58 pm    Post subject: Re: Matrix bindings Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Derelict All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group