Texturing the 3D Model
This page is relevant for ✅Studio ❌Player
What is texturing? Texturing is the process of applying colors, patterns, or materials to the surfaces of 3D models to make their appearance more realistic or visually appealing.
There are three methods to texture the 3D model:
- Color only: aluminum look, metal look, and plastic look
- Predefined textures
- Custom textures
Color
In the CAD system, you define the color value and name the color with a specific token:
| Token | Appearance |
|---|---|
Kunst or Plastic |
Appearance: Plastic surface |
Metal |
Appearance: Metal surface |
Alu |
Appearance: Aluminum surface |
Example: A 3D object has a gray color. The color or material is named 'Material1'. Rename the material to 'Material1 Alu' to make it look like aluminum. The gray color is preserved, but it visually appears as gray aluminum.
Case sensitivity is ignored. It is sufficient if the token appears in the string, without spaces or other characters.
This is a simple method to make the 3D model look good. The following methods are more complicated and require specific expertise.
Predefined Textures
This function also uses the names of the colors or materials that you have already assigned to your model in the original CAD system. By inserting specific keywords (tokens) into these material names, PLC-Lab 3D Studio recognizes them upon import and automatically replaces the original material with a predefined, more visually appealing Studio material (e.g., realistic metal, plastic, etc.).
Material Tokens:
The following strings (tokens) are recognized by PLC-Lab 3D Studio in material names and lead to an automatic replacement with corresponding Studio materials. The recognition is case-insensitive.
Universal-Belt(e.g., for conveyor belts)Universal-Alu(standard aluminum look)Universal-Metal-Galvanized(galvanized metal)Universal-Metal-Powder_DarkGrey(powder-coated, dark gray)Universal-Metal-Powder_Green(powder-coated, green)Universal-Plastic-Orange-Dirt(orange plastic, slightly dirty)Universal-Metal-Yellow-Used(yellow metal, used)Universal-Metal-Black-Damaged(black metal, damaged)Universal-Metal-Machined(machined metal)Universal-Metal-Green-Damaged(green metal, damaged)UniversalGray(neutral gray)Universal-AluGreen(greenish aluminum)
The use of textures requires advanced knowledge of UV unwrapping, scaling, and the correct assignment of material properties to achieve realistic results. Recommended scaling: 20-50 pixels per centimeter (px/cm). You can download the image files for the textures above here to find the correct scaling with your CAD system: Download. The UV settings of the 3D object must then be adjusted so that the texture is displayed correctly on the 3D object.
This texture must be correctly aligned and scaled. Download the texture and adjust it accordingly in your CAD system (UV scaling, alignment) so that it is displayed correctly: Download.
Custom Textures
This option allows you to create and use your own texture.
Example: Project directory is: C:\MySimulation
You have created two textures that are used in the 3D scene. The names of the materials are "MyConveyorTexture" and "MyStationTexture".
Required directory structure and files:
C:\MySimulation
Textures
MyConveyorTexture
Albedo.jpg
Metallic.jpg
Normal.jpg
Height.jpg
MyStationTexture
Albedo.jpg
Metallic.jpg
Normal.jpg
Height.jpgThe individual files of the texture:
| Filename | Explanation |
|---|---|
Albedo.jpg |
Contains the base color of the texture without light and shadow effects. |
Metallic.jpg |
Determines which areas should appear metallic (brightness values: 0–1). |
Normal.jpg |
Adds details to the surface by simulating unevenness. |
Height.jpg |
Creates a sense of depth to make the surface appear more realistic. |
Software recommendation for creating textures: With Adobe Substance 3D, textures can be created with little effort.
The use of textures requires advanced knowledge of UV unwrapping, scaling, and the correct assignment of material properties to achieve realistic results.