SoVRMLMovieTexturescaleTexCoord Property |
Boolean value which controls the way the image is mapped in case of non power-of-two video size.
Namespace: OIV.Inventor.VRMLnodes
OpenGL uses only power-of-two textures, so if the texture is not a power of two, it must be rescaled to the next higher power of two, which is time consuming.
If scaleTexCoord is true (default), the video image is not rescaled but only copied the next higher power-of-two texture. Thus, this texture has some unused area. In order to map only the original part of the image, the texture coordinates are rescaled. If other texture transforms are applied to the texture coordinates (especially if the texture is repeated), the unused part (black) could be displayed.
If scaleTexCoord is false, the video image is rescaled, which is time consuming.
NOTE: field available since Open Inventor 4.0
NOTE 2: This field is not compatible with VRML97. If you specify a non-default value for this field, when this node is written to a VRML file, the file will contain this incompatible field and standard VRML97 file readers will not be able to read it.