Weird lines on my display?
Hi folks.
I have a smallish program which simply loads in an RGB PNG image, changes the format to RGBA, copies the Red channel into the Alpha channel, uploads it as an RGBA texture. Then all I simply want to do is draw textured quads with it. The texturing works fine but for some reason I'm getting this quirky stupid line being drawn accross the image in white. I thought maybe it was the line where the two triangles meet, but even without any rotation of the quads the line is sometimes at slightly different angles and sometimes at a totally different direction altogether. Also sometimes the line goes through the middle of the image while at other times it is off to one side. And furthermore, in some cases I get two or three lines on the same quad all at different angles which seems to change in some way when the quad is positioned at different coordinates.
Has anyone any idea what might be going on here? The blend mode is GL_ONE,GL_ONE. I also have smooth shading enabled with different colors at each vertex. I have no idea why it is producing these weird lines.
I have a smallish program which simply loads in an RGB PNG image, changes the format to RGBA, copies the Red channel into the Alpha channel, uploads it as an RGBA texture. Then all I simply want to do is draw textured quads with it. The texturing works fine but for some reason I'm getting this quirky stupid line being drawn accross the image in white. I thought maybe it was the line where the two triangles meet, but even without any rotation of the quads the line is sometimes at slightly different angles and sometimes at a totally different direction altogether. Also sometimes the line goes through the middle of the image while at other times it is off to one side. And furthermore, in some cases I get two or three lines on the same quad all at different angles which seems to change in some way when the quad is positioned at different coordinates.
Has anyone any idea what might be going on here? The blend mode is GL_ONE,GL_ONE. I also have smooth shading enabled with different colors at each vertex. I have no idea why it is producing these weird lines.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| n00b question: getting rid of lines along edges of polygons | Andrew | 2 | 2,478 |
Jun 5, 2005 05:57 PM Last Post: Andrew |
|
| Weird display results when porting an application from x86 | meeuw | 3 | 2,285 |
Apr 14, 2005 01:59 PM Last Post: Fenris |
|
| Blending -> Black Lines Through Textures (Wireframe like) | hangt5 | 2 | 2,991 |
Apr 5, 2005 05:06 AM Last Post: ThemsAllTook |
|
| textures vs lines and polygons | reubert | 16 | 6,131 |
Jul 9, 2003 05:20 PM Last Post: henryj |
|
| thick mitered lines? | arekkusu | 1 | 2,081 |
Jul 8, 2003 04:45 PM Last Post: Zoldar256 |
|

