Skip to content

Texture on IfcSurfaceFeature not shown #140

@Noranius

Description

@Noranius

Starting from here: #127
I've gone further in the implementation of the texture. Theoretically I'm ready. The texture is loaded fom an image (jpg) and a Diffuse Material is created. See here: https://github.com/Noranius/XbimEssentials/blob/1ed83db09afa8d386e7f21fc6af06c53120c75d0/Xbim.Ifc/XbimTexture.cs#L165
However, the Texture is not showing up. I've tested it with the same texture in a simple 3D Application and it has worked instantly. Do somebody see what I'm missing? I checked that the geometry is drawn and so on. If i comment out entity 9100 the surface feature is shown as a patch on the surface of the beam. If i take a surface style with color it is working, too. But with the texture nothing is shown. Attached you find the ifc file with the corresponding texture. I appreciate any help in this.

SurfaceFeature.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions