1
$\begingroup$

Here's my problem :

  • I have a triangle mesh in .PLY file.
  • In this .PLY file I have a description for edges :

    • element edge N
    • property int vertex1
    • property int vertex2
    • property uchar red
    • property uchar green
    • property uchar blue

I want to observe the color of the edges. Actually, there will be just one color to tag some of the edges of the mesh.

Is it possible with Blender or MeshLab ?

Thanks.

$\endgroup$
1
$\begingroup$

Blender doesn't render mesh edges, it only renders faces. While you can display the mesh edges in the 3dview and see them when using an opengl render, they will be one colour for the object, normally black or orange when selected while grouped objects will be green when selected.

There are some ways to get around this, one is to use a wireframe modifier that turns the edges into a tube like mesh structure.

You can then apply the modifier and select parts of the mesh and assign different materials as explained before.

enter image description here

To get both outline and faces you simply need to duplicate the object and turn the duplicate into the wireframe tubing.

I don't know if the ply importer will maintain any edge colour information, but you may be able to adjust it to automate the process if you need to work with a complex mesh.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.