Twinklebear / tobj

Tiny OBJ Loader in Rust
MIT License
235 stars 47 forks source link

Parse colors from vertex lines #26

Open demkom58 opened 4 years ago

demkom58 commented 4 years ago

In some models, their colors are in the vertex lines, currently they are ignored. I propose to add a reading of colors from such models.

Also I attached the test model: some_model.zip

Twinklebear commented 4 years ago

This could be a useful feature to have, we can put it in to tobj. For rendering something like DTI tractography or other stuff this could be pretty handy