keunhong / svbrdf-renderer

Python renderer for spatially varying BRDFs from Aittala et al., 2015
7 stars 1 forks source link

Input file obj #1

Open AlejandroLanaspa opened 7 years ago

AlejandroLanaspa commented 7 years ago

Hi, first of all thank you for working on this library. I am trying to make it work. I got the inputs that were given in the paper linked (basically the pictures and some data.mat files) but I am not being able to understand the input you are giving to:

mesh = wavefront.read_obj_file(args.obj_path)

(in main.py)

Can you tell me what I am missing? I find an obj file in the inputs of the paper. Thank you for your time.

keunhong commented 7 years ago

Hi Alejandro, I don't think the original authors of the paper provide any .obj files. This can be any mesh in the Wavefront format. The OBJ file you provide must have a UV mapping defined for this to work.