Page 5 of 21

Re: LOVE3D: For Realsies

Posted: Fri Oct 31, 2014 3:56 pm
by TurtleP
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.

Re: LOVE3D: For Realsies

Posted: Fri Oct 31, 2014 3:59 pm
by Karai17
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.

Re: LOVE3D: For Realsies

Posted: Fri Oct 31, 2014 4:09 pm
by TurtleP
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!

Re: LOVE3D: For Realsies

Posted: Fri Oct 31, 2014 4:10 pm
by Karai17
If you check out the math library I posted about (Simplex), you'll note there are several other modules with lots of interesting stuff.

Re: LOVE3D: For Realsies

Posted: Fri Oct 31, 2014 4:12 pm
by TurtleP
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

Re: LOVE3D: For Realsies

Posted: Sat Nov 01, 2014 6:27 am
by Davidobot
This is, again, amazing! How does the camera work? Do you have an API for it?

Re: LOVE3D: For Realsies

Posted: Sat Nov 01, 2014 9:34 am
by miko
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.

Re: LOVE3D: For Realsies

Posted: Sat Nov 01, 2014 4:06 pm
by Karai17
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.

Re: LOVE3D: For Realsies

Posted: Sun Nov 02, 2014 5:53 am
by Karai17
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!

Re: LOVE3D: For Realsies

Posted: Sun Nov 02, 2014 8:04 pm
by davisdude
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.)?