Problem with size texture and interpolation

asked 2020-01-20 09:47:38 -0600

dregner gravatar image

updated 2020-01-20 10:01:34 -0600

Hello,

I am using gazebo to develop some optical measurement system and I have to get a good proportion for textures in the object. I made a pyramid of 25 x 12.5 mm and unwrapped a texture in order to have 1 square per millimeter, so I made a texture with a resolution of 25 x 200 (doesn't matter the height for unwrap) and using blender I set the position as the images below. image description

When I open the object in Gazebo 7 it appears blurred, as the image below. Resolution of the image is 25 x 200 pixels.

image description Image width 25 pixel
Object width 25 mm
Final Resolution 1 px//mm.

When I rescale the image for 250 x 2000 pixels (10 times), I get the result I wanted but I don't understand why.

image description Image width 250 pixel
Object width 25 mm
Final Resolution 10 px/mm.

As it is possible to count, the height of object has 25 squares in both images, but the first case gets blured. Anyone can help me explaining why this happens?

edit retag flag offensive close merge delete