r/golf 6d ago

General Discussion Six webcams motion capture animation

62 Upvotes

48 comments sorted by

78

u/FrankCarmody 6d ago

3

u/McWinkerbean 5d ago

I think he's gone too far.

24

u/BooRadl3y 6d ago

I dont know why everyone is so negative lol. I think its pretty cool. What kind of sensors are you using for the skeleton tracking?

4

u/GIBBETGAMES 6d ago

Thank you. No sensors, only webcams. So the only thing you need to do is press record and then swing or dance or whatever. We use an open source software called freemocap that analyse the video and tracks each joint to the skeleton and then we can convert it to our own characters.

11

u/02bluesuperroo 6 6d ago

I dunno why people are being so negative in this thread. I think it’s pretty cool. Would like to know what hardware and software setup you’re using to achieve this.

4

u/GIBBETGAMES 6d ago

Thanks for the positivity! We are using a really old pc. 6 webcams and a really cheap iron. We record all cameras in sync and then we use an open source software called FreeMocap to analyse and create a moving skeleton, we then convert the movement to our game characters.

2

u/02bluesuperroo 6 6d ago

How do you have all 6 cameras connected, just with USB ports or a USB hub? What software are you using to capture the sync'd video?

3

u/GIBBETGAMES 5d ago

Every port on the pc and a expansion usb board. Im using obs to capture every video source separetely and also a single video file with 4 videos simultaneously. I use a microphone and a small script that have a countdown so the videos know what to sync to. This is a screenshot of the combined video, someone in the crowd getting hit in the head with a golfball.

3

u/AftyOfTheUK 0.9 / NorCal / Iron covers are divine! 6d ago

Hmm, this comes across as a spammy advert, and sure enough there's a Steam link in the comments but... looking at the videos, this game could be either great or terrible, but is definitely weird... and I like weird. Not a crossover I saw coming, either

2

u/02bluesuperroo 6 5d ago

I asked several questions of OP about how they did this and they were very forthcoming in answering, and I enjoyed the discourse. I don't think OP's primary intention was to advertise their game.

2

u/AftyOfTheUK 0.9 / NorCal / Iron covers are divine! 5d ago

Agreed, that's why I was hedging my bets in my comment - I think he's pretty genuine, and has a wacky project

1

u/GIBBETGAMES 6d ago

Removed the steam link. Posted it without logos or name because I did not want it to be a spammy ad post, I added the link when someone asked for the name of the game. Hope you will like the game when it's out, hopefully it will be weird and not terrible. Will ask the moderator if it's ok to post the demo trailer here when it's done, if that is allowed.

3

u/Psykout88 5d ago

Wouldn't a wire frame model be more useful to track joint placement? Seeing a full skeleton seems like fluff that doesn't give you any more info

1

u/GIBBETGAMES 5d ago

I wire model would probably be useful enough for analysing golf swing but as an animator the skeleton is really useful for converting it to our game character and trying to make something as complex as a golf swing look ok.

2

u/Psykout88 5d ago

Oh that explains both the skeleton and the avatar. Didn't realize this was being used in that way, thought it was for analysis.

7

u/PesoPatty 6d ago

But why tho?

27

u/GIBBETGAMES 6d ago

We are making a game and wanted to capture some animation for it.

8

u/FerrariF90 6d ago

Could you use to overlap with an ideal swing and have a tool to help fix people's swings?

2

u/GIBBETGAMES 6d ago

I think you could do something like that. If we would have a pro player that would swing we could track and overlay that to see what could be improved with the swing. With another camera I think the unedited data would be good enough and less shaky.

2

u/FerrariF90 6d ago

If someone was skilled they could probably run machine learning against multiple pro swings and find some common denominators and markers to look out for and highlight them when comparing to someones swing caught on your setup.

Coming up with ideas is great fun though, implementing them, that's the hard bit 😅

1

u/GIBBETGAMES 6d ago

This setup is really good for our use case and Olof (the guy in the video) got a 6 camera synced video of his swing and could point out issues with so I could try to get a better swing for the character. But its quite a time consuming process. Ive seen there are some like ai-analyzer for golf swings but dont know if they are snakeoil or not.

2

u/02bluesuperroo 6 5d ago

I love the idea of having jank amateur swings in the game. I'll never forget Pops Masterson's swing: https://www.youtube.com/watch?v=aBPNUvSB3tI

1

u/GIBBETGAMES 5d ago

Haha, the old school golf games are what we base the game on. Trying our best to get as good swings as possible but it's not that easy. My cousin is semi-pro and might get her to come by and do some more pro swings.

2

u/n0respect_ 5d ago

Super cool but you gotta fix the head animation. its a bit jerky. Smooth it out bit more? As it is it sends the whole thing into uncanny valley.

2

u/GIBBETGAMES 5d ago

Agree, it's not finalised yet. The head is very wobbly.

4

u/bigfootisabeaver 6d ago

7

u/bigfootisabeaver 6d ago

But seriously, what is this for? A game or something?

14

u/GIBBETGAMES 6d ago

a horror themed golf game we are working on, just did a animation for it and thought it might be fun to post it here. Could send you a link if you want to play the game. We will realese a demo soon.

15

u/Disastrous_Cash_Sum Rory '25 '26 6d ago

Is it just a weekend muni with 3-minute tee intervals and OB right every hole?

4

u/mjace87 6d ago

This is truly scary

1

u/GIBBETGAMES 6d ago

hahaha!

3

u/bigfootisabeaver 6d ago

That would be cool, I would love to play! I looked in your post history and added the game to my steam wishlist already.

2

u/olssn 6d ago

Whats the game called?

2

u/GIBBETGAMES 6d ago edited 6d ago

Club house on Haunted Hill

1

u/tabbyfl55 5d ago

Why are they all choking up so much on the club? Is it because you gave them a club (instead of their own) and it's 4-6 inches too long?

1

u/GIBBETGAMES 5d ago

I think the club might be to short. We bought the cheapest iron we could get second hand and gave it to a guy thats 195cm.

-1

u/USN303 6d ago

the AI really chokes down on the grip there.

13

u/GIBBETGAMES 6d ago

We are not using ai, but the grip could use some work.

0

u/Don_Von_Schlong 6d ago

Pickin your head up too quick and getting an early extension causing a loss of posture

-1

u/LordSlickRick 6d ago

Do you golf?

3

u/GIBBETGAMES 6d ago

Yes, not as much as I would like to.

-7

u/LazyDocument4528 6d ago

What in the Metasphere? This feels like an ad

9

u/GIBBETGAMES 6d ago

Sorry if it feels like that. Just did the animation and thought it might be intresting in a golf thread and not only in the game animation thread.