News for hackers. Stuff that matters.
Re:Show HN: Procedural Character Animation with Machine Lear... by andybak on Monday April 22, 2019 @10:20AM (#19719120)
The original project had a disappointingly restrictive licence considering my taxes helped fund it: https://github.com/sebastianstarke/AI4Animation

What licence is this under?

Re:Show HN: Procedural Character Animation with Machine Lear... by snayss on Monday April 22, 2019 @11:52AM (#19719869)
To be honest I don't have much knowledge about licensing. If you want to experiment with this project for any use please go ahead -- although if you want to use the original dataset, you would have to follow the original licensing
Re:Show HN: Procedural Character Animation with Machine Lear... by openbasic on Monday April 22, 2019 @02:59PM (#19721742)
Then you should inform yourself: https://tldrlegal.com/
Re:Show HN: Procedural Character Animation with Machine Lear... by snayss on Tuesday April 23, 2019 @12:52AM (#19725696)
thanks, just updated the license in the readme: https://github.com/sneha-belkhale/AI4Animation-js#license
Re:Show HN: Procedural Character Animation with Machine Lear... by dvh on Monday April 22, 2019 @11:07AM (#19719458)
Why is demo displaying black horse on a black background? Even sample screenshot shows that. Am I crazy? Is this some kind of meta joke? I don't get it.
Re:Show HN: Procedural Character Animation with Machine Lear... by penagwin on Monday April 22, 2019 @11:50AM (#19719848)
It took me a while to realize it was a horse, the fact that you can't recognize it against the background means they REALLY should adjust some colors.
Re:Show HN: Procedural Character Animation with Machine Lear... by snayss on Monday April 22, 2019 @11:54AM (#19719890)
it's actually a dog :,,) . We agree, adjusting the lighting now.
Re:Show HN: Procedural Character Animation with Machine Lear... by snayss on Monday April 22, 2019 @11:42AM (#19719771)
We just liked the cyberpunk theme, will make another informative / non-stylish demo soon
Re:Show HN: Procedural Character Animation with Machine Lear... by slacka on Monday April 22, 2019 @11:58AM (#19719955)
If you want to disguise how poorly your animation system works, you put a black skin on a black background with no lighting. This demo is beyond terrible, and I love cyberpunk.
Re:Show HN: Procedural Character Animation with Machine Lear... by abainbridge on Monday April 22, 2019 @12:38PM (#19720340)
For comparison, here's Dog's Life, a 2003 PS2 game that I worked on. You get to control a selection of dogs. I think the quadruped animation system was pretty good for the time it was made. https://youtu.be/yi0-9ut1cEk?t=216
Re:Show HN: Procedural Character Animation with Machine Lear... by canada_dry on Monday April 22, 2019 @01:31PM (#19720804)
> pretty good for the time it was made

No kidding. Especially when you consider how the tools for doing this kinda thing have gotten exponentially better just in the last couple years!

I'm curious what your current work looks like?

Re:Show HN: Procedural Character Animation with Machine Lear... by abainbridge on Monday April 22, 2019 @03:55PM (#19722242)
I left the games industry a long time ago so I could earn twice as much and not have to work weekends. Shame.

And I can't take credit for the animation tech in Dog's Life, it was all working by the time I joined the team. The game was made by Frontier Developments. I think the same technology was used in Kinectimals (https://youtu.be/BrcXV9_cQYw?t=814), which looks amazing but is a bit more "pre canned" looking.

Re:Show HN: Procedural Character Animation with Machine Lear... by dgreensp on Monday April 22, 2019 @05:36PM (#19723231)
Call me a critic, but I don't see any "realistic transitions"? I mean, the positions of the limbs are continuous, barely. Stopping is very jerky. Sometimes the dog does a sort of "downward dog" pose for a long time when you stop, sometimes entering and exiting this pose slowly. The hind legs look weirdly limp at times. Is this better than some sort of naive interpolation between animations?

It took me a while to realize about the A-W-D movement controls (I tried arrow keys and mouse first), and, as others have said, everything is really dark.

Re:Show HN: Procedural Character Animation with Machine Lear... by snayss on Tuesday April 23, 2019 @12:38AM (#19725649)
Thanks for your thoughts, I actually have noticed and agree with most of them. This project is still a work in progress -- just wanted to share some initial results and get feedback from the community.

> Is this better than some sort of naive interpolation between animations?

The current implementation might not be, but the idea of procedural animation can very powerful. It eliminates a lot of manual labor of creating animations clips / state machines and also can account for realtime unpredictable states.

To see what's possible, you should check out the original demo that this project ported to the web -- https://github.com/sebastianstarke/AI4Animation

Re:Show HN: Procedural Character Animation with Machine Lear... by kowdermeister on Monday April 22, 2019 @05:00PM (#19722936)
I would mention somewhere the WASD controls :) Figured it out by accident.
Re:Show HN: Procedural Character Animation with Machine Lear... by mlok on Monday April 22, 2019 @08:33PM (#19724534)
Thank you. It should also be noted that WASD controls are very bad on an azerty keyboard. There are better choices than these keys. (Arrows being obviously even better than letter keys)
Re:Show HN: Procedural Character Animation with Machine Lear... by dorkwood on Monday April 22, 2019 @07:49PM (#19724261)
Hold shift while pressing "W" to unlock a secret walk cycle.
Re:Show HN: Procedural Character Animation with Machine Lear... by KidComputer on Monday April 22, 2019 @12:08PM (#19720064)
If I get the horse galloping in a circle its legs end up crossing and clipping through each other.
Re:Show HN: Procedural Character Animation with Machine Lear... by snayss on Monday April 22, 2019 @12:22PM (#19720173)
Yeah, we had to do retargeting of the original wolf skeleton to the skeleton of the dog model. That was kind of tricky, and introduced this front leg crossing artifact...
Re:Show HN: Procedural Character Animation with Machine Lear... by crazygorilla on Wednesday April 24, 2019 @12:23PM (#19739978)
At least there is a live demo, I see so many GitHub projects where a screenshot or a live demo would say more then a thousand words. Checking out a repo and trying to run it is a big hurdle.
Re:Show HN: Procedural Character Animation with Machine Lear... by snayss on Saturday April 27, 2019 @06:25AM (#19764841)
hey -- I made a discord chat if you all want to follow up on this -- and give suggestions -- https://discord.gg/UXypcZV
Re:Show HN: Procedural Character Animation with Machine Lear... by css on Monday April 22, 2019 @01:19PM (#19720691)
What is the expected performance like on this? I am getting < 50fps with an i7 6700K and Quadro P4000.
Re:Show HN: Procedural Character Animation with Machine Lear... by snayss on Monday April 22, 2019 @02:12PM (#19721214)
I'm hoping to use a simpler version of this neural net, which should reduce computation time by half. There are 8 weight matrices that are dynamically blended every frame ( the bulk of the computation ). This number can supposedly be reduced to 4 (according to original research).
Re:Show HN: Procedural Character Animation with Machine Lear... by snayss on Monday April 22, 2019 @02:07PM (#19721158)
I'm getting ~ 50fps with 2.2GHz Intel Core i7 and Iris Pro 1536MB, MacBook Pro 2015. The matrix multiplication is using numjs, and runs on a single core (no web workers).
Re:Show HN: Procedural Character Animation with Machine Lear... by kif11 on Monday April 22, 2019 @01:57PM (#19721066)
Some people said they got 60 fps on iPhone X. :) Personally, I'm getting 25 fps on MacBook 13, 3.1 GHz Intel Core i7 with Intel Iris Graphics 6100.
Re:Show HN: Procedural Character Animation with Machine Lear... by kekub on Monday April 22, 2019 @02:30PM (#19721417)
I can confirm 60fps on iPhone Xʀ.
Re:Show HN: Procedural Character Animation with Machine Lear... by kif11 on Monday April 22, 2019 @10:29PM (#19725097)
I don't really understand how iPhone is better then i7 6700K and Quadro P4000!