Correctly prepare textures and materials for exporting models

Correctly prepare textures and materials for exporting models

Anonymous
Not applicable
4,615 Views
2 Replies
Message 1 of 3

Correctly prepare textures and materials for exporting models

Anonymous
Not applicable

The task is I'm trying to export a model to another format file to then use in a web project. Specifically, it's a "Three JS" project and the export format is a *.js file, but it's just for information.

 

So the problem is that exported model does not include textures. 

 

The materials are s follows:

 

Materials.png

 

For information, I use an exporter script for 3ds max that looks like this:

 

Exporter.png

 

It exports the model but not textures.

 

I think that something is incorrect in the original materials, I found some info about the same problem in Blender and guys suggested that you need to "unwrap" a texture before exporting. How do I do this in 3ds Max? I mean is it some big manual work or is it an automated process?

0 Likes
Accepted solutions (1)
4,616 Views
2 Replies
Replies (2)
Message 2 of 3

don_3259
Collaborator
Collaborator

hi i have shared uv unwrap link check it how to do that its easy not much difficult...thanks

 

Autodesk Student Amassdor
Guest & Visiting Lecturer
Ali Sajjad
Message 3 of 3

Anonymous
Not applicable
Accepted solution

Thanks, but looks like I've figured out where the problem was. It's not that much belongs to the 3DS Max, but to the exporting format and the exporting script. 

 

It is required to render all textures in 3DS Max including alpha, background, procedural textures and whatever you have there into a flat texture. So in material editor use Utilities - Render Map for your textures or for a composite texture if you have it, render it into a flat image and save. Then make a new material, assign this new flat texture to it. Then assign it to the model and then export this model to a *.js file.

0 Likes