Sample demonstrating simultaneous Morphing and Skinning

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
ReJ
Posts: 25
Joined: Sun Apr 04, 2004 12:32 am
Location: Lithuania, Vilnius
Contact:

Sample demonstrating simultaneous Morphing and Skinning

Post by ReJ »

Hi,


I've tried out the idea, earlier raised by chp http://forums.ps2dev.org/viewtopic.php?p=21122#21122, that both morphing and skinning can be combined on psp GPU.
And guess what?... It actually works :) Several blend targets can be first lerped together and then matrix skinning can be applied to resulting vertex. Here is the sample demonstrating the technique in action:
http://rej.50megs.com/psp/morphskin

This feature enables usage of sophisticated animation of texture coords, vertex color animation, geometry morph-targets along with skinning. As well some matrix skinning problems can be fixed (like elbows) using patches with applied morph targets - if anyone ever would care about that on psp ;)
jsgf
Posts: 254
Joined: Tue Jul 12, 2005 11:02 am
Contact:

Re: Sample demonstrating simultaneous Morphing and Skinning

Post by jsgf »

ReJ wrote:I've tried out the idea, earlier raised by chp http://forums.ps2dev.org/viewtopic.php?p=21122#21122, that both morphing and skinning can be combined on psp GPU.
And guess what?... It actually works :)
Cool, I've been meaning to try this out. Do all the vertex attributes get interpolated by morping? Hm, I see at least vertex and colour; I guess texcoords, weights and normals too.

But, oof, the performance seems slow. Must really be hitting the GE hard.
ReJ
Posts: 25
Joined: Sun Apr 04, 2004 12:32 am
Location: Lithuania, Vilnius
Contact:

Re: Sample demonstrating simultaneous Morphing and Skinning

Post by ReJ »

ReJ wrote:I've tried out the idea, earlier raised by chp http://forums.ps2dev.org/viewtopic.php?p=21122#21122, that both morphing and skinning can be combined on psp GPU.
And guess what?... It actually works :)
jsgf wrote:Cool, I've been meaning to try this out. Do all the vertex attributes get interpolated by morping? Hm, I see at least vertex and colour; I guess texcoords, weights and normals too.
Yes, all vertex attributes are interpolated by morphing.
jsgf wrote:But, oof, the performance seems slow. Must really be hitting the GE hard.
It is 9216 vertices, 2 morph targets and 8 bones per vertex. And vertices in the sample are huge - 68bytes. Lots of work for GE.

I'll do a bit of performance testing with different number of bones and morph targets later on.
Post Reply