yfeng95 / face3d

Python tools for 3D face: 3DMM, Mesh processing(transform, camera, light, render), 3D face representations.
2.65k stars 611 forks source link

show.m error #5

Open ForestWang opened 6 years ago

ForestWang commented 6 years ago

Hi YadiraF:

whne i run the matlab code show.m in examples/Data/BFM, got the below error:

Error in show (line 38) patch('Vertices', uv_vertices', 'FaceVertexCData', tex', 'Faces', tri', 'FaceColor', 'interp', 'EdgeColor', 'none', 'EdgeLighting', 'none', 'LineWidth', 1);

CalmCapK commented 5 years ago

@ForestWang use uv_vertices instead of uv_vertices transpose

LucienXian commented 5 years ago

@CalmCapK I met the same problem. What does it mean? And What is the size of the generated file?(BFM.mat)

xuexiaoxiaohu commented 4 years ago

@ForestWang use uv_vertices instead of uv_vertices transpose After I use uv_vertices instead of uv_vertices transpose, I met another problem as follows Index exceeds matrix dimensions. Can you give me some instructions? Thanks a lot

aniruok9 commented 3 years ago

@xuexiaoxiaohu Replace line 38 with this: patch('Vertices', uv_coords, 'FaceVertexCData', tex', 'Faces', tri', 'FaceColor', 'interp', 'EdgeColor', 'none', 'EdgeLighting', 'none', 'LineWidth', 1);