Comment 2 for bug 804800

Revision history for this message
Yuv (yuv) wrote :

I temporarily changed the pattern generation in ProjectionGridTool.cpp to a fixed pattern:

    for (int x = 0 ; x < width ; x++)
    {
        for (int y = 0 ; y < height ; y++)
        {
            // red
            pix_start[0] = x%255;
            // green
            pix_start[1] = x%255;
            // blue
            pix_start[2] = x%255;
            // transparency
            pix_start[3] = 255;
            // point to the next pixel
            pix_start += 4;
        }
    }

and looked at it again. The texture is an equirectangular (2W=H). This time it displays well on the sphere but not on the flat images (see bleeding of the background color on the top, right, bottom edges in the attached screenshot). Also, when loading an equirectangular image it shows well in the preview but displays the gap in the overview.