Adjust Textures

images/download/attachments/113546810/CmdAdjustTexture.svg

This command allows you to manually choose which texture will be selected for each triangle, or to delineate the area where the texture will be applied (see command Estimate Pose).

Select a textured mesh and launch the command

Command

images/download/attachments/113546810/3DR_BilK2AsmOe.png

  1. All the Textures of the input mesh are listed and one color is randomly chosen for each of them.

    • You can change the color with the color button.

    • You can remove a texture from your mesh with the delete button.

  2. The Current Texture can be displayed for better understanding of the projection.

    • Show Image to toggle the visibility of the image.

    • Transparency modifies the opacity of the image to compare with the textures currently applied.

      Those options are only available on texture defined by a camera model (see Texture from Images).

  3. Navigation allows

    • Go to camera viewpoint, this will bring you to the point of view of the camera.

    • Navigate to current texture: when this mode is active, camera will follow the camera viewpoint when changing the selected texture.

  4. There is 3 options to Display the mesh.

    • images/download/attachments/113546810/MeshRGB.svg Colors: the textures are replaced by solid colors to better visualize overlapping.

    • images/download/attachments/113546810/MeshOneTexture.svg Current Texture: only the selected texture from the list is applied to the mesh.

    • images/download/attachments/113546810/MeshTextured.svg Textures: the mesh is rendered with all its textures.

  5. Click OK to validate and exit the command or Cancel to exit the command without validate.

Toolbar

The toolbar contains 4 categories of options;

  1. The selection Tools allow you to choose what kind of shape to use to apply the textures.

    • images/download/attachments/113546810/FreehandTool.svg Free Hand tool: hold the left button down and move it on the mesh in order to draw a contour. The triangles inside the contour will be selected.

    • images/download/attachments/113546810/PolylineTool.svg Polyline tool: click points to draw a polygon. The triangles inside the contour will be selected. Press Enter to validate.

    • images/download/attachments/113546810/RectTool.svg Rectangle tool: draw a rectangle either by clicking and dragging or by clicking 3 points (basis and height).

    • images/download/attachments/113546810/CircleTool.svg Circle tool: draw a circle either by clicking the center point and dragging the mouse or by clicking 3 points on the circle itself.

  2. You have 2 different User Viewpoint Filtering options to select triangles according to the user viewpoint (what you can see in the 3D scene).

    • images/download/attachments/113546810/CleanSeparateMeshSelectThrough.svg Select Through: select all triangles through the mesh.

    • images/download/attachments/113546810/CleanSeparateMeshOnlyVisible.svg Only Visible: only select triangles visible.

  3. You have 3 different Camera Viewpoint Filtering options to select triangles according to the camera viewpoint (what the camera can see from its attitude).

    • images/download/attachments/113546810/NoFilter.svg No Filter: all triangles within the contour are selected for edition.

    • images/download/attachments/113546810/PartiallyVisible.svg Partially Visible: if no vertex of a triangle is visible from the texture, this triangle is filtered out.

    • images/download/attachments/113546810/FullyVisible.svg Fully Visible: if all 3 vertices of a triangle are not visible from the texture, this triangle is filtered out.

      Note

      Those options are only available on texture defined by a camera model (see Texture from Images).

  4. The Edition mode option:

    • images/download/attachments/113546810/Fill.svg Fill: apply the texture to selected triangles not yet textured.

    • images/download/attachments/113546810/UpdateTexture.svg Update: to apply the current texture selected to selected triangles.

    • images/download/attachments/113546810/RemoveCurrent.svg Remove Current Texture: remove only the current texture to selected triangles.

    • images/download/attachments/113546810/RemoveAll.svg Remove All Texture: remove texture to selected triangles.

      Note

      A message will be displayed if no triangles are selected or if the texture cannot be applied.

Example

Sample with the file "TextureParam&CameraPath.rsh"

images/download/attachments/113546810/image2015-12-14_17_23_55.png