How to get CSVs of different body parts?

If you have problems understanding something or getting started, ask here

Moderator: joepal

How to get CSVs of different body parts?

Postby ranveeraggarwal » Sun Sep 20, 2015 7:45 pm

Hello all,

I am a newbie to makehuman and I started using the meshes a couple of hours ago.
What I needed for my project are CSVs of meshes of individual body parts, which I am unable to find how to procure. What's the way to do so?
Any help would be greatly appreciated.
Sincerely,
Ranveer Aggarwal
ranveeraggarwal
 
Posts: 3
Joined: Sun Sep 20, 2015 6:29 pm
Location: Mumbai, India

Re: How to get CSVs of different body parts?

Postby badwolf » Mon Sep 21, 2015 1:21 am

Im not sure its possible to convert parts of the mesh into a CSV type format using any kind of script


but an OBJ is basically a text format (a spiral wrap of the various verts and some header info)
badwolf
 
Posts: 272
Joined: Fri Feb 06, 2015 12:41 am

Re: How to get CSVs of different body parts?

Postby joepal » Mon Sep 21, 2015 7:05 pm

I agree with wolfie that making a starting with an obj file is probably easier than digging into MH.

The first few lines of the base mesh looks like this:

Code: Select all
v -0.3492 7.3299 1.4076
v -0.3110 7.3315 1.4107
v -0.3481 7.3465 1.4062
v -0.3095 7.3456 1.4117
v -0.3487 7.3574 1.4039
v -0.3080 7.3566 1.4103
v -0.3835 7.3242 1.4009
v -0.3849 7.3413 1.3972
v -0.3886 7.3508 1.3930
v -0.4099 7.3169 1.3895


... basically vertex definitions with coordinates. This should be trivial to pipe through a script to transform it into another equally primitive format.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4627
Joined: Wed Jun 04, 2008 11:20 am

Re: How to get CSVs of different body parts?

Postby ranveeraggarwal » Thu Oct 15, 2015 7:36 pm

Yeah, I can do this, but how do I know which parts of an obj correspond to which body part? is there a way of knowing so?
Sincerely,
Ranveer Aggarwal
ranveeraggarwal
 
Posts: 3
Joined: Sun Sep 20, 2015 6:29 pm
Location: Mumbai, India

Re: How to get CSVs of different body parts?

Postby joepal » Thu Oct 15, 2015 8:34 pm

Now that's quite a different question.

I guess you could find the targets (.target files) which affect the interesting part of the body and read the vertex numbers from them. They're also just plain lists of vertices along with how much the point should move in XYZ space.

For example right-ear-big.target (or whatever it is named) will contain a list of vertex points for the right ear.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4627
Joined: Wed Jun 04, 2008 11:20 am

Re: How to get CSVs of different body parts?

Postby ranveeraggarwal » Fri Oct 16, 2015 6:19 am

How do I get the target files though?
(I am a newbie to makehuman, so I am not so used to the terminology)
Sincerely,
Ranveer Aggarwal
ranveeraggarwal
 
Posts: 3
Joined: Sun Sep 20, 2015 6:29 pm
Location: Mumbai, India

Re: How to get CSVs of different body parts?

Postby joepal » Sat Oct 17, 2015 7:37 am

Follow this tutorial: https://www.youtube.com/watch?v=3CCHGX-6Mtk

Once you've done so, you will have all targets in makehuman/data/targets
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4627
Joined: Wed Jun 04, 2008 11:20 am


Return to Newbies

Who is online

Users browsing this forum: No registered users and 1 guest