Soft Skinning

New releases and general discussions.

Post » Sat Feb 07, 2009 10:25 pm

Soft skinning feature for the actual bones system to weight an image with bones. Something like this:
Anime Studio Pro: [url:mdpp5yij]http://www.youtube.com/watch?v=3E5QbqDYAtM&feature=related[/url:mdpp5yij]
After Effects Puppet Tool: [url:mdpp5yij]http://www.metacafe.com/watch/885847/puppet_tool_in_adobe_after_effects_cs3/[/url:mdpp5yij]
:roll:
B
30
S
15
G
10
Posts: 285
Reputation: 7,144

Post » Sun Feb 08, 2009 12:57 pm

it is possible to program this in manually with sprite distortion
I was working on this when I got the flu, so I won't be able to post an example soon

obviously not as easy and fun as if it were automatic, but it is possible
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Mon Feb 09, 2009 12:54 am

Wow, I didn't know ae cs3 could do that. Flash cs4 "just" came out with soft skinning on shapes, but I think the after effects version with the mesh looks pretty cool. It would also be nice to have an option for the joints to have rigid borders so you don't get the artificial indent when the limbs bend. And rotation constraints. But that's asking a lot, I think.
B
2
S
1
G
3
Posts: 39
Reputation: 1,078

Post » Mon Feb 09, 2009 3:50 am

I added a new action into construct's sprite object which allows you to set a distortion point by a layout co-ordinate. This allows you to easy make say 10x10 'point' objects, and loop through them setting the displacement points on a sprite to those points.

Now, for skinning, you basically need to write code that 'sticks' an object onto another object such that if the other object rotates, moves, or resizes, the object that is 'stuck' will reposition accordingly. Skinning then works by 'weighting' these values. So you calculate the position for the object if it was stuck to the arm (for example), and the position of the object if it was stuck to the torso, and then calculate in with weights. eg: position = 0.6 * arm_position + 0.4 * torso_position.

The maths is pretty simple, but making the skin look realistic is an art. In the 3d program 'maya' it allowed you to 'paint' the weight values, so you would select the arm bones, and then the vertices on the 3d model would all become shades of grey determined by their 'weight' value.

Anyway, this is a really advanced stuff! I mean Aquaria won indie game of the year for 2007, and the main character was animated with the same method as my bone movement (as I have illustrated in another thread). I guess we are in 2009 so technology has changed.

What I've been thinking about doing is creating an 'advanced stuff' object, which would embody lots of complicated functions and stuff, such as calculating angles for IK, finding the other side of a triangle, and basically just various calculations that are rather lengthy to write as an expression, but can give your games that 'edge' over other games. Plus machine code is faster at evaluating equations, so it would be faster and easier to use.
B
4
S
2
G
5
Posts: 641
Reputation: 3,011

Post » Mon Feb 09, 2009 5:34 pm

[quote="David":2yayqugq]Anyway, this is a really advanced stuff! I mean Aquaria won indie game of the year for 2007, and the main character was animated with the same method as my bone movement (as I have illustrated in another thread). I guess we are in 2009 so technology has changed.

What I've been thinking about doing is creating an 'advanced stuff' object, which would embody lots of complicated functions and stuff, such as calculating angles for IK, finding the other side of a triangle, and basically just various calculations that are rather lengthy to write as an expression, but can give your games that 'edge' over other games. Plus machine code is faster at evaluating equations, so it would be faster and easier to use.[/quote:2yayqugq]

this, all of it.
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

Post » Mon Feb 09, 2009 10:17 pm

yay
I had no idea there were so many other people looking for 2d skinning
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Tue Feb 10, 2009 12:01 am

well, that object david wants to make would be awesome!
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

Post » Tue Feb 10, 2009 8:27 am

I have no idea what you guys are talking about, but it sounds awesome... so yeah... kick ass!

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
45
S
17
G
37
Posts: 2,853
Reputation: 25,966


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 1 guest