RE: Performance Problems with Billboards

New Message Reply Date view Thread view Subject view Author view

Jenny Zhao (zhz++at++dandan.engr.sgi.com)
Fri, 19 Feb 1999 10:03:48 -0800


Eric Webster wrote:
> For better
> performance, you should normally have multiple
> GeoSets per billboard node.

This is exactly right.

Sibylle, take a look at /usr/share/Performer/src/lib/libpfdu/pfdBillboard.c
it implements the function pfdCombineBillboards(pfNode *node, int sizeLimit)
which traverses the scene under node and combines GeoSets from multiple
billboards and put them under one billboard.
If you don't want to write your own combine code at construction time,
then just call pfdCombineBillboards on
your myScene node after it is fully constructed.
You need to experiment with the value for sizeLimit.

Jenny Zhao zhz++at++engr.sgi.com 650 933-5091


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Fri Feb 19 1999 - 10:03:52 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.