xmoonproductions.org
https://www.xmoonproductions.org/

cloth modding question
https://www.xmoonproductions.org/viewtopic.php?f=27&t=4246
Page 3 of 4

Author:  tomahawk308 [ Fri Dec 11, 2015 10:51 pm ]
Post subject:  Re: cloth modding question

@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 13363 times ]
body.ini cloth 2.jpg
body.ini cloth 2.jpg [ 149.3 KiB | Viewed 13363 times ]

Author:  laissemoirire [ Sat Dec 12, 2015 3:25 am ]
Post subject:  Re: cloth modding question

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.

Author:  tomahawk308 [ Wed Dec 16, 2015 11:13 pm ]
Post subject:  Re: cloth modding question

@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 571 times

Author:  laissemoirire [ Thu Dec 17, 2015 1:30 pm ]
Post subject:  Re: cloth modding question

I have no errors with your files.

Author:  tomahawk308 [ Sun Dec 20, 2015 9:48 pm ]
Post subject:  Re: cloth modding question

@laissemoirire then the path or the ini file should have the error

this is my start.ini file

Attachments:
start.rar [472 Bytes]
Downloaded 541 times

Author:  laissemoirire [ Mon Dec 21, 2015 1:25 am ]
Post subject:  Re: cloth modding question

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

Author:  tomahawk308 [ Mon Dec 21, 2015 10:50 pm ]
Post subject:  Re: cloth modding question

@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 13063 times ]

Author:  laissemoirire [ Tue Dec 22, 2015 12:30 am ]
Post subject:  Re: cloth modding question

3 pages later, you did it ! :mrgreen:

Author:  tomahawk308 [ Tue Dec 22, 2015 12:32 am ]
Post subject:  Re: cloth modding question

@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 535 times

Author:  laissemoirire [ Tue Dec 22, 2015 9:40 am ]
Post subject:  Re: cloth modding question

Please post again, I need the corresponding ini file too.

Page 3 of 4 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/