[info-performer] Display Lists

Date view Thread view Subject view Author view

From: Dimi (christop++at++fhw.gr)
Date: 11/21/2005 00:55:33


Hi,
I would like to ask how to enable DList for a model in Performer.
In the example source and the docs its stated that using
pfuTravSetDListMode(ViewState->scene, 1);
does the Job.
But when I had a look in the perfly source I noticed that after doing
the above funtion,
another function
pfuTravCompileDLists(ViewState->sceneGroup, PFU_ATTRS_NONE);
was called in the PreDraw of the Channel once for each Pipe.

Why did they do this?
Do the dlists have to be compiled explicitly?
Do I have to use pfuTravCompileDLists after issuing pfuTravSetDListMode?

Thanks
Dimi

-- 
Dimi Christopoulos {christop++at++fhw.gr}|
      VR Software Engineer          |Web: www.fhw.gr
Foundation of the Hellenic World    |Tel. (+30) 21 254 03800,(+30) 21
034 22292
      Athens -  Greece              |Fax. (+30) 21 254 03838,(+30) 21
034 22272


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Nov 21 2005 - 00:37:43 PST