[Suggestion] Allowing people to access OpenGL/SDL functions
[Suggestion] Allowing people to access OpenGL/SDL functions
Hello. I have wanted to make a 3D game, but most 3D engine that use lua are too complicated and the engines I do understand (UE4 and unity, ik they dont use lua but I understand them) don't run well enough on my computer. I was planning to use Love2D to make a 3D game by calling Dll functions using FFI, but I could never find a good way to do that. So, I have a suggestion; Allow people to access native OpenGL or SDL functions, as this would mean you could still focus on 2D but also allow hardware accelerated 3D. Thanks in advance.
Re: [Suggestion] Allowing people to access OpenGL/SDL functions
What you are looking for is a OpenGL/SDL bindings for Lua.
Love2D without its abstraction layer would not be useful at all.
Love2D without its abstraction layer would not be useful at all.
-
- Party member
- Posts: 134
- Joined: Tue Mar 29, 2011 11:05 pm
Re: [Suggestion] Allowing people to access OpenGL/SDL functions
I don't know how to answer your qustion, but have you taken a look at some Love3D projects out there? Not sure what the status is on these sort of things these days:
https://love2d.org/forums/viewtopic.php?f=5&t=78943
I think the latest stuff is here now:
https://github.com/excessive/love3d-demos
https://love2d.org/forums/viewtopic.php?f=5&t=78943
I think the latest stuff is here now:
https://github.com/excessive/love3d-demos
Re: [Suggestion] Allowing people to access OpenGL/SDL functions
I mean. The source is open. You can get below it.
Bloating the focus and start supporting 3D properly is not necessarily a good way to go. There are 3D projects which work fair enough and fast enough for basic 3D.
Love is an amazing tool for 2D. That's what it does.
Reappropriating something isn't a terribly good idea anyway. You should probably look for a 3D engine that suits your needs.
OGRE, Torque3D, XNA, MonoGame, jMonkeyEngine, etc.
There's a ton of them around.
Bloating the focus and start supporting 3D properly is not necessarily a good way to go. There are 3D projects which work fair enough and fast enough for basic 3D.
Love is an amazing tool for 2D. That's what it does.
Reappropriating something isn't a terribly good idea anyway. You should probably look for a 3D engine that suits your needs.
OGRE, Torque3D, XNA, MonoGame, jMonkeyEngine, etc.
There's a ton of them around.
Re: [Suggestion] Allowing people to access OpenGL/SDL functions
love2d already has a nice api (namely, love.graphics) that allows you to access OGL using a efficient Lua interface. Direct access to the low-level OGL/SDL functions in Lua would be missing the point. Like erasio said, you're really looking for a different kind of tool.
Who is online
Users browsing this forum: No registered users and 0 guests