Open rosenb0rg opened 6 years ago
Hi,
save_vertices[:,1] = h - 1 - save_vertices[:,1]
before write obj. imshow(image);
hold on;
patch('Vertices', double(mesh.vertices), 'FaceVertexCData', mesh.colors, 'Faces', mesh.triangles, 'FaceColor', 'interp', 'EdgeColor', 'none', 'EdgeLighting', 'none', 'LineWidth', 1);
camlight('left');
Thanks for your reporting, if there's other people also care about that, I will modify this.
I'm having some trouble getting the OBJ mesh objects to align with the original photo. It seems like horizontal axis is swapped (although it depends what software you view it in. Any way to control axis orientation (or do you know what the default is for the libraries you're using?)
Related issue is how you created the 3D animated object you use in your demo video. I know this isn't strictly a coding issue, but I'm curious how you handle a sequence of OBJ files to turn them into an animation.