We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello, guys,
In Processing IDE, if you move to Examples > Shape > LoadShapeOBJ you'll get a code that simply load an .obj file containing a 3D model of a rocket and draw it.
However, if you just exchange that .obj with the one in the link below, sketch gets extremely slow. No loading in draw(), no pushing and popping matrices, no complex operations and still too bad. If I load it without textures, it draws ok, so the problem refers to the textures drawing. Any tips to make it more efficiently?
https://drive.google.com/open?id=1W35RJG4DvewOfsoSPPP8E5_qDJgnCqno
Thanks in advance!
Answers
I open it in Blender the UV Map looks very messy, it is too expensive to push all the data, ( crazy lines ends up to polygons not very well corresponding to the actual shape), you should manually unwrap it again then it should work.
so i have no time to search for a good reference.
as example how a uv map looks like:
youtu.be/sZDMFkj8GqA?t=6m38s . .
here is your original obj i just commented the materials definition
//