gmggroup / omf-python

Python library for working with OMF files
MIT License
79 stars 20 forks source link

Combine data and texture attributes #40

Closed fwkoch closed 5 years ago

fwkoch commented 5 years ago

On elements, data and textures are separate lists. However, the difference between what goes in these lists is a bit arbitrary, especially as we introduce more data/texture types like UV-mapped textures. These use an image (so are they textures?) but they are also tied to the geometry (so are they data?).

We propose eliminating texture attribute and assigning all data and texture objects on an element to data.

banesullivan commented 5 years ago

I like this! And it would simplify the solution to #35

fwkoch commented 5 years ago

This was not accepted since we are renaming data to attributes and textures make less sense under the latter.