When I try to project mesh color onto the image space with no lightning calculation, the color is dim with a lower saturation/brightness, which is quite strange
Reference model:
Projected image (unproject into 3D space) :
I've already tried with setting ambient lightning to white with Scene(ambient_light=np.array([1., 1., 1., 1.]))
Solved! I found that I have to convert Trimesh's texture into flat color in order to render the correct color:
mesh.visual = mesh.visual.to_color().
Not sure if this is a bug from Trimesh or pyrender.
When I try to project mesh color onto the image space with no lightning calculation, the color is dim with a lower saturation/brightness, which is quite strange Reference model:
Projected image (unproject into 3D space) :
I've already tried with setting ambient lightning to white with Scene(ambient_light=np.array([1., 1., 1., 1.]))