Skip to main content

Patchwork 3D 2024 X7

Wire Import

Importing Files in the Wire Format

Geometry Data

The different types of geometry data interpreted are:

  • Groups,

  • Meshes,

  • Polysets,

  • Shells,

  • Surfaces.

Existing parameterizations are not interpreted. As a result, imported surfaces are given the default parameterization (type BOX).

Material Data

The material data interpreted are:

  • "File" type textures,

  • RGB color parameters,

  • Some parameters from the Phong and Lambert models.

For each Surface or Shell, the first shader only is retrieved. A Matter material is created from this shader and assigned to the corresponding object.

A standard Matter material is created by retrieving color data. Furthermore:

  • For "Phong" materials, intensity and specular roughness data, along with the diffuse intensity, specular filter and transparency, are retrieved,

  • If it is a "Lambert" type material, the diffuse intensity is recovered.

"File" textures in the original material are added to the texture library, and the first one is assigned to the diffuse color map of the material.