VCityTeam / py3dtiles

Python module to manage 3DTiles format
Other
5 stars 7 forks source link

Write simple material in gltf header #18

Closed LorenzoMarnat closed 2 years ago

LorenzoMarnat commented 2 years ago

Write GlTF materials in header. A material contains a base color, a roughness factor and a metallic factor. It can also contains a base color texture (index of a texture image) if the material is textured. The material follows the GlTF material definition.

This PR will allow to write 3DTiles with color. All the geometries in a tile will have a RGB color or a texture. Different geometries from the same tile can have different materials.