NextFace icon indicating copy to clipboard operation
NextFace copied to clipboard

How to make merged texture? (reconstruction result like paper)

Open BbChip0103 opened this issue 3 years ago • 2 comments

Hi, thank you for nice work. It's great research to make high resolution face texture. In my case, result set(diffuseMap, roughnessMap, specularMap, envMap) is too difficult to use (compare than other project. they make .obj and texture image only) I know these are more detail features. But I'm using pytorch3d to visualize 3D obj, and there is no option to use these. Is there any solution to merge these details using python? I want to get reconstructed .obj result without 3D tools (unreal, Unity, blender, etc)

BbChip0103 avatar Jul 24 '22 13:07 BbChip0103

Hi, NextFace uses cook torrance brdf for rendering, the estimated diffuse specular and roughness albedo maps can be used for this. u need to write ur own shader to combine these textures.

something similar to this (https://garykeen27.wixsite.com/portfolio/cook-torrance-shading)

abdallahdib avatar Jul 29 '22 10:07 abdallahdib

also plz refer to the implementation of redner for accurate implmenetation of the brdf

Line 355 (function bsdf) https://github.com/BachiLi/redner/blob/master/src/material.h

abdallahdib avatar Jul 29 '22 10:07 abdallahdib