Page 1 of 1

Problem ConvertAssistant

Posted: 12 May 2020, 12:35
by Entity73
Hello

I have a conversion problem with ConvertAssistant:
When I convert, I get an error message: Failed to generate mesh for ": user: \ Work \ SuperCylindre.fbx": Material not found in library: Material.002
However in Blender, I use 2 textures which are correctly applied to my object, I saved in .blend and export in fbx. I put my fbx file in the ConvertAssistant, I convert and I still get the same error message.

What I missed, I searched the forum without finding anything related to my problem.
Please help me.

thank you in advance
______________________________________________________
Bonjour

J'ai un problème de conversion avec ConvertAssistant :
Quand je converti, j'ai un message d'erreur : Failed to generate mesh for ":user:\Work\SuperCylindre.fbx": Material not found in library : Material.002
Pourtant dans Blender, j'utilise 2 textures qui sont correctement appliqué à mon objet, j'ai sauvegardé en .blend et exporter en fbx. Je dépose mon fichier fbx dans le ConvertAssistant, je converti et j'ai toujours ce même message d'erruer.

Qu'est ce que j'ai raté, j'ai cherché sur le forum sans rien trouvé en rapport à mon problème.
S'il vous plait aidez moi.

merci d'avance

Re: Problem ConvertAssistant

Posted: 13 May 2020, 10:40
by Florenzius
Entity73 wrote: 12 May 2020, 12:35 Hello

I have a conversion problem with ConvertAssistant:
When I convert, I get an error message: Failed to generate mesh for ": user: \ Work \ SuperCylindre.fbx": Material not found in library: Material.002
However in Blender, I use 2 textures which are correctly applied to my object, I saved in .blend and export in fbx. I put my fbx file in the ConvertAssistant, I convert and I still get the same error message.

What I missed, I searched the forum without finding anything related to my problem.
Please help me.

thank you in advance
______________________________________________________
Bonjour

J'ai un problème de conversion avec ConvertAssistant :
Quand je converti, j'ai un message d'erreur : Failed to generate mesh for ":user:\Work\SuperCylindre.fbx": Material not found in library : Material.002
Pourtant dans Blender, j'utilise 2 textures qui sont correctement appliqué à mon objet, j'ai sauvegardé en .blend et exporter en fbx. Je dépose mon fichier fbx dans le ConvertAssistant, je converti et j'ai toujours ce même message d'erruer.

Qu'est ce que j'ai raté, j'ai cherché sur le forum sans rien trouvé en rapport à mon problème.
S'il vous plait aidez moi.

merci d'avance
Hello, I've got some tips which may help you fix the problem:

- The item should be in Work/Items/{environment name (Valley/Canyon/Stadium/Lagoon/Storm)}/
- I'd never leave a material name as Blender's default name; also it's important to know whether you are referencing a game material or a custom texture
- For game textures: Make sure to name the material in Blender like the game one (e.g. HighwayObjects) (tip : you can find the full list in the Material libary txt you installed) and reference it as link in the MeshParams xml
- For custom textures: you need to copy the material name from Blender to the meshParams xml and set the attributes there (here again, don't just call it Material.002 or so)

MeshParams usage examples:
Referencing a game material

Code: Select all

<Material Name="Lights" Link="Lights"/>
Referencing a custom texture (make sure to have the dds (dtx1/dxt5) textures in the corresponding folder)

Code: Select all

<Material Name="AlpineTunnel" PhysicsId="Asphalt" Model="TDSN" BaseTexture="Items/Valley/Z_Alpine/Texture/AlpineTunnel"/>
More info about texturing Models: https://doc.maniaplanet.com/nadeo-impor ... ort-a-mesh

Hope that could help

Re: Problem ConvertAssistant

Posted: 13 May 2020, 19:34
by Entity73
Yeah

thank you very much it's working

but just last question
if in blender i use 2 or more textures, i suppose i must put that in xml file ?

<Material Name="Floor" Link="Floor"/>
<Material Name="Crystal" Link="Crystal"/>
etc...

no ?

Re: Problem ConvertAssistant

Posted: 15 May 2020, 22:46
by Florenzius
Entity73 wrote: 13 May 2020, 19:34 Yeah

thank you very much it's working

but just last question
if in blender i use 2 or more textures, i suppose i must put that in xml file ?

<Material Name="Floor" Link="Floor"/>
<Material Name="Crystal" Link="Crystal"/>
etc...

no ?
Correct