Jump to content
  • 0
Zeloz

FBX Importing Without Material

Question

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

Share this post


Link to post

20 answers to this question

Recommended Posts

  • 0

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

Share this post


Link to post
  • 0
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
Β 

Share this post


Link to post
  • 0

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.

Share this post


Link to post
  • 0

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.

Share this post


Link to post
  • 0

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.

Share this post


Link to post
  • 0

Was able to have this fully loaded with a single drag and drop operation of an FBX file.

Easy.PNG

Share this post


Link to post
  • 0

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.

Share this post


Link to post
  • 0

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

Β 

Share this post


Link to post
  • 0

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

Share this post


Link to post
  • 0

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.

Share this post


Link to post
  • 0

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

Share this post


Link to post
  • 0

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.

Share this post


Link to post
  • 0

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.Β 
image.thumb.png.fb463837d0949c8eeefebbd1a2e823da.png
https://www.autodesk.com/developer-network/platform-technologies/fbx-converter-archives


Β 

Β 

Β 

Share this post


Link to post
  • 0

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.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   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...