Christopher Geyer (cgeyer++at++seas.upenn.edu)
Thu, 26 Jun 1997 10:40:27 -0400 (EDT)
If I try to do this:
DrawFunc( pfChannel *chan, void *data )
{
pfDraw( ) // draw the entire scene
for( int j = 0; j < DLlist->getNum( ); j++ )
{
pfDispList *dl = ( (pfDispList*) DLlist->get( j ) );
if( dl )
dl->draw( );
}
}
After the pfDraw(), it will not render the geometry in the display
lists. However, if I comment out the pfDraw(), it will render the display
lists.
If I put the pfDraw() after drawing the display lists, it renders as
expected. But I need to initialize the z-buffer before I render my
display lists.
What am I doing wrong? Why is pfDraw() preventing my display lists from
rendering?
Christopher
----------------------------------------------------------------------------
Christopher Geyer | CompSci and Math '99 at the University of Pennsylvania
215-732-4218 | cgeyer++at++seas.upenn.edu | http://www.seas.upenn.edu/~cgeyer/
=======================================================================
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:55:30 PDT