TextureCoordinateScaling

TextureCoordinateScaling

is an option to Plot3D and similar functions that specifies whether arguments supplied to a texture coordinate function should be scaled to lie between 0 and 1.

Details

  • The usual default setting is TextureCoordinateScaling->True.
  • With TextureCoordinateScaling->False, original unscaled values are fed to the texture coordinate function.
  • TextureCoordinateScaling->{s1,s2,} takes si to specify whether to scale argument i of the texture coordinate function.
  • Scaling is done so as to make the minimum and maximum values of all variables lie between 0 and 1.

Examples

Basic Examples  (2)

Parameters to TextureCoordinateFunction are normally scaled to be between 0 and 1:

Use unscaled coordinates:

Wolfram Research (2010), TextureCoordinateScaling, Wolfram Language function, https://reference.wolfram.com/language/ref/TextureCoordinateScaling.html.

Text

Wolfram Research (2010), TextureCoordinateScaling, Wolfram Language function, https://reference.wolfram.com/language/ref/TextureCoordinateScaling.html.

CMS

Wolfram Language. 2010. "TextureCoordinateScaling." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TextureCoordinateScaling.html.

APA

Wolfram Language. (2010). TextureCoordinateScaling. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TextureCoordinateScaling.html

BibTeX

@misc{reference.wolfram_2023_texturecoordinatescaling, author="Wolfram Research", title="{TextureCoordinateScaling}", year="2010", howpublished="\url{https://reference.wolfram.com/language/ref/TextureCoordinateScaling.html}", note=[Accessed: 18-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_texturecoordinatescaling, organization={Wolfram Research}, title={TextureCoordinateScaling}, year={2010}, url={https://reference.wolfram.com/language/ref/TextureCoordinateScaling.html}, note=[Accessed: 18-March-2024 ]}