Jean Daigle (jaydee++at++ATSaerospace.com)
Tue, 1 Oct 1996 16:08:28 -0400
On Oct 1, 10:40am, Janet Estabridis wrote:
} Subject: Is this possible ??
It's _always_ possible! :-)
} System: RE2 XRIX 5.3
Conventional wisdom says, if you're using RE^2, OpenGL will not
be faster than the legacy IRIS GL.
...
} 1. Is there a way to have the crosshair not interfer (i.e., if it is in
} front to be seen, it will definitley be in the zbuffer if I use the common
} method) ??
I infer that your crosshair is to be rendered as a 3D object in the
scene; i.e., it's inappropriate to use an overlay plane.
} 2. What would anyone suggest as a "nice" way and "the fastest way" to draw
} the crosshair or colored dot in my draw callback routine even if it
} interfers?? Is OpenGL in the draw callback routine going to be the
} fastest?
}-- End of excerpt from Janet Estabridis
>From a quick perusal of the man pages, it would seem your objectives
would be well met by an IRIS GL post-draw callback function which:
a) Disabled z-buffer updates with
zwritemask(0x0L);
b) Rendered your crosshair as a 3D object in normal draw mode
c) Re-enabled z-buffer updates with
zwritemask(0xFFFFFFFFL);
I hope this helps!
Regards,
Jean Daigle.
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:42 PDT