Problem with size texture and interpolation
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.
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 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 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?
excuse me, i don't have answer to your request, but i have a question for you . how you configure your camera to 10 pixel per millimetre.
Knowing the focal length and distance from camera to object you know the size of your camera's field of view and you can express the size of a pixel in meters or millimetres like this website explain to you: Ground Sample Distance
bumping this because I have the same question. Would be great to be able to disable texture interpolation in Gazebo (or in the Collada file?) for low resolution textures (in my case AR tags). If anyone knows whether that's possible, would be great to get an answer!