Jump to content
  • Advertisement
Sign in to follow this  
andrew111

OpenGL Looking for OpenGL 3 bindings for lua

This topic is 2844 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I've been looking around for some opengl 3 bindings for lua, though the only thing I've found is some bindings for versions 1.1 and 1.3.

I'm starting to think that there aren't any such bindings, but I'm posting here hoping I may have missed one.

Thanks.

Share this post


Link to post
Share on other sites
Advertisement
I think GeeXLab support everything up to OpenGL 4.1. Tough, it is not just a simple binding.

[Edited by - Kambiz on December 7, 2010 4:18:45 AM]

Share this post


Link to post
Share on other sites
Quote:
Original post by Kambiz
I think GeeXLab support everything up to OpenGL 4.1. Tough, it is not just a simple binding.


Yeah I just wanted a simple binding.

Quote:
Original post by TheBuzzSaw
It's really easy to wire Lua into C. Just make your own bindings.



Yeah I was doing that but it was starting to get laborious.

Quote:
Original post by doesnotcompute
Making your own bindings would be a ton of work. You could check out SWIG though to automate the process.



Thanks looks good.

Share this post


Link to post
Share on other sites
Yeah let me know if you have any questions about it (SWIG). I haven't used it with Lua specifically, but I've used it a lot to generate C# bindings for C++ code. I looked into their Lua support a bit and it seemed great (and very easy to use) except it only supports calling C/C++ code from Lua and doesn't help you call Lua code from C which is needed for general game scripting... but for creating an OpenGL wrapper it probably would work well.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!