Zeloz Posted April 3, 2019 Share Posted April 3, 2019 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. 1 Quote Link to comment Share on other sites More sharing options...
Yue Posted April 3, 2019 Share Posted April 3, 2019 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 Link to comment Share on other sites More sharing options...
Yue Posted April 3, 2019 Share Posted April 3, 2019 ... Quote Link to comment Share on other sites More sharing options...
Zeloz Posted April 3, 2019 Author Share Posted April 3, 2019 So Leadwerks cannot open embedded textures then? 1 Quote Link to comment Share on other sites More sharing options...
Yue Posted April 3, 2019 Share Posted April 3, 2019 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 Link to comment Share on other sites More sharing options...
Yue Posted April 3, 2019 Share Posted April 3, 2019 Here you can display the materials that have been assigned to the mesh. Quote Link to comment Share on other sites More sharing options...
Zeloz Posted April 3, 2019 Author Share Posted April 3, 2019 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 Link to comment Share on other sites More sharing options...
Yue Posted April 3, 2019 Share Posted April 3, 2019 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 Link to comment Share on other sites More sharing options...
Yue Posted April 3, 2019 Share Posted April 3, 2019 I think this might help. https://www.leadwerks.com/learn?page=Tutorials_Editor_Materials Quote Link to comment Share on other sites More sharing options...
Yue Posted April 3, 2019 Share Posted April 3, 2019 Quote Link to comment Share on other sites More sharing options...
Zeloz Posted April 3, 2019 Author Share Posted April 3, 2019 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 Link to comment Share on other sites More sharing options...
Zeloz Posted April 3, 2019 Author Share Posted April 3, 2019 Was able to have this fully loaded with a single drag and drop operation of an FBX file. Quote Link to comment Share on other sites More sharing options...
Zeloz Posted April 3, 2019 Author Share Posted April 3, 2019 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 Link to comment Share on other sites More sharing options...
Yue Posted April 3, 2019 Share Posted April 3, 2019 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 Link to comment Share on other sites More sharing options...
Yue Posted April 3, 2019 Share Posted April 3, 2019 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 Link to comment Share on other sites More sharing options...
Zeloz Posted April 3, 2019 Author Share Posted April 3, 2019 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. 1 Quote Link to comment Share on other sites More sharing options...
Zeloz Posted April 3, 2019 Author Share Posted April 3, 2019 Tape1-2.fbx 1 Quote Link to comment Share on other sites More sharing options...
Yue Posted April 3, 2019 Share Posted April 3, 2019 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 Link to comment Share on other sites More sharing options...
Josh Posted April 3, 2019 Share Posted April 3, 2019 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 My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Yue Posted April 8, 2019 Share Posted April 8, 2019 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 1 Quote Link to comment Share on other sites More sharing options...
Zeloz Posted April 14, 2019 Author Share Posted April 14, 2019 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.