Practical example-based acquisition of material shape and reflectance