Texture from Color

images/download/attachments/113546708/CmdTextureFromColor.svg

This function will convert colored or inspected mesh into a textured mesh.

Select a colored or inspected mesh and launch the command.

images/download/attachments/113546708/image2019-6-24_9-1-47.png

  1. Define the image resolution. The value must be between 4 and 32 pixels per triangle.

  2. If the mesh is already textured, it is possible to update current texturing , that is to use the most relevant texture between the existing one and the new one, or to preserve existing texturing .

  3. If the mesh is both colored and inspected. The user has the ability to choose which information should be used for texturing the mesh. By default, the color information is used. Check the option Use inspection instead of color otherwise.

  4. Click on Preview to visualise the result and then, Ok to validate. Cancel will exit the command without any modification.

Note

A texture information of a mesh can be exported to OBJ format which is not the case of color or inspection information.

The number of pixels per triangle will improve the rendering but also increase the amount of RAM memory used

Initial inspected mesh of 81 000 triangles

With a texture of 4 pixels per triangle

With a texture of 32 pixels per triangle

No texture memory

3.75 Mb

239 Mb

images/download/attachments/113546708/InitialTri.png

images/download/attachments/113546708/4PixelsPerTri.png

images/download/attachments/113546708/32PixelsPerTri.png

images/download/attachments/113546708/Ini-Inspection-zoom.PNG

images/download/attachments/113546708/4-zoom.PNG

images/download/attachments/113546708/32-zoom.PNG

Selecting a greater image resolution will increase considerably the RAM memory used. In the worst case, we will have a factor 64 between a triangle with 4 pixels and a triangle with 32 pixels.