From: christopher.g.dorosky++at++lmco.com
Date: 07/12/2000 07:10:07
pfYay!
Thanks to all who helped me figure this out. The solution required the
glPolygonOffset.
I am not sure I understand why though. I set up blending and gl line smooth
in pre and post draw callbacks.
I used two colors, red and green.
If I set up the callbacks so that the blend func was GL_ONE, GL_ONE ,
blending the red lines only, I would see :
red lines, green lines, and where they overlapped, flashing yellow and green
lines.
If I set it up so all lines had the callbacks, I got red and green striped
lines at the overlap.
This behavior did not happen on the onyx2.
Using the glPolygonOffset, I have it fixed now, but am curious. What was the
real difference? Is it the depth of the Z buffer?
Also, blending with alpha on the octane did not seem to work. Is it supposed
to be this way?
Thanks for all the help,
Chris
Christopher Dorosky
Lead Electronic Systems Engineer - Real Time Simulation
Lockheed Martin Missiles and Fire Control - Dallas
christopher.g.dorosky++at++lmco.com
972-603-2349
This archive was generated by hypermail 2b29 : Wed Jul 12 2000 - 07:12:27 PDT