Qt Design Studio provides a set of pregenerated Qt Quick 3D materials that can be used to create good-looking models quickly and easily.
To apply a 3D material to a component, drag-and-drop a material from the Qt Quick 3D Materials tab of Library to a model component in Navigator . The materials you add to the model are listed in the model component's 特性 view.
Each material has its own set of properties that can be used to further define the appearance of the material. For each material the Environment Map property specifies whether or not environment mapping is used for specular reflection. Use the Texture property to select a texture for the environment map. The Shadow Map property determine whether or not shadow mapping is used for generating realistic shadows. You can also select a Texture for shadow mapping.
The following describes properties of the metal-based materials, which include Aluminum , Aluminum Anod Emis , Aluminum Anodized , Aluminum Brushed , Aluminum Emissive , 铜 ,和 Steel Milled Concentric .
Set the surface tint of the material by specifying the Metal Color and Base Color properties. Use the Emission Color property to set the color of the glow for emissive materials. You can either use the color picker or specify an RBG value.
Use the properties under the 反射 tab to specify the reflective qualities of the material. For more information on the various material properties related to reflection, see Using Highlights and Reflections .
使用 粗糙度 properties to determine how light behaves when it comes in contact with material. With zero roughness, light bounces off a material, which makes it appear glossy. Increased roughness causes the light reflected off the material to scatter, which results in a matte appearance.
Use the properties under the Emission tab to specify the emissive qualities of the material. For more information on properties related to emission, see Self-Illuminating Materials .
Specify the properties under the Bump tab to simulate fine geometry displacement across the surface of the material. Use the Amount property to set the quantity of displacement, and the Texture property to define a texture for the bump map. For more information, see Simulating Geometry Displacement .
Another metal, the Steel Milled Concentric Material has certain properties that the other materials do not possess:
Under the Textures tab:
The following describes properties related to glass-based materials, which include Glass , 磨砂玻璃 , Frosted Glass Single Pass ,和 Glass Refractive .
Set the surface tint of the material by specifying the Glass Color property. You can also specify the Band Light Color 为 磨砂玻璃 material.
使用 Glass Color and Band Light Color properties to set the color properties for glass-based materials.
For frosted glass materials, specify the properties under the Bump tab to simulate fine geometry displacement across the surface of the material:
更多信息,见 Simulating Geometry Displacement .
For frosted glass materials, you can also specify Random Gradient Maps by using properties 1D , 2D , 3D and 4D . Each of the properties defines a texture map used to create the random bumpiness of the material.
The outlook of the 磨砂玻璃 material can be further defined by specifying the Band Light properties:
对于 Frosted Glass Single Pass material you can specify the noise quality by defining the noise Scale property and setting the noise 坐标 .
The following describes properties for the available plastic materials, which include Plastic Structured and Plastic Struct Emissive .
使用 Diffuse Color to set the color that the material reflects when illuminated by direct light.
The Emission Color defines the color of emission for the Plastic Struct Emissive material.
Plastic materials share some of the properties with glass materials. For descriptions of 粗糙度 and Index of Refraction properties, see general properties for glass materials .
见 Random Gradient Mapping for Glass Materials .
The properties of emission for glass materials are similar to those of metal materials. For decription of emission properties, see emission properties for metal materials .
The following describes properties for the available paper materials, which include Paper Artistic and Paper Office .
Set the surface tint for the Paper Office material by specifying the Paper Color 特性。
Specify the Transmission settings to define the outlook of light passing through the material. The Transmission Weight property specifies how much light scatters through the surface of the material, while the Reflection Weight sets the luminance of highlights and reflections.
使用 Light Wrap property to set the diffuse light bend of the material. The Texture property defines a texture for the diffuse map.
For the description of Bump properties, see properties for metal materials .
See the following table for available materials.
| Material | Example Image | 描述 |
|---|---|---|
| Aluminum |
|
A material with the appearance of aluminum. |
| Aluminum Anod Emis |
|
Anodized aluminum with emissive properties. |
| Aluminum Anodized |
|
Anodized aluminum. |
| Aluminum Brushed |
|
Brushed aluminum. |
| Aluminum Emissive |
|
Aluminum with emissive properties. |
| 铜 |
|
A material with the appearance of copper. |
| Glass |
|
A material with the appearance of glass. |
| Frosted glass |
|
Frosted glass. |
| Frosted Glass Single Pass |
|
A single-pass frosted glass. |
| Glass Refractive |
|
Refractive glass. |
| Paper Artistic |
|
A paper material with an artistic finishing. |
| Paper Office |
|
A paper material with an office-style finishing. |
| Plastic Struct Emissive |
|
A red structured plastic material with emissive properties. |
| Plastic Structured |
|
A red structured plastic material. |
| Steel Milled Concentric |
|
A milled concentric steel material. |