jannerm / intrinsics-network

Code for the paper "Self-Supervised Intrinsic Image Decomposition"
http://rin.csail.mit.edu/
142 stars 27 forks source link

For normal .obj files rendering #13

Closed Alvin0629 closed 4 years ago

Alvin0629 commented 4 years ago

hi dear Michael,

I am using your rendering code to render intrinsic images from normal .obj dataset like faces. The raw files (.obj and .mtl, .png) are in the attached zip file. I found for common obj mesh, they do not have many "Mesh" groups like in ShapeNet. So for ShapeNet, I can render intrinsic images without problems, but for normal obj files, I cannot load the color/texture in composite/albedo with your code. The rendered result is here:
Composite: image Albedo: image Depth: image

Could you please help to check or have some suggestions on how to modify your codes to make it also worked for normal obj files? Thanks sooo much!!!

0365489.zip

jannerm commented 4 years ago

This dataset preparation code is pretty tailored to ShapeNet, but I actually have code in another repo specifically for rendering intrinsic images of face meshes like these: https://github.com/JannerM/face-intrinsics.

Hope this is useful!

Alvin0629 commented 4 years ago

This dataset preparation code is pretty tailored to ShapeNet, but I actually have code in another repo specifically for rendering intrinsic images of face meshes like these: https://github.com/JannerM/face-intrinsics.

Hope this is useful!

Thanks Michael! I will try this repo to see and let you know.