vrdTireMaterial¶
-
class
vrdTireMaterial
¶
(Inherits vrdBRDFMaterial
)
This class is used to handle all tire material properties.
Summary¶
- Functions:
- getBumpFlipU() → bool
- getBumpFlipV() → bool
- getBumpIntensity() → float
- getBumpMarkings() → vrdImage
- getBumpProfile() → vrdImage
- getDiffuseColor() → QVector3D
- getDiffuseColorSpectrum() → vrSpectrum
- getDiffuseInputGamma() → float
- getDiffuseMarkings() → vrdImage
- getDiffuseProfile() → vrdImage
- getDisplacementTexture() → vrdDisplacementTexture
- getGlossyColor() → QVector3D
- getGlossyColorSpectrum() → vrSpectrum
- getGlossyInputGamma() → float
- getGlossyMarkings() → vrdImage
- getGlossyProfile() → vrdImage
- getIncandescence() → vrdIncandescence
- getParallaxIntensity() → float
- getReflectivity() → float
- getRoughness() → float
- getTextureSettings() → vrdTireTextureSettings
- getUseBumpMarkings() → bool
- getUseBumpProfile() → bool
- getUseDiffuseMarkings() → bool
- getUseDiffuseProfile() → bool
- getUseGlossyMarkings() → bool
- getUseGlossyProfile() → bool
- setBumpFlipU(s)
- setBumpFlipV(s)
- setBumpIntensity(bumpIntensity)
- setBumpMarkings(image)
- setBumpProfile(image)
- setDiffuseColor(value)
- setDiffuseColorSpectrum(value)
- setDiffuseInputGamma(gamma)
- setDiffuseMarkings(image)
- setDiffuseProfile(image)
- setGlossyColor(value)
- setGlossyColorSpectrum(value)
- setGlossyInputGamma(gamma)
- setGlossyMarkings(image)
- setGlossyProfile(image)
- setParallaxIntensity(parallaxIntensity)
- setReflectivity(v)
- setRoughness(roughness)
- setUseBumpMarkings(use)
- setUseBumpProfile(use)
- setUseDiffuseMarkings(use)
- setUseDiffuseProfile(use)
- setUseGlossyMarkings(use)
- setUseGlossyProfile(use)
Functions¶
-
vrdTireMaterial.
getBumpFlipU
()¶ Returns the U tangent direction of the bump map.
Returns: The U tangent direction Return type: bool
-
vrdTireMaterial.
getBumpFlipV
()¶ Returns the V tangent direction of the bump map.
Returns: The V tangent direction Return type: bool
-
vrdTireMaterial.
getBumpIntensity
()¶ Gets bump intensity value.
Returns: The bump intensity value. Return type: float
-
vrdTireMaterial.
getBumpProfile
()¶ Gets the bump profile image.
Returns: The bump profile image. Return type: vrdImage
-
vrdTireMaterial.
getDiffuseColor
()¶ Returns: Current diffuse reflection color Return type: QVector3D
-
vrdTireMaterial.
getDiffuseColorSpectrum
()¶ Gets the diffuse color spectrum.
Returns: The current used spectrum for diffuse color Return type: vrSpectrum
-
vrdTireMaterial.
getDiffuseInputGamma
()¶ Gets diffuse input gamma value.
Returns: The diffuse input gamma value. Return type: float
-
vrdTireMaterial.
getDiffuseMarkings
()¶ Returns the diffuse markings image.
Returns: Diffuse markings image Return type: vrdImage
-
vrdTireMaterial.
getDiffuseProfile
()¶ Returns the diffuse profile image.
Returns: The diffuse profile image Return type: vrdImage
-
vrdTireMaterial.
getDisplacementTexture
()¶ Gets access to all properties of vrdDisplacementTexture.
Returns: An vrdDisplacementTexture object, to read and write access of alls properties. Return type: vrdDisplacementTexture
-
vrdTireMaterial.
getGlossyColor
()¶ Returns: Current glossy reflection color Return type: QVector3D
-
vrdTireMaterial.
getGlossyColorSpectrum
()¶ Returns: The material’s color spectrum for glossy reflections Return type: vrSpectrum
-
vrdTireMaterial.
getGlossyInputGamma
()¶ Gets glossy input gamma value.
Returns: The glossy input gamma value. Return type: float
-
vrdTireMaterial.
getGlossyMarkings
()¶ Returns the glossy markings image.
Returns: The glossy markings image. Return type: vrdImage
-
vrdTireMaterial.
getGlossyProfile
()¶ Returns the glossy profile image.
Returns: The glossy profile image. Return type: vrdImage
-
vrdTireMaterial.
getIncandescence
()¶ Gets access to all properties of vrdIncandescence.
Returns: An vrdIncandescence object, to read and write access of alls properties. Return type: vrdIncandescence
-
vrdTireMaterial.
getParallaxIntensity
()¶ Gets parallax intensity value.
Returns: The parallax intensity value. Return type: float
-
vrdTireMaterial.
getReflectivity
()¶ Gets the intensity of the reflection on the surface.
Returns: Current used intensity of the reflection on the surface. Return type: float
-
vrdTireMaterial.
getRoughness
()¶ Returns: The current value of roughness for this material. Return type: float
-
vrdTireMaterial.
getTextureSettings
()¶ Get access to all vrdTireTextureSettings properties.
Returns: The embedded vrdTireTextureSettings object Return type: vrdTireTextureSettings
-
vrdTireMaterial.
getUseBumpMarkings
()¶ Returns whether a bump marking texture is used.
Returns: True if a bump markings texture is used, False otherwise. Return type: bool
-
vrdTireMaterial.
getUseBumpProfile
()¶ Returns whether a bump profile is used.
Returns: True if a bump profile is used, False otherwise. Return type: bool
-
vrdTireMaterial.
getUseDiffuseMarkings
()¶ Return if a diffuse markings texture is used.
Returns: True if a diffuse markings texture is used. False otherwise. Return type: bool
-
vrdTireMaterial.
getUseDiffuseProfile
()¶ Returns if a diffuse profile texture is used.
Returns: True if a diffuse profiltexture is used, False otherwise. Return type: bool
-
vrdTireMaterial.
getUseGlossyMarkings
()¶ Returns if a glossy markings texture is used.
Returns: True if a glossy markings texture is used, False otherwise. Return type: bool
-
vrdTireMaterial.
getUseGlossyProfile
()¶ Returns whether a glossy profile texture is used.
Returns: True if a glossy profile texture is used, False otherwise. Return type: bool
-
vrdTireMaterial.
setBumpFlipU
(s)¶ Flips the U tangent direction of the normal or bump map of the markings texture. The profile texture should always be a height map and therefore flipping should not be required.
Parameters: s (bool) – Flip U direction state
-
vrdTireMaterial.
setBumpFlipV
(s)¶ Flips the V tangent direction of the normal or bump map of the markings texture. The profile texture should always be a height map and therefore flipping should not be required.
Parameters: s (bool) – Flip V direction state
-
vrdTireMaterial.
setBumpIntensity
(bumpIntensity)¶ Sets bump intensity value.
Parameters: bumpIntensity (float) – The bump intensity value.
-
vrdTireMaterial.
setBumpMarkings
(image)¶ Sets bump marking image.
To load bump images, use:
image = vrImageService.loadImage(filename, vrImageTypes.LoadType.Bump)
Parameters: image (vrdImage) – Bump image
-
vrdTireMaterial.
setBumpProfile
(image)¶ Sets bump profile image.
To load bump images, use:
image = vrImageService.loadImage(filename, vrImageTypes.LoadType.Bump)
Parameters: image (vrdImage) – Bump image
-
vrdTireMaterial.
setDiffuseColor
(value)¶ Sets the diffuse reflection color of the material.
Parameters: value (QVector3D) – New diffuse color.
-
vrdTireMaterial.
setDiffuseColorSpectrum
(value)¶ Sets the diffuse color spectrum.
Parameters: value (vrSpectrum) – New spectrum for diffuse color
-
vrdTireMaterial.
setDiffuseInputGamma
(gamma)¶ Sets the diffuse input gamma value.
Parameters: gamma (float) – The gamma value.
-
vrdTireMaterial.
setDiffuseMarkings
(image)¶ Sets diffuse markings image.
Parameters: image (vrdImage) – Diffuse image
-
vrdTireMaterial.
setDiffuseProfile
(image)¶ Sets diffuse profile image.
Parameters: image (vrdImage) – Diffuse image
-
vrdTireMaterial.
setGlossyColor
(value)¶ Sets the glossy reflection color of the material.
Parameters: value (QVector3D) – New glossy reflection color
-
vrdTireMaterial.
setGlossyColorSpectrum
(value)¶ Sets the material’s color spectrum for glossy reflections.
Parameters: value (vrSpectrum) – New color spectrum
-
vrdTireMaterial.
setGlossyInputGamma
(gamma)¶ Sets glossy input gamma value.
Parameters: gamma (float) – The gamma value.
-
vrdTireMaterial.
setGlossyMarkings
(image)¶ Sets glossy markings image.
Parameters: image (vrdImage) – Glossy image
-
vrdTireMaterial.
setGlossyProfile
(image)¶ Sets glossy profile image.
Parameters: image (vrdImage) – Glossy image
-
vrdTireMaterial.
setParallaxIntensity
(parallaxIntensity)¶ Sets the parallax intensity value.
Parameters: parallaxIntensity (float) – The parallax intensity value.
-
vrdTireMaterial.
setReflectivity
(v)¶ Controls the intensity of the reflection on the surface. The higher the value, the more the influence from the environment and objects around.
Parameters: v (float) – New intensity of the reflection on the surface.
-
vrdTireMaterial.
setRoughness
(roughness)¶ Controls the sharpness of the glossy reflections. The higher the value, the rougher the microscopic structure on top of the surface and more diffuse the reflections.
Parameters: roughness (float) – New value of roughness for this material.
-
vrdTireMaterial.
setUseBumpMarkings
(use)¶ Sets whether a bump markings texture should be used.
Parameters: use (bool) – True if a bump markings texture should be used, False otherwise.
-
vrdTireMaterial.
setUseBumpProfile
(use)¶ Set whether a bump profile should be used.
Parameters: use (bool) – True to use a bump profile, False otherwise.
-
vrdTireMaterial.
setUseDiffuseMarkings
(use)¶ Sets whether a diffuse markings texture should be used.
Parameters: use (bool) – True to use a diffuse markings texture, False otherwise.
-
vrdTireMaterial.
setUseDiffuseProfile
(use)¶ Sets whether a diffuse profile texture should be used.
Parameters: use (bool) – True to use a diffuse profile texture, False otherwise.
-
vrdTireMaterial.
setUseGlossyMarkings
(use)¶ Sets whether a glossy markings texture should be used.
Parameters: use (bool) – True to use a glossy markings texture, False otherwise.
-
vrdTireMaterial.
setUseGlossyProfile
(use)¶ Sets whether a glossy profile texture used.
Parameters: use (bool) – True if a glossy profile texture is used, False otherwise.