snow_master
07-03-2002, 03:22 AM
Hi,
I am drawing several objects in to the scene, using triangle strip and gl lists.
One of the objects is a tube.
Another object is a ring surrounding the tube.
I have the following problem:
From almost every angle I see the ring object with distortions, that is, the object becomes semi transparent in some parts of the object,
In a non uniform changing way(big line wholes that change their location according to the angle or distance that the object is turned to), I am sure the
model is fine since if I use a big zoom to the location of the ring I see the ring great.
Some facts:
The color alpha level of the ring is 1.0 and I am not using any blending function while drawing it.
The ring is actually the tube coordinates at a given location, that are being moved in the direction of the triangle Normals.
If I don’t move the ring vertices and leave them as they are of the tube I don’t see them at all.
(which is strange since I call the display list of the tube before the display list of the ring…is it suppose to be like that ?
does the order of the display lists calls counts ? does the order of the creation of the display lists counts ?)
If I move them in the negative side of the Normals I see them inside the tube and resolve the same visibility problem.
I checked it in two computers to make sure it’s not a driver problem (one with an ATI card and one with geforce-3) – same problem.
Any ideas ?
Thanks in advance.
I am drawing several objects in to the scene, using triangle strip and gl lists.
One of the objects is a tube.
Another object is a ring surrounding the tube.
I have the following problem:
From almost every angle I see the ring object with distortions, that is, the object becomes semi transparent in some parts of the object,
In a non uniform changing way(big line wholes that change their location according to the angle or distance that the object is turned to), I am sure the
model is fine since if I use a big zoom to the location of the ring I see the ring great.
Some facts:
The color alpha level of the ring is 1.0 and I am not using any blending function while drawing it.
The ring is actually the tube coordinates at a given location, that are being moved in the direction of the triangle Normals.
If I don’t move the ring vertices and leave them as they are of the tube I don’t see them at all.
(which is strange since I call the display list of the tube before the display list of the ring…is it suppose to be like that ?
does the order of the display lists calls counts ? does the order of the creation of the display lists counts ?)
If I move them in the negative side of the Normals I see them inside the tube and resolve the same visibility problem.
I checked it in two computers to make sure it’s not a driver problem (one with an ATI card and one with geforce-3) – same problem.
Any ideas ?
Thanks in advance.