STEAM GROUP
Blender Source Tools BleST
STEAM GROUP
Blender Source Tools BleST
316
IN-GAME
1,881
ONLINE
Founded
8 November, 2013
All Discussions > Bug Reports > Topic Details
hhuber_2001 15 Apr, 2016 @ 1:31am
[WONTFIX] Importing Models with Vertex Animations results in unmatched VTA Vertices
In Line 892 in import_smd.py the coordinates for a vertex are rounded to three digits after the decimal point, which results in rounding errors for the vertex coordinates making it impossible for the import script to match some VTA vertices to the base mesh. I changed the the value from 3 to 4. Now all VTA vertices match the base mesh.
Last edited by hhuber_2001; 18 Apr, 2016 @ 12:52am
< >
Showing 1-4 of 4 comments
Artfunkel 15 Apr, 2016 @ 10:57am 
It's a trade-off between matching the verts you want and matching the nearby verts you don't. The only good answer is to use DMX instead!
Zappy 17 Apr, 2016 @ 7:17am 
Originally posted by Artfunkel:
The only good answer is to use DMX instead!
We would, but there's no MDL-to-DMX converter around yet, only MDL-to-[SMD and VTA], leaving us no choice.
Last edited by Zappy; 17 Apr, 2016 @ 7:18am
hhuber_2001 18 Apr, 2016 @ 12:57am 
Maybe I'm getting something wrong here, but shouldn't rounding to 4 digits be more exact, than rounding to 3, thus eliminating the problem of matching the wrong vertices. As far as I know Blender supports 5 digits after the decimal point, where the smd format supports 6 digits. So it should be possible to round to 5 digits to get the closest match between Blender and smd.
Artfunkel 18 Apr, 2016 @ 11:36am 
Yes, but sometimes when importing VTA data that's bad. If I wanted a really accurate match I wouldn't be rounding the values in the first place. :)
< >
Showing 1-4 of 4 comments
Per page: 1530 50

All Discussions > Bug Reports > Topic Details