philgras/video-head-tracker

Texture :)

Opened this issue · 1 comments

Can we get this texture in an image format that can be loaded in blender? If yes please suggest the ways?

After VHT optimization, there's an output file tracked_flame_params.npz. On loading it, the index 'texture' has the texture parameters, from which you can get the albedo texture image by using the methods of HavenFeng/photometric_optimization, specifically focusing on the FLAMETex class.

The image will look something like this:

tex

On Blender I take this image and the mesh, and use the image as Base color in the Shading workspace.