Textur - Vertex | |
Texture Vertex | |
Sommet de texture |
Item | SPF | XML | Change | Description | IFC2x3 to IFC4 |
---|---|---|---|---|
IfcTextureVertex | MOVED | Schema changed from IFCPRESENTATIONDEFINITIONRESOURCE to IFCPRESENTATIONAPPEARANCERESOURCE. |
An IfcTextureVertex is a list of 2 (S, T) texture coordinates.
NOTE Definition according to ISO/IEC 19775-1 :
Each vertex-based geometry node uses a set of 2D texture coordinates that map textures to vertices. Texture map values ( ImageTexture, PixelTexture) range from [0.0, 1.0] along the S-axis and T-axis. However, texture coordinate values may be in the range (-∞,∞). Texture coordinates identify a location (and thus a colour 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-axis or T-axis), a texture coordinate C (s or t) is mapped into a texture map that has N pixels in the given direction as follows:Texture map location = (C - floor(C)) × N
If the texture map is not repeated, the texture coordinates are clamped to the 0.0 to 1.0 range as follows:Texture map location = N, if C > 1.0,
= 0.0, if C < 0.0,
= C × N, if 0.0 ≤ C ≤ 1.0.
NOTE Texture coordinates may be transformed (scaled, rotated, translated) by supplying a TextureTransform as a component of the texture's definition.
HISTORY New entity in IFC2x2.
# | Attribute | Type | Cardinality | Description | G |
---|---|---|---|---|---|
1 | Coordinates | IfcParameterValue | L[2:2] | The first Coordinate[1] is the S, the second Coordinate[2] is the T parameter value. | X |
# | Attribute | Type | Cardinality | Description | G |
---|---|---|---|---|---|
IfcPresentationItem | |||||
IfcTextureVertex | |||||
1 | Coordinates | IfcParameterValue | L[2:2] | The first Coordinate[1] is the S, the second Coordinate[2] is the T parameter value. | X |
<xs:element name="IfcTextureVertex" type="ifc:IfcTextureVertex" substitutionGroup="ifc:IfcPresentationItem" nillable="true"/>
<xs:complexType name="IfcTextureVertex">
<xs:complexContent>
<xs:extension base="ifc:IfcPresentationItem">
<xs:attribute name="Coordinates" use="optional">
<xs:simpleType>
<xs:restriction>
<xs:simpleType>
<xs:list itemType="ifc:IfcParameterValue"/>
</xs:simpleType>
<xs:minLength value="2"/>
<xs:maxLength value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
ENTITY IfcTextureVertex
SUBTYPE OF (IfcPresentationItem);
Coordinates : LIST [2:2] OF IfcParameterValue;
END_ENTITY;
References: IfcTextureMap