LÖVE3D

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
TurtleP
Party member
Posts: 147
Joined: Thu Mar 22, 2012 9:20 pm
Contact:

Re: LOVE3D: For Realsies

Post by TurtleP » Fri Oct 31, 2014 3:56 pm

Last question (you're probably getting annoyed with all my questions :| )

If a model has a rigged animation such as walk, indexed as ACT_WALK, how do you plan to play the animation? I'm asking this because it looks like you made your original video look as though you moved a ton of bones on the model by code, which is very frustrating.

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

Re: LOVE3D: For Realsies

Post by Karai17 » Fri Oct 31, 2014 3:59 pm

It's actually all automated! Just set the current animation to ACT_WALK and off it goes!

I'm not annoyed, I'm actually pleased someone is finally taking notice of this, heh.
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+

Dev Blog | GitHub | excessive ❤ moé

User avatar
TurtleP
Party member
Posts: 147
Joined: Thu Mar 22, 2012 9:20 pm
Contact:

Re: LOVE3D: For Realsies

Post by TurtleP » Fri Oct 31, 2014 4:09 pm

I asked these questions because I am interested, and also because I code addons (which use Lua) for Garry's Mod. The system they use is stuff like:

Vector(number, number, number) which makes a new Vector
Player.GetEyeTrace() returns where the game's cursor is looking toward and things like: is this object an entity (trace.Entity)? You can even check the material of a wall!
Entity:SetPosition(Vector(number, number, number)) sets the position of an entity in the world to the Vector given

But don't think I'm making suggestions for only me, it's more of things to think about when you build this!

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

Re: LOVE3D: For Realsies

Post by Karai17 » Fri Oct 31, 2014 4:10 pm

If you check out the math library I posted about (Simplex), you'll note there are several other modules with lots of interesting stuff.
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+

Dev Blog | GitHub | excessive ❤ moé

User avatar
TurtleP
Party member
Posts: 147
Joined: Thu Mar 22, 2012 9:20 pm
Contact:

Re: LOVE3D: For Realsies

Post by TurtleP » Fri Oct 31, 2014 4:12 pm

Karai17 wrote:If you check out the math library I posted about (Simplex), you'll note there are several other modules with lots of interesting stuff.
Will do! I will also check out the .love once I get on my laptop, since this computer where I'm at doesn't have shader support :P

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 » Sat Nov 01, 2014 6:27 am

This is, again, amazing! How does the camera work? Do you have an API for it?
My library:
LovelyMoon

Check out my current project:
Raycaster

Oh hey, I have a website now!

User avatar
miko
Party member
Posts: 409
Joined: Fri Nov 26, 2010 2:25 pm
Location: PL

Re: LOVE3D: For Realsies

Post by miko » Sat Nov 01, 2014 9:34 am

shakesoda wrote:
Jasoco wrote:You'll have to elaborate on that. What exactly is customized? Will there be a Mac version of this customized Löve engine? Or a Linux? Is this customized Love engine helping with the speed of rendering or is that a shader? How do you handle pixel depth?
It's a custom build of Love's vertex buffer branch that we patched to fix a crash, and an FFI binding we're using is currently having issues on not-Windows or we'd just include bins.

The vertex buffer branch exposes arbitrary vertex attributes to shaders and we used FFI to enable OpenGL's depth testing. We're going to get it working on other stuff, it's just not the first priority.
So is this only modification from vanilla love version (addition of vertex buffer)? I am another one waiting for linux version to try out.
My lovely code lives at GitHub: http://github.com/miko/Love2d-samples

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

Re: LOVE3D: For Realsies

Post by Karai17 » Sat Nov 01, 2014 4:06 pm

https://gist.github.com/shakesoda/11f13a6ceefa2fa946c9

Run the above diff against the vertex buffer branch and you will have the same executable we have. We're using a few raw OpenGL calls within lua as well, and we've updated how we do things since we first posted. Once we solve another bug or two, we may release an updated demo.

If anyone wants to compile a mac environment, we'd be happy to host it here as well.
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 » Sun Nov 02, 2014 5:53 am

Image

Don't mind me, just chunking procedurally generated terrain. This took longer than expected to get working, but now it works great! We need to smooth out the lighting across chunks and reimplement smooth interpolation, but now that we have chunking, we can generate large swaths of terrain in a relatively short period of time.

On my PC it takes roughly 18 seconds to generate a 256m^2 area. I'm sure we can probably speed it up, but for now.. it works!
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+

Dev Blog | GitHub | excessive ❤ moé

davisdude
Party member
Posts: 1154
Joined: Sun Apr 28, 2013 3:29 am
Location: North Carolina

Re: LOVE3D: For Realsies

Post by davisdude » Sun Nov 02, 2014 8:04 pm

Nice work! Loving the progress pictures, too!
Two questions, though:
- What do the devs think about it? (If you know. Don't put words in their mouth ;))
- Have you handled transformations (scaling, rotating, etc.)?
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests