POV-Ray : Newsgroups : povray.tools.poser : Dynamic Clothes and Motion Files. - Passing on an insight. Server Time: 14 Dec 2018 14:14:41 GMT
  Dynamic Clothes and Motion Files. - Passing on an insight. (Message 1 to 7 of 7)  
From: Stephen
Subject: Dynamic Clothes and Motion Files. - Passing on an insight.
Date: 6 Sep 2009 10:40:32
Message: <3c47a51rgdb4u6t0l5sc03ol3dsa5aarfg@4ax.com>
This might come as no surprise to most of you but I've just reinvented the
wheel. (Or so it seems :)

I've had a lot of problems getting my dynamic clothes to stay on the models when
I import BVH files. I've had to use insane values in the cloth room. Greater
than 200 calculations per frame, Collision Offset and Collision Depth less than
0.25. Even then the simulation was prone to blowing up.
So I looked at the resulting models after applying the BVH files. The generally
have a X, Y, Z offset from the origin. I set the model as a Parent of the cloth
and it carries it with it. The trick is to set the Hip as the parent not the
body as the BVH file applies the offsets to that. You can add additional manual
offsets to the body to position the figure.
Now I can use reasonable parameters and get better results.
-- 

Regards
     Stephen


Post a reply to this message

From: Thomas de Groot
Subject: Re: Dynamic Clothes and Motion Files. - Passing on an insight.
Date: 7 Sep 2009 14:57:23
Message: <4aa51f53$1@news.povray.org>
Good to know indeed. Seems to be typical to BVH files then, using the hip 
instead of the body. I seem to vaguely remember that body and hip have the 
same coordinates? The hip being the origin of the figure's motion set. Maybe 
that is where that particular BVH things comes from...

Thomas


Post a reply to this message

From: Stephen
Subject: Re: Dynamic Clothes and Motion Files. - Passing on an insight.
Date: 8 Sep 2009 10:43:52
Message: <idcca5pa1fbkv2pd6aaclar3bkcoboj3kc@4ax.com>
On Mon, 7 Sep 2009 16:57:22 +0200, "Thomas de Groot"
<tDOTdegroot@interDOTnlANOTHERDOTnet> wrote:

>Good to know indeed. Seems to be typical to BVH files then, using the hip 
>instead of the body. I seem to vaguely remember that body and hip have the 
>same coordinates? The hip being the origin of the figure's motion set. Maybe 
>that is where that particular BVH things comes from...
>

I now visualise it as a union within a union. 

Union { //Body 
        Union { // Hip
                object{ Head }
                ...
                object{ Toes }
                
translate // Hip translations from BVH
}  //End Hip
translate // Body translations (manual)                
        }    //End Body   
-- 

Regards
     Stephen


Post a reply to this message

From: Thomas de Groot
Subject: Re: Dynamic Clothes and Motion Files. - Passing on an insight.
Date: 8 Sep 2009 12:13:44
Message: <4aa64a78$1@news.povray.org>
Neat solution.

Thomas


Post a reply to this message

From: Stephen
Subject: Re: Dynamic Clothes and Motion Files. - Passing on an insight.
Date: 8 Sep 2009 13:15:46
Message: <s6mca55ntuj5avfmt78k8q7s3kc93m73mb@4ax.com>
On Tue, 8 Sep 2009 14:13:43 +0200, "Thomas de Groot"
<tDOTdegroot@interDOTnlANOTHERDOTnet> wrote:

>Neat solution.
>

It took long enough :)
-- 

Regards
     Stephen


Post a reply to this message

From: Thomas de Groot
Subject: Re: Dynamic Clothes and Motion Files. - Passing on an insight.
Date: 8 Sep 2009 14:57:07
Message: <4aa670c3@news.povray.org>
"Stephen" <mcavoysAT@aolDOTcom> schreef in bericht 
news:s6mca55ntuj5avfmt78k8q7s3kc93m73mb@4ax.com...
>
> It took long enough :)

Maybe, but *obvious* things are often harder to find... :-)

Thomas


Post a reply to this message

From: Stephen
Subject: Re: Dynamic Clothes and Motion Files. - Passing on an insight.
Date: 8 Sep 2009 15:03:42
Message: <ogsca5lli90too4kdof7hm41ofhkeeepdh@4ax.com>
On Tue, 8 Sep 2009 16:57:06 +0200, "Thomas de Groot"
<tDOTdegroot@interDOTnlANOTHERDOTnet> wrote:

>
>"Stephen" <mcavoysAT@aolDOTcom> schreef in bericht 
>news:s6mca55ntuj5avfmt78k8q7s3kc93m73mb@4ax.com...
>>
>> It took long enough :)
>
>Maybe, but *obvious* things are often harder to find... :-)
>

It is when things go wrong that you need to look at the basics.

-- 

Regards
     Stephen


Post a reply to this message

Copyright 2003-2008 Persistence of Vision Raytracer Pty. Ltd.