0

I have imported a VRML from an N64 emulator.
Everything looks correct on the model but each face in the model has a different texture
i.e. 7C764073_c.bmp, 7C764073_c.bmp.001, 7C764073_c.bmp.002 etc.
When I select an image in the UV editor
is there a way to select the vertices that are mapped to that specific image?

  • Probably you'll need to have different uv maps but also different materials in this case. A material corresponds to some faces of the mesh. See https://blender.stackexchange.com/questions/516/add-different-materials-to-different-parts-of-a-mesh – lemon Jul 28 '19 at 08:16

1 Answers1

0

A slight variation of this answer, if you paste the following script into blenders python console you will get a list of what face uses which material and image.

import bpy

for obj in bpy.context.scene.objects:
    if obj.type == 'MESH':
        for f in obj.data.polygons:
            mat = obj.material_slots[f.material_index].material
            if mat and mat.use_nodes:
                for n in mat.node_tree.nodes:
                    if n.type == 'TEX_IMAGE':
                        print('Face', f.index, 'uses', n.image.name, 'from', mat.name)

If you are using 2.80, while in edit mode enable indices in the overlays menu.

overlays menu

Now in face select mode, when you select a face you will see the face index. Match this with the face index from the script to see what image it uses.

If you are using 2.7x, first enter bpy.app.debug=True in the python console, then you will find the indices option under Mesh Display, everything else is the same.

2.79 mesh display options

sambler
  • 55,387
  • 3
  • 59
  • 192