Nicolas Gauvin (nicolas++at++cae.ca)
Fri, 9 Aug 1996 12:21:03 -0400
The pfGeoSet list is internal/private to the pfString class and unaccessible.
As a way to work around this limitation, you could try associating
a pre and post draw callback to your pfText node that would use a
pfSprite to force a billboard effect. Something like:
static int
preDrawCB( pfTraverser* trav, void* data )
{
sprite->begin();
sprite->position(0.0f,0.0f,0.0f);
return PFTRAV_CONT;
}
static int
postDrawCB( pfTraverser* trav, void* data )
{
sprite->end();
return PFTRAV_CONT;
}
Check the man page on pfSprite. It's a nice feature added to libpr for
Performer 2.0.
--
Nicolas Gauvin CAE Electronics Ltd., 8585 Cote De Liesse
Software Developer Saint-Laurent, Quebec, Canada, H4L-4X4
3-D Graphics Applications tel: +1 514 341 2000 extension 2275
nicolas++at++cae.ca 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:53:20 PDT