Zeloz 4 Posted April 3 I've tried to import a model created in C4D but am only getting a blank model.ย It opens correctly in Windows 3D viewer, Blender, and others. Quote Share this post Link to post
0 ๐Yue๐ 307 Posted April 3 Inside the engine you create the materials, and assign them to the model, this automatically recognizes the coordinates of the model to apply the material with its textures. ย Edit:ย Remember that the material must have the same name as the one applied to the mesh modeler.ย So every time you import the template, these materials are applied to the template automatically.ย Quote Share this post Link to post
0 Zeloz 4 Posted April 3 So Leadwerks cannot open embedded textures then? Quote Share this post Link to post
0 ๐Yue๐ 307 Posted April 3 Just now, Zeloz said: So Leadwerks cannot open embedded textures then? I don't know what textures are embedded (I use the translator), what happens is that when you are creating the model from the mesh modeling program, you assign a material to that mesh, therefore this material may or may not contain textures. ย In the import process you have to send everything, the mesh and the texture and so on the basis of that texture the material is created. ย Once inside leadwerks, you can open the texture to modify certain parameters.ย Translated with www.DeepL.com/Translator ย Quote Share this post Link to post
0 ๐Yue๐ 307 Posted April 3 Here you can display the materials that have been assigned to the mesh. Quote Share this post Link to post
0 Zeloz 4 Posted April 3 It seems like it isn't importing the materials correctly.ย I have made the model in Cinema 4D, and assigned materials.ย I can then open the FBX file in Blender, Windows 3D Viewer, Unreal, and probably other programs and can see that the materials are in that FBX file.ย Basically, I know the model is all there in the file, but I don't see them showing up in Leadwerks. Quote Share this post Link to post
0 ๐Yue๐ 307 Posted April 3 What you have to do, and what I understand is this.ย -You import the model to Leadwerks. -You create the materials from leadwerks with the texture for that material. (The same name of the material creating in the modeling program, example Blender) -This material is assigned to the different surfaces of the model. -Then when you update the import, those materials are already glued to the model. Quote Share this post Link to post
0 ๐Yue๐ 307 Posted April 3 I think this might help. https://www.leadwerks.com/learn?page=Tutorials_Editor_Materials Quote Share this post Link to post
0 Zeloz 4 Posted April 3 Maybe certain FBX files act differently but when I put in a pre-made character (single FBX file), it converts everything and automatically puts the textures into the model. Quote Share this post Link to post
0 Zeloz 4 Posted April 3 Was able to have this fully loaded with a single drag and drop operation of an FBX file. Quote Share this post Link to post
0 Zeloz 4 Posted April 3 I imagine there must be a way to do the same with the materials, I hope.ย Would be a ton of unneeded work having to import them separately and assign textures to each model all over again. Quote Share this post Link to post
0 ๐Yue๐ 307 Posted April 3 You put all the textures, then at the top in the menu you put the following option. This creates materials for all textures.ย That's in the link I sent you about materials. I don't think it's much work. ย ย Quote Share this post Link to post
0 ๐Yue๐ 307 Posted April 3 I tested here, created a simple model of a box, dragged the model with its texture And the materials were created automatically.ย The issue is not just dragging the model, but also its texture.ย Quote Share this post Link to post
0 Zeloz 4 Posted April 3 Maybe I just have to learn the system to make it work well, but other software opens it directly with no issue.ย I somehow have to export the materials out of Cinema 4D in a way that I can import into Leadwerks. Quote Share this post Link to post
0 ๐Yue๐ 307 Posted April 3 I have tested the model, but you need the texture of it for the moment to export it to leadwerks, create the material and automatically be assigned to the model. Quote Share this post Link to post
0 Josh 8,452 Posted April 3 I don't think I have ever seen an FBX file with textures embedded in it before. I suggest exporting it with separate image files for the textures. Quote Share this post Link to post
0 ๐Yue๐ 307 Posted April 8 I'm going to add something, I'm using the fbx format converter to change from version 6.0 to 7.0, in my conversion it's possible that the texture is embedded in the material. And although it hasn't been a success to import it into leadwerks, if you can import the textures into a separate file.ย https://www.autodesk.com/developer-network/platform-technologies/fbx-converter-archives ย ย ย Quote Share this post Link to post
0 Zeloz 4 Posted April 14 Thanks for the suggestion.ย I was unable to convert the more recent file type with the 2013 converter but perhaps they have a later version that would work. Quote Share this post Link to post
I've tried to import a model created in C4D but am only getting a blank model.ย It opens correctly in Windows 3D viewer, Blender, and others.
Share this post
Link to post