Bernard Leclerc (bleclerc++at++cae.ca)
Wed, 7 May 1997 12:32:41 -0400
This is a huge delay...
As Remi Arnaud mentioned, using projective texture is really costly. However I'm
not convinced that you're using this feature of the pfLightSource class. Here
are a more questions to help us identify what's going on.
What is the pfFrameRate() and pfPhase()? I assume 30 or 60Hz and PFPHASE_LOCK.
What is the pfMultiprocess() mode? PFMP_APP_CULL_DRAW?
What are the timings observed in perfly for the APP, CULL and DRAW stages?
What are the timings observed in your program?
And finally, how is the pfLightSource created? Is it something like this?
pfLightSource* ls = new pfLightSource;
ls->setPos(0, 0, -1, 0);
or
ls->setPos(0, 0, 100, 1);
ls->setSpotDir(0, 0, -1);
Or is it more complicated?
Let us know, we'll see what we can do...
Bernard Leclerc, Technical Leader, 3-D Graphics Applications
CAE Electronics Ltd. (http://www.cae.ca)
8585 Cote De Liesse, Saint-Laurent, Quebec, Canada, H4L-4X4
tel: +1 514 341 2000 extension 2275, fax: +1 514 340 5496
=======================================================================
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:12 PDT