Jump to content

Recommended Posts

Posted

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.

Blank.PNG

3D_Viewer.PNG

FBX_Version.PNG

  • Upvote 1
Posted

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. 

image.thumb.png.6d7ee3f34fca6e339162e424167d94a4.png

 

 

Astrocuco.thumb.png.c76e0fb3de2d6e437e7dca099625e11e.png

Posted
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

image.thumb.png.1a9d59e6be5c4fed7085bc830383845c.png
 

 

 

Astrocuco.thumb.png.c76e0fb3de2d6e437e7dca099625e11e.png

Posted

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.

Posted

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.

 

 

Astrocuco.thumb.png.c76e0fb3de2d6e437e7dca099625e11e.png

Posted

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.

Posted

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.

Posted

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.  



image.thumb.png.9c055210c2d83077499d4bba601c79ea.png

 

 

 

Astrocuco.thumb.png.c76e0fb3de2d6e437e7dca099625e11e.png

Posted

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. 
image.thumb.png.ff5083dc70dd45534579b6310b24a39d.png

 

 

Astrocuco.thumb.png.c76e0fb3de2d6e437e7dca099625e11e.png

Posted

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.

  • Upvote 1
Posted

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.

image.thumb.png.559f89acfa0831765ae868bb8a99de29.png

 

 

Astrocuco.thumb.png.c76e0fb3de2d6e437e7dca099625e11e.png

Posted

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.

My job is to make tools you love, with the features you want, and performance you can't live without.

Posted

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.

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...