face3d icon indicating copy to clipboard operation
face3d copied to clipboard

show.m error

Open ForestWang opened this issue 6 years ago • 4 comments

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);

ForestWang avatar Jul 27 '18 03:07 ForestWang

@ForestWang use uv_vertices instead of uv_vertices transpose

CalmCapK avatar Mar 15 '19 11:03 CalmCapK

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

LucienXian avatar Apr 23 '19 06:04 LucienXian

@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

xuexiaoxiaohu avatar May 20 '20 02:05 xuexiaoxiaohu

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

aniruok9 avatar Sep 15 '20 07:09 aniruok9