Haian-Jin / TensoIR

[CVPR 2023] TensoIR: Tensorial Inverse Rendering
https://haian-jin.github.io/TensoIR/
MIT License
227 stars 12 forks source link

How to Extract maps which can be used in UE? #8

Closed semchan closed 1 year ago

semchan commented 1 year ago

Great job. I have seen that it is possible to export mesh, but I would like to know how to export texture maps so that they can be used in UE rendering engines effectively. Thanks a lot.

Haian-Jin commented 1 year ago

Thank you for your interest in this work!

To answer your question, I have not yet implemented this feature now.

It would require querying the BRDF and normals for each mesh vertex in 3D space, which involves first obtaining the intrinsic feature of the mesh vertex and then querying the corresponding MLPs. After obtaining the BRDF and normals, they would need to be mapped into a material textures map and normal map using some graphics algorithm.

If you tried it by yourself, please feel free to tell me if you have further questions.

YiChenCityU commented 1 year ago

It would be helpful to implement texture export function.