Part 4: Texturing the back wall and the robot with Texture Generator
To close off the scene, the team builds a wooden wall behind the counter and textures it with Texture Generator directly in Cinema 4D (choose ). Then the robot from Part 1 gets a second, worn look, based on its original design image.
Building the wall from boards
The wall should show single horizontal boards. The art director starts with a Cube object and scales it to the size of one board.
The cube is made a child of a Cloner object in Linear mode. The cloner arranges any number of boards evenly in one direction; here, 9 boards are stacked on top of each other with a small gap between them.
A copy of the board cube is placed outside the Cloner, moved slightly back and scaled in height to form a back panel that holds the boards. Finally, the art director selects all objects and chooses Connect Objects + Delete. This creates a single polygon object, here named Wooden Wall. Texture Generator only accepts polygon objects, so this step also prepares the wall for texturing.
Texturing the wall
With the wall object selected, the art director opens Texture Generator. Each cube had its own UV coordinates, so after connecting the objects, the UV islands of the boards and the back panel lie on top of each other. For a UV layout without overlaps, UV Handling is set to Cinema 4D Unwrap before clicking Grab from project. See UV coordinates and UV handling.
If a model is uploaded via the web interface, you can also enable a recalculation of the UV coordinates there, which is performed by an AI algorithm.
In the Style step, the art director describes the texture: a warm wood tone with a visible horizontal grain.
Dark, warm wood with a horizontal grain, finished with an antique glaze.
After Generate references, the reference images are checked in the Settings step, here with Alignment set to Match reference and Quality set to Detailed. Generate Textures creates the texture, and in the Result step, Insert in scene applies it to the wall in the scene. See Generating textures from a text prompt.
The generated textures are first only held temporarily, for example in memory; in the Project Asset Inspector, their paths then begin with ramdisk://. When you save the scene for the first time, use to choose the folder in which the model and its textures are saved together with your scene. Alternatively, use the Project Asset Inspector to copy the textures into the tex folder of your project.
A worn variant of the robot
The robot from Part 1: Designing the robot barista with Model Generator gets an alternative texture. Models generated with Model Generator already have UV coordinates, so the art director keeps them: UV Handling stays at Keep Existing UVs. See UV coordinates and UV handling.
Check the orientation of the object axis
In the Style step, Texture Generator shows the model in the four views Front, Back, Left side and Right side. These views are based on the orientation of the object axis. In the first attempt, the XY plane of the robot's axis was parallel to a top view instead of the front of the robot. In all four views, the most important front side appears in hardly any of them. The camera icon of each view lets you adjust its angle, but only within a small range, so a rotation of 90 degrees is not possible this way.
The art director rotates the object axis so that the Y axis points upward along the height of the robot and the X axis points toward the robot's left side. Now the four views show the robot from the front, the back and both sides.
Check the orientation of the object axis before you open Texture Generator: The front of the object should be parallel to the XY-axis pair of the object axes. When you upload a model in the browser, the world axes of the file count instead of the object axis, so check the orientation of the geometry before you export it. See The four views show the model from the wrong sides.
Using the original design as an image reference
In the Style step, the art director adds the original design image of the robot, which was already used to generate the model, as an image reference. A short prompt describes the change, so that Texture Generator creates a variation of the existing look. See Generating textures from an image reference.
The attached image shows the robot’s original color texture. Use the same texture, but add signs of wear and scratches to it.
The reference images in the Settings step and the resulting texture show the robot with the same colors as before, now worn and scratched.
The generated material
In Cinema 4D, the generated textures are automatically connected to a Redshift OpenPBR Material. The texture files have a resolution of 4,096 × 4,096 pixels: a base color texture and textures for metalness, specular roughness and a tangent-space normal map. See Texture maps reference.
Texture Generator does not create transparent or cut-out areas. The base color texture is a JPG file without an alpha channel, and the connection to Opacity in the material is inactive. See No transparent areas.
