I have identical code/model/texture on win7 and there it works as expected. I am unable to load a texture for .obj model on raspberry.
If I draw wireframe view on raspberry there seems to be strange lines going through the model (look at the attached image), this is not happening on win7. So therefor I am thinking if the problem is related to an underlying library loading the model.
Any hints on how to go about fixing this, either code or model?
I am using OF 0.9.8 and RPI3 with latest updates on raspbian.
Code with a test model: