public class SoVRMLTextureCoordinate extends SoVRMLNode
SoVRMLTextureCoordinate
node specifies a set of 2D texture coordinates used by vertex-based geometry nodes (e.g. SoVRMLIndexedFaceSet
and SoVRMLElevationGrid
) to map from textures to the vertices. Texture map parameter values range from 0.0 to 1.0 in S and T. The horizontal coordinate, S, is specified first, followed by the vertical coordinate, T.
<font color="#0000FF">NOTE:</font> This class does not exist in Open Inventor 10.0 and later.
This section describes the expected behavior of the node in a conforming VRML97 browser application. In some cases, the application is responsible for implementing portions of the expected behavior. Open Inventor viewer classes and IVF classes implement some of the application behaviors.
This section may reference portions of the VRML97 specification that are not present in this help file. The complete VRML97 spec is available at
The SoVRMLTextureCoordinate
node specifies a set of 2D texture coordinates used by vertex-based geometry nodes (e.g. SoVRMLIndexedFaceSet
and SoVRMLElevationGrid
) to map from textures to the vertices. Textures are two dimensional color functions that given an S and T pair return a color value. Texture maps parameter values range from 0.0 to 1.0 in S and T. However, SoVRMLTextureCoordinate
values, specified by the point
field, can range from -
infinity to +
infinity . Texture coordinates identify a location (and thus a color value) in the texture map. The horizontal coordinate, S, is specified first, followed by the vertical coordinate, T.
If the texture map is repeated in a given direction (S or T), then a texture coordinate C is mapped into a texture map that has N pixels in the given direction as follows:
If the texture is not repeated:Location = (C - floor(C)) * N
See texture nodes for details on repeating textures (Location = (C > 1.0 ? 1.0 : (C < 0.0 ? 0.0 : C)) * N
SoVRMLImageTexture
, SoVRMLMovieTexture
, SoVRMLPixelTexture
).
File format/default:
point | [] |
metadata | NULL |
Action behavior:
SoGLRenderAction
, SoRayPickAction
, SoCallbackAction
Deprecated since Open Inventor 9500
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoMFVec2f |
point
Deprecated.
Texture coordinate points.
|
metadata
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoVRMLTextureCoordinate()
Deprecated.
Constructor.
|
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public final SoMFVec2f point
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com