Forum

This forum is for swapping tips or ideas with fellow users, suggesting new features, or showing of what you have created with the system etc, there is no guarantee of an answer to questions posted in the forum. All support questions must be submitted via the Support ticket system

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: MDD file from Lightwave fails to import - what are we doing wrong?
NT7Games
Newbie
Posts: 5
Permalink
Post MDD file from Lightwave fails to import - what are we doing wrong?
on: June 19, 2012, 23:24
Quote

We are generating a fairly large MDD from Lightwave.

Using the scan motion function of clothFX to generate the mdd, we try to import the .MDD into Unity / Mega-Fiers using the Point Cache script. Once all the vertices are mapped and the progress bar reaches 100%, a dialog box pops up notifying us that "Final Mapping Failed!"

Thinking that the file was simply too large (~65MB), we split up the .mdd file into frames 1-100, 101-200, and so on. However the same failure occurred.

Trying to run the Scene generates an IndexOutOfRangeException with the following stack trace:

IndexOutOfRangeException: Array index is out of range.
MegaPointCache.LinearRel (.MegaModifiers mc, Int32 start, Int32 end) (at Assets/Mega-Fiers/Scripts/MegaFiers/Modifiers/MegaPointCache.cs:98)
MegaPointCache.Modify (.MegaModifiers mc) (at Assets/Mega-Fiers/Scripts/MegaFiers/Modifiers/MegaPointCache.cs:271)
MegaModifiers.ModifyObject () (at Assets/Mega-Fiers/Scripts/MegaFiers/Modifiers/MegaModifiers.cs:361)
MegaModifiers.ModifyObjectMT () (at Assets/Mega-Fiers/Scripts/MegaFiers/Modifiers/MegaModifiers.cs:695)
MegaModifyObject.Update () (at Assets/Mega-Fiers/Scripts/MegaFiers/Modifiers/MegaModifyObject.cs:144)

-Is there some exporter or specific method we should be using to generate the .mdd?

If anyone from the Mega-Fiers team would like to see the .mdd or a subset of it, we can provide the full one via FTP or a smaller one via FTP/Email.

spookycat
Administrator
Posts: 148
Permalink
Post Re: MDD file from Lightwave fails to import - what are we doing wrong?
on: June 20, 2012, 09:37
Quote

Hi There
Looking at the code I am guessing that your mesh is very very small as I think it is failing in the threshold check for remapping of the vertex indices, do you think you could send me a test fbx and mdd file so I can test it.
Chris

NT7Games
Newbie
Posts: 5
Permalink
Post Re: MDD file from Lightwave fails to import - what are we doing wrong?
on: June 20, 2012, 15:25
Quote

Chris,

Thanks for the quick reply. I've sent an Email to you through the Unity forums containing FTP credentials to get to a .ZIP file containing the FBX, MDD, and textures.

Please don't hesitate to let me know if I can be of any more assistance in troubleshooting.

NT7Games
Newbie
Posts: 5
Permalink
Post Re: MDD file from Lightwave fails to import - what are we doing wrong?
on: June 20, 2012, 23:15
Quote

Hi Chris,

Just wanted to check if you got the file. Not expecting a solution within minutes or anything, but wanted to know if the FTP worked, etc 🙂

Thanks!

spookycat
Administrator
Posts: 148
Permalink
Post Re: MDD file from Lightwave fails to import - what are we doing wrong?
on: June 21, 2012, 09:23
Quote

Hi Again
Yes I have the file, will be investigating today hopefully.
Chris

spookycat
Administrator
Posts: 148
Permalink
Post Re: MDD file from Lightwave fails to import - what are we doing wrong?
on: June 21, 2012, 12:19
Quote

Been looking at the file, slow progress as its such a big file, but does the mdd file only contain data for the head as it has a lot more points than there are on the head. The mdd file says it has 8794 points, but the head mesh only has 8400 in Unity and unity usually increases the number of vertices in a mesh. How many points does just the head have in Lightwave?

NT7Games
Newbie
Posts: 5
Permalink
Post Re: MDD file from Lightwave fails to import - what are we doing wrong?
on: June 21, 2012, 14:57
Quote

Chris,

I've forwarded the questions off to the modeler on our team and will to get back to you with an answer ASAP.

NT7Games
Newbie
Posts: 5
Permalink
Post Re: MDD file from Lightwave fails to import - what are we doing wrong?
on: June 21, 2012, 16:41
Quote

Hi Chris,

In lightwave, it only shows 7934 vertices in the head. However, we noticed there was an accidental subdivision in the mesh on the inside of the mouth. We're going to try again, and I'll update this thread (and the .FBX on the FTP should it fail.

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.036 seconds.