IFC 4.3.2.20241204 (IFC4X3_ADD2) under development

8.12.3.1 IfcBlobTexture

8.12.3.1.1 Semantic definition

An IfcBlobTexture provides a 2-dimensional distribution of the lighting parameters of a surface onto which it is mapped. The texture itself is given as a single binary blob, representing the content of a pixel format file. The file format of the pixel file is given by the RasterFormat attribute and allowable formats are guided by where rule SupportedRasterFormat.

For interpretation of the texture nodes see IfcImageTexture definition.

8.12.3.1.2 Entity inheritance

8.12.3.1.3 Attributes

# Attribute Type Description
IfcSurfaceTexture (7)
Click to show 7 hidden inherited attributes
IfcBlobTexture (2)
6 RasterFormat IfcIdentifier

The format of the RasterCode often using a compression.

7 RasterCode IfcBinary

Blob, given as a single binary, to capture the texture within one popular file (compression) format. The file format is provided by the RasterFormat attribute.

Table 8.12.3.1.B

8.12.3.1.4 Formal propositions

Name Description
RasterCodeByteStream

The size of the raster code shall be a multiple of 8 bits.

BLENGTH(RasterCode) MOD 8 = 0
SupportedRasterFormat

Currently the formats of bmp, jpg, gif and pgn, shall be supported.

SELF.RasterFormat IN ['BMP', 'JPG', 'GIF', 'PNG']
Table 8.12.3.1.C

8.12.3.1.5 Examples

8.12.3.1.6 Formal representation

ENTITY IfcBlobTexture
SUBTYPE OF (IfcSurfaceTexture);
RasterFormat : IfcIdentifier;
RasterCode : IfcBinary;
WHERE
RasterCodeByteStream : BLENGTH(RasterCode) MOD 8 = 0;
SupportedRasterFormat : SELF.RasterFormat IN ['BMP', 'JPG', 'GIF', 'PNG'];
END_ENTITY;

8.12.3.1.7 References

Edit on Github

3 contributor(s):
Last change: Improve definition split (#876) * bring back headers headers were previously removed by mistake, now bringing them back * add new lines and rename the tag add the word 'short' in it * unify newlines make exactly one newline before and two after the tag * resolving typos Because bringing back headers required to go back in time to previous version, I'm now re-resolving the issues: #861, #860, #856 by ArturTomczak on 7/16/2024, 2:07:28 PM

Is this page difficult to understand? Let us know!

8.12.3.1.8 Changelog

8.12.3.1.8.1 IFC4

  • where rule, RasterCodeByteStream
  • where rule, SupportedRasterFormat
  • where rule, WR11
  • attribute RasterCode type, Changed from "boolean" to "IfcBinary"