yfeng95 / face3d

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

bug fix for texture render #34

Open liguohao96 opened 5 years ago

liguohao96 commented 5 years ago
  1. since example/5_render is using a squared texture map, confusing 'tex_w' and 'tex_h' will be ok, but will cause a problem for non-squared texture map.
  2. confusing 'tri_pN_ind' and 'tex_tri_pN_ind' in mesh_core.cpp