forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Sample demonstrating simultaneous Morphing and Skinning

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
ReJ



Joined: 04 Apr 2004
Posts: 25
Location: Lithuania, Vilnius

PostPosted: Thu Oct 13, 2005 6:39 am    Post subject: Sample demonstrating simultaneous Morphing and Skinning Reply with quote

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 ;)
Back to top
View user's profile Send private message Visit poster's website
jsgf



Joined: 12 Jul 2005
Posts: 254

PostPosted: Thu Oct 13, 2005 11:11 am    Post subject: Re: Sample demonstrating simultaneous Morphing and Skinning Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website
ReJ



Joined: 04 Apr 2004
Posts: 25
Location: Lithuania, Vilnius

PostPosted: Thu Oct 13, 2005 3:38 pm    Post subject: Re: Sample demonstrating simultaneous Morphing and Skinning Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group