3D Model Parameter Configuration Instructions
When creating or editing a 3D model, you may encounter situations where you need to adjust various parameters. Here are instructions for the parameter configuration provided to you, as well as an explanation of the additional textureRepeat parameter.
Basic Parameters
shape: Torus The shape is set to a torus. This means that your model will be a ring-shaped object with a hole in the center, similar to the shape of a donut.
resolution: Normal The resolution is set to normal. This parameter usually controls the level of refinement of the model, but its specific meaning may vary in different software or engines. In the case of a torus, it may refer to the level of subdivision of the ring, affecting the smoothness and details of the ring.
color: #ff00c6 The base color of the model is set to bright pink (hexadecimal color code #ff00c6).
roughness: 0.6 The roughness is set to 0.6. This parameter affects the reflection effect of the model surface. The higher the value, the rougher the surface looks and the blurrier the reflection; the lower the value, the smoother the surface looks and the clearer the reflection.
metalness: 1 The metalness is set to 1. This parameter determines whether the model surface has a metallic texture. When the value is 1, the surface of the model will fully simulate the metal material, with high reflection and high gloss.
normalScale: 1 The normal map scale is set to 1. Normal maps are used to add details to the surface of the model without increasing the geometric complexity of the model. Adjusting this ratio can change the strength of the normal effect.
bumpScale: 0.003 The bump map scale is set to 0.003. Bump maps add texture by simulating surface height changes. Adjusting this ratio can change the strength of the bump effect.
displacementScale: 0.038 The displacement map scale is set to 0.038. Displacement maps are similar to bump maps, but the effect is more intense because it actually changes the geometry of the model. Adjusting this ratio can control the strength of the displacement effect.
envMapIntensity: 0.4 The environment map intensity is set to 0.4. The environment map is used to simulate the reflection effect of the surrounding environment on the surface of the model. Adjusting this parameter can change the obviousness of the environment reflection.
Additional parameters
autoRotate: Enable/disable the auto-rotation feature to allow the model to automatically rotate in the scene for all-round viewing. This feature is usually used in preview mode or display mode.
textureRepeat: Custom value The Texture Repeat parameter controls the number of times the texture map is repeated on the surface of the model. By adjusting this value, you can control the size and distribution of the texture to achieve the desired visual effect. For example, if you want the texture to repeat more densely on the surface of the model, you can increase this value; conversely, if you want the texture to be larger and sparser, you can decrease this value.