Creating a New Texture

To create a texture resource:

  1. From the Resource Manager, click New Resource, select Renderworks Texture, and then click Create. Alternatively, from the Resource Manager, select Renderworks Textures from the list of resource types on the tool bar, and click New Renderworks Texture.

  2. The Edit Texture dialog box opens. Specify the shader parameters. Shader types and properties are described in Renderworks Shader Types.

  3. Click OK to create a texture with the name and properties specified in the Edit Texture dialog box. The texture is saved with the file and displays in the Resource Manager (the texture preview in the Resource Manager uses the Flat preview object at twice the texture size for ease of identification).

Setting the Texture Size by Image

For image-based shaders, the real-world size of each texture repetition can be set based on a segment of the image.

To set the size of an image texture based on the image:

  1. Select the image to use for the texture, as described in Creating Image-based Shaders.

  2. In the Edit Texture dialog box, click Set By Image. If several image-based shaders are used, select the shader with the desired image in the Choose Image dialog box.

  3. The Set Image Size dialog box opens. Red handles flash briefly to indicate the location of the line segment.

  4. Specify the image length to use for sizing the texture by dragging the line segment into position, and then dragging the ends of the line segment. If necessary, use the mouse scroll wheel to zoom into and out of the image, or click and hold the mouse wheel button to pan.

  5. When the line is indicating the desired real-world length, specify the real-world size for the line segment in Feature Size.

  6. Click OK to exit the Set Image Size dialog box and update the Size value.

Setting Indirect Lighting Options

To save rendering time, it is possible to override the indirect lighting settings for individual textures (see Setting Lighting Options).

To set indirect lighting overrides for a texture:

  1. From the Edit Texture dialog box, click Indirect Lighting Options.

  2. The Indirect Lighting Texture Options dialog box opens. Specify whether, and to what degree, the texture should override the indirect lighting options.

  3. Click OK.

~~~~~~~~~~~~~~~~~~~~~~~~~

Creating Image-based Shaders

Renderworks Shader Types

Editing Textures and Shaders

Was this page helpful?

vectorworks.net