Precision of grid representation on panosphere overview
Bug #804800 reported by
Yuv
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Hugin |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In the fast preview a grid maps visually the flat preview to the panosphere overview. To my understanding, the grid is a perfect equirectangular image (2*width=height) and is mapped on the sphere. However the mapped representation leaves a gap at the 360° and at zenith/nadir - see the "C" shaped gap in the attached screenshot.
This is on Kubuntu 11.04 with Intel video. Is this anomaly visible also on other systems / opengl video drivers?
Changed in hugin: | |
milestone: | none → 2011.4beta1 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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.