LÖVE3D

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
Doctory
Party member
Posts: 441
Joined: Fri Dec 27, 2013 4:53 pm

Re: LOVE3D: For Realsies

Post by Doctory » Sat Oct 18, 2014 8:52 am

this makes everything i want to make meaningless
"This is what videogames should be like; they should have meaning and triple machine guns"
- Jan Willem Nijman, 2013
github

User avatar
Karai17
Party member
Posts: 883
Joined: Sun Sep 02, 2012 10:46 pm

Re: LOVE3D: For Realsies

Post by Karai17 » Sat Oct 18, 2014 9:24 am

No way! Once we work out some of the kinks and do a proper release, you can use this as a stepping stone to build on!
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+

Dev Blog | GitHub | excessive ❤ moé

User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: LOVE3D: For Realsies

Post by kikito » Sat Oct 18, 2014 5:30 pm

I would only think about using this if it had a proper "lövely" interface. 3-d tends to make things complex, and I am not sure of how to match that with a streamlined API. I hope you are not just doing OpenGL calls from Lua (maybe you mentioned it somewhere, but I'm on my mobile phone until Monday)
When I write def I mean function.

User avatar
Karai17
Party member
Posts: 883
Joined: Sun Sep 02, 2012 10:46 pm

Re: LOVE3D: For Realsies

Post by Karai17 » Sat Oct 18, 2014 5:44 pm

Some things are raw OpenGL calls, but they aren't heavily used, just enabling a few features. The key here is the Vertex Buffer that slime is (slowly) adding into LOVE proper which allows you to, well, buffer vertices. This allows us to send bajillions of vertices to the GPU at once, instead of rendering them via CPU.

On top of that, we built a custom IQE model loader which allows us to export rigged models and full animations from Blender and import them into LOVE. Parsing an IQE file is very slow however, so our next step will probably be to load an IQM model via FFI. That should make load times blazingly fast.

This is all preliminary "lol we got it working" code, and we plan to refine it into something more usable. We just felt like showing off what we accomplished! :D

Final note: Everything here works very well with the LOVE API. Ultimately 3D is simply 2D with lots of matrix transforms and such, so it's not too far out of scope for LOVE to be able to handle this. Some additions to the API are needed to fully realize a 3D environment, none of which would affect LOVE's 2D API. It's just a matter of convincing the LOVE devs to spend time adding those features which is understandably difficult since they are focusing more on the 2D aspects of LOVE and anything we ask them to consider is not much of a priority.

Even without things like Uniform Buffers, I'm quite impressed that I can pull off four million triangles without dropping my frame rate below 60 on a mid-tier GPU (GTX 550 Ti), though I suspect when we spend some time optimizing, that will increase significantly.
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+

Dev Blog | GitHub | excessive ❤ moé

User avatar
slime
Solid Snayke
Posts: 2858
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: LOVE3D: For Realsies

Post by slime » Sat Oct 18, 2014 5:58 pm

This is the branch of LÖVE that adds the VertexBuffer API (for use with Meshes.) As mentioned, I'm not completely happy with it yet.

User avatar
Karai17
Party member
Posts: 883
Joined: Sun Sep 02, 2012 10:46 pm

Re: LOVE3D: For Realsies

Post by Karai17 » Sat Oct 18, 2014 5:59 pm

You should add in our bug fix so other people can compile it, too D:
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+

Dev Blog | GitHub | excessive ❤ moé

User avatar
Karai17
Party member
Posts: 883
Joined: Sun Sep 02, 2012 10:46 pm

Re: LOVE3D: For Realsies

Post by Karai17 » Tue Oct 21, 2014 10:49 pm



Poked around a bit with this today. We should probably have a Linux and Mac build ready soon for people to play with!
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+

Dev Blog | GitHub | excessive ❤ moé

User avatar
CrackedP0t
Citizen
Posts: 69
Joined: Wed May 07, 2014 4:01 am
Contact:

Re: LOVE3D: For Realsies

Post by CrackedP0t » Tue Oct 21, 2014 11:30 pm

That's hilarious!
I can't wait for the Linux build.
/人 ◕‿‿◕ 人\
Here, have an umlaut. Ö

User avatar
Davidobot
Party member
Posts: 1150
Joined: Sat Mar 31, 2012 5:18 am
Location: Game-Dev. Land
Contact:

Re: LOVE3D: For Realsies

Post by Davidobot » Wed Oct 22, 2014 4:20 am

Karai17 wrote:
Poked around a bit with this today. We should probably have a Linux and Mac build ready soon for people to play with!
I expected you to make a Girls und Panzer thing. Looks great!
My library:
LovelyMoon

Check out my current project:
Raycaster

Oh hey, I have a website now!

User avatar
shakesoda
Citizen
Posts: 78
Joined: Thu Sep 25, 2014 11:57 am
Location: Seattle, WA
Contact:

Re: LOVE3D: For Realsies

Post by shakesoda » Wed Oct 22, 2014 6:53 pm

Image
excessive ❤ moé (LÖVE3D, CPML, ...). holo on IRC.

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests