View unanswered posts | View active topics It is currently Thu Mar 28, 2024 3:52 pm



Reply to topic  [ 35 posts ]  Go to page Previous  1, 2, 3, 4  Next
 cloth modding question 
Author Message
Rank 18
Rank 18

Joined: Sun Jun 22, 2014 3:46 pm
Posts: 1094
@laissemoirire as the error comes from "maya file /dress/sources/scenes/character6_cloth/body.ma : dressShape Cloth.dyn buttons[0][0] is not a valid button bind_mesh.vertex id"

in the dressShape are 9 buttons in the body.ini


Attachments:
body.ini cloth.jpg
body.ini cloth.jpg [ 147.22 KiB | Viewed 13221 times ]
body.ini cloth 2.jpg
body.ini cloth 2.jpg [ 149.3 KiB | Viewed 13221 times ]
Fri Dec 11, 2015 10:51 pm
Profile
Rank 16
Rank 16
User avatar

Joined: Sat Jan 03, 2015 1:05 am
Posts: 323
Location: france
tomahawk308 wrote:
@laissemoirire as the error comes from "maya file /dress/sources/scenes/character6_cloth/body.ma : dressShape Cloth.dyn buttons[0][0] is not a valid button bind_mesh.vertex id"

in the dressShape are 9 buttons in the body.ini


normaly, you have "at line <some_line_number>" too.
so, you know where to look.

But, in any case,
if you added/removed quads/edges to the original mesh, all vertex IDs could have been renumbered.

so you have to check all vertices on the dress mesh where button should be
(=> in the middle where the mesh is separated),
and rewrite ALL button numbers with good/existing vertex IDs.
In the tutorial file, the buttons are declared from top to bottom.

a single " row= " means, bind one row with one button.( 2 edges => 4 vertices)
2 " row= " means bind a square => so 2x2 edges => 2x4 vertices (2row)
you can also declare one button to bind 3 or more rows.


Sat Dec 12, 2015 3:25 am
Profile
Rank 18
Rank 18

Joined: Sun Jun 22, 2014 3:46 pm
Posts: 1094
@laissemoirire here are my body.ma and body.ini maybe you can see the error in that files


Attachments:
character6_cloth.rar [510.77 KiB]
Downloaded 564 times
Wed Dec 16, 2015 11:13 pm
Profile
Rank 16
Rank 16
User avatar

Joined: Sat Jan 03, 2015 1:05 am
Posts: 323
Location: france
I have no errors with your files.


Thu Dec 17, 2015 1:30 pm
Profile
Rank 18
Rank 18

Joined: Sun Jun 22, 2014 3:46 pm
Posts: 1094
@laissemoirire then the path or the ini file should have the error

this is my start.ini file


Attachments:
start.rar [472 Bytes]
Downloaded 534 times
Sun Dec 20, 2015 9:48 pm
Profile
Rank 16
Rank 16
User avatar

Joined: Sat Jan 03, 2015 1:05 am
Posts: 323
Location: france
tomahawk308 wrote:
@laissemoirire then the path or the ini file should have the error

this is my start.ini file

please read more carefully.
Code:
#define SOURCES  "../pack/pack_abducted/sources/"
#define SOURCES  "./dress/sources/"
#define RUNTIME  "../pack/pack_abducted/"


You have 2 sources defined, so the last one is used.

next part says:
Quote:
Maya scene
{
src_path = "[SOURCES]";
run_path = "[RUNTIME]";

in_file = "[SOURCES]scenes/character6_cloth/body.ma";
}

if your sources (.ma & .ini) files are not in (for saiko) :
<any_path_to_xstoryplayer_root_folder>/<filemaker_folder>/dress/sources/scenes/character6_cloth/
it won't work.

plus, be carefull, you have 2 Maya scene {} block, so filemaker will create files for character6_cloth/body.ma and character7_cloth.ma


Mon Dec 21, 2015 1:25 am
Profile
Rank 18
Rank 18

Joined: Sun Jun 22, 2014 3:46 pm
Posts: 1094
@laissemoirire i deleted #define SOURCES "./dress/sources/" how you said and it seems the filemaker work without an error


Attachments:
filemaker result.jpg
filemaker result.jpg [ 219.47 KiB | Viewed 12921 times ]
Mon Dec 21, 2015 10:50 pm
Profile
Rank 16
Rank 16
User avatar

Joined: Sat Jan 03, 2015 1:05 am
Posts: 323
Location: france
3 pages later, you did it ! :mrgreen:


Tue Dec 22, 2015 12:30 am
Profile
Rank 18
Rank 18

Joined: Sun Jun 22, 2014 3:46 pm
Posts: 1094
@laissemoirire that error "Cannot convert maya file /dress/sources/scenes/character6_cloth/body.ma : dressShape Cloth.dyn buttons[0][0] is not a valid button bind_mesh.vertex id"

comes just from that file ive attached to this post, it is the new apron i made


Attachments:
body36.rar [496.96 KiB]
Downloaded 528 times
Tue Dec 22, 2015 12:32 am
Profile
Rank 16
Rank 16
User avatar

Joined: Sat Jan 03, 2015 1:05 am
Posts: 323
Location: france
Please post again, I need the corresponding ini file too.


Tue Dec 22, 2015 9:40 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 35 posts ]  Go to page Previous  1, 2, 3, 4  Next

Who is online

Users browsing this forum: No registered users and 31 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group.
Designed by X-Moon Productions.