furti / FreeCAD-ArchTextures

Add Textures to Architectural Objects in FreeCAD
MIT License
28 stars 13 forks source link

FreeCAD should set textureCoordIndex #5

Closed furti closed 6 years ago

furti commented 6 years ago

FreeCAD sets the textureCoordIndex of the BrepFaceSet to [-1]. But according to the documentation (https://grey.colorado.edu/coin3d/classSoIndexedFaceSet.html) it should either be empty or the same as coordinateIndex.

if you do specify indices for material, normals or texture coordinates for PER_VERTEX_INDEXED binding, make sure your index array matches the coordIndex array: there should be a -1 wherever there is a -1 in the coordIndex field.

furti commented 6 years ago

FreeCAD Forum Thread: https://forum.freecadweb.org/viewtopic.php?f=22&t=31599

furti commented 6 years ago

Closed as FreeCAD can do nothing about it.