I have obj file.
I've tried to render it with both Redner and Blender.
The object has vertices, texture coordinate (uvs), polygons indices, polygons texture indices (uv_indices
I gave it the following parameters (which corresponded to obj data)
material = pyredner.Material(diffuse_reflectance = texture)
obj = pyredner.Object(vertices=vertices, indices=indices, uvs=uvs, uv_indices=uv_indices, normals=normals, material=material)
Hi,
I have obj file. I've tried to render it with both Redner and Blender. The object has vertices, texture coordinate (uvs), polygons indices, polygons texture indices (uv_indices I gave it the following parameters (which corresponded to obj data) material = pyredner.Material(diffuse_reflectance = texture) obj = pyredner.Object(vertices=vertices, indices=indices, uvs=uvs, uv_indices=uv_indices, normals=normals, material=material)