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.
I temporarily changed the pattern generation in ProjectionGridT ool.cpp to a fixed pattern:
for (int x = 0 ; x < width ; x++)
pix_ start[0] = x%255;
pix_ start[1] = x%255;
pix_ start[2] = x%255;
pix_ start[3] = 255;
pix_ start += 4;
{
for (int y = 0 ; y < height ; y++)
{
// red
// green
// blue
// transparency
// point to the next pixel
}
}
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.