This question is related to the way that PCL Viewer displays PolygonMesh, when Using C++ and Windows. As you may know, the color of each face is calculated based on the mean of the color of three vertices constructed the triangle (if it is square, so the color is calculated based on vertices of the square). But, In other 3D software (such as MeshLab, CloudCompare, ...), if same mesh is opened, the color of each face not only is not a constant color, but also is a gradient which changes smoothly among the colors of the vertices.

Now I want to know that is there any possibility in PCL Viewer (or OpenCV or VTK,) to display the color smoothly (like the one in MeshLab)?

Besides, I have also another question related to face color: How can I change the color of a face, for a PolygonMesh object in PCL library?

Similar questions and discussions