mkazhdan / TextureSignalProcessing

Gradient-Domain Processing within a Texture Atlas
70 stars 12 forks source link

Is stitching in 3D or 2D? #8

Open nikanfds opened 4 years ago

nikanfds commented 4 years ago

I run the example of rooster, and I can see in the output image the color of background turns darker in compare to textels.png And the mesh doesn't have any tex-coordinate that falls into background.

So the question came to my mind is that if you are stitching based on the boundaries in 3D space, then why the color of background should change?

Thanks

mkazhdan commented 4 years ago

Can you share an image of what you are describing?

nikanfds commented 4 years ago

Archive.zip

nikanfds commented 4 years ago

In the zip file I shared, comparing "texels.png" and "stitched.png" shows the difference in background

mkazhdan commented 4 years ago

I believe the answer is "no good reason". If I recall, we just set the background color to the average color of the foreground texels.