# Texture 3D

## <img src="https://3375153115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5uhW8FwQpXQj8tHUULMo%2Fuploads%2FS6Xj4mTO2ZAFznpKxRBy%2FSMART_TEXTURE_3D.png?alt=media&#x26;token=985f3ab1-5af7-43f2-b9e0-f1dedd746d67" alt="" data-size="line"> Texture 3D <a href="#texture-3d" id="texture-3d"></a>

Using this command, you can select a surface and cover it with a fantastic Texture 3D, a three-dimensional interpretation of a 2D texture using it as a height map. It's especially useful for applying complex texturing to your designs.

![Textures 3D Examples](https://3375153115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5uhW8FwQpXQj8tHUULMo%2Fuploads%2FDNRdURJ9aK1FvcUL0MXs%2FTexture%203d.jpg?alt=media\&token=45ea75d3-38d1-48b8-af42-bcebe7a7ef50)

This command requires two elements: an image and a surface.

You can choose which texture to use by clicking on the left selection square; this will open your available textures.&#x20;

<figure><img src="https://3375153115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5uhW8FwQpXQj8tHUULMo%2Fuploads%2FaRzOgqO76j4AHkezYkZu%2Fimage.png?alt=media&#x26;token=277a57fc-1986-46b0-9d97-a4331a7106c4" alt=""><figcaption></figcaption></figure>

With the right selection button, you can choose which object to apply the Texture 3D.&#x20;

Below are the measurements of the texture, from its stretching in U and V to its displacement, height, and rotation. You also have the option to align the texture in its four corners or mirror it on two axes.&#x20;

The Resolution slider is at the bottom, letting you adjust the quality of the resulting texture.

<figure><img src="https://3375153115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5uhW8FwQpXQj8tHUULMo%2Fuploads%2Fj1D4sDfNkG0WtZ8Gs3gY%2Fimage.png?alt=media&#x26;token=c88d8926-d797-4659-a599-c6a06214be4f" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
An important point is that the texture's appearance on the object is always shown, but the texture won't be fully calculated until we click the **Preview** button.
{% endhint %}

Once the preview is displayed, click the Confirm button.

{% hint style="warning" %}
This command is resource-intensive and requires heavy processing on your computer.&#x20;
{% endhint %}

### How can I add my textures and images?

An exciting feature of this command is that it uses standard textures and images in JPG or PNG format, allowing us to add our own.  You can add more textures by placing them on your [User Folder](https://docs.rhinoartisan.com/user-interface/user-folder) > Textures3D.

### Why is the texture larger than the surface?

We must distinguish between a surface and a trimmed surface to understand this concept. The command uses the entire surface, so if trimmed, it will display something similar to this example.

We will see the following if we use the Show Control Points command (F10).

<figure><img src="https://3375153115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5uhW8FwQpXQj8tHUULMo%2Fuploads%2FEvfnRYOmXceo8HWzzSb4%2Fimage.png?alt=media&#x26;token=3aa36de3-d10c-4aab-b680-ebc4734834e1" alt=""><figcaption><p>Trimmed Torus</p></figcaption></figure>

This surface is a trimmed section of a torus. To address this, we have two options: the first is to create the texture with the surface and trim it, which may not be ideal; the second is to use the **Surface > ShrinkTrimmedSurface** command, which will recalculate a new surface adjusted to the trim.

<figure><img src="https://3375153115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5uhW8FwQpXQj8tHUULMo%2Fuploads%2FZCfJCXomfsxDIB7T39eY%2Fimage.png?alt=media&#x26;token=0782529d-aeda-4780-b17e-dceb0dabf088" alt=""><figcaption><p>Example of the same surface after using the ShrinkTrimmedSurface command</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.rhinoartisan.com/commands/accessories/texture-3d.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
