Select to view content in your preferred language

Texture scaling methods: any way to use nearest neighbor?

630
3
Jump to solution
05-23-2018 07:40 AM
LR
by
Frequent Contributor

I want to use color grid pngs to texture buildings. In their original resolution, the grid cells are uniformly 1x1 px large. When I apply the images to buildings, there isn't much of a grid left, because CE interpolates them.

Another problem is that the 1x1 grid dimensions don't reflect the actual dimensions, so the issue is not only scaling, but stretching as well. Resizing the images beforehand by a factor of 100 or more produces decent results, but some blur is still visible.

Is there a way to avoid this?  

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
CherylLau
Esri Regular Contributor

No, sorry, there is no option to use nearest neighbor interpolation.  As you said, the only way to mitigate this problem is to use a larger texture, but this doesn't completely solve the problem.

View solution in original post

0 Kudos
3 Replies
CherylLau
Esri Regular Contributor

No, sorry, there is no option to use nearest neighbor interpolation.  As you said, the only way to mitigate this problem is to use a larger texture, but this doesn't completely solve the problem.

0 Kudos
LR
by
Frequent Contributor

Which interpolation method does CE use? Looks bilinear.

0 Kudos
CherylLau
Esri Regular Contributor

bilinear