[info-performer] pfGeoState with glDrawElements

Date view Thread view Subject view Author view

From: Lawrence E Bertoldi (lberto++at++adelphia.net)
Date: 10/01/2003 08:29:51


Hi pfAll,

1) I have a piece of code where I build a pfGeoState to set up some
multi texturing!
        (currently 2 textures with pfTexGen etc!)

2) The geometry is a bunch of quad strips that I draw using
glDrawElements!

3) In the draw callback I do a "myGState->apply();" to set up the state!

RESULT :: This all works fine, I get my geometery drawn with all of the
textures applied!

The Problem:: is It takes about twice as long to draw when I apply the
pfGeoState
as it dose with out it!

Anybody have an idea what the problem might be!

Stats::
Pent 3.1g dual Z
RedHat 7.3 and 8.0
Nvidia FX2000 and FX3000 with 4496 drivers (I think that,s right)
Performer 2.5.1 and 3.0

Lawrence Bertoldi
Simagery Inc.
lberto++at++adelphia.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Oct 01 2003 - 08:46:44 PDT