Simon Mills (simon++at++wgs.estec.esa.nl)
Thu, 15 Apr 1999 09:58:44 +0200
I would recommend that you put you loop just around the polygon drawing
code as below. You should only need to do the push/pop of matrix and
state once per frame.
pfPushState();
pfPushMatrix();
pfBasicState();
glPushMatrix();
for ( i = 0 ; i < DEPTH; i++){
glBegin(GL_POLYGON);...
>
> thanks,
>
> --
> /*===============================================
> M. Devrim Erdem devrim++at++infotron-tr.com
> System Integration Engineer
> info(+)TRON, Turkey
> http://www.infotron-tr.com
> http://abone.turk.net/mderdem
> ===============================================*/
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
Hope it helps, Simon
________________________________________________________________________
Simon C. Mills
Silicon Worlds S.A.
c/o Modelling & Simulation Section (TOS-EMM) Tel: +31 (0)71 565 3725
European Space Agency (ESA/ESTEC) Fax: +31 (0)71 565 5419
Postbus 299, 2200AG Noordwijk e-mail: simon++at++wgs.estec.esa.nl
The Netherlands http://www.estec.esa.nl/wmwww/EMM
________________________________________________________________________
This archive was generated by hypermail 2.0b2 on Thu Apr 15 1999 - 00:59:09 PDT