Re: billboards

New Message Reply Date view Thread view Subject view Author view

From: Brian Furtaw (brian++at++sgi.com)
Date: 12/19/2000 06:48:46


With that many billboards and DCSs you are probably taking a huge time
hit for performer scenegraph housekeeping. Was the implementation to
slow with pfBillboards or did you just for go the pfBillboards for the
pfDCS implementation? You will probably be better off creating a
pfFlux'd geoset to hold all your billboards and use the CPU to orient
them toward the eye. A good example of this can be found at
http://www.dorbie.com/#_cch2_886177090, the application is called
Billboard. Using this method you will eliminate the Performer scenegraph
housekeeping overhead.

Merry Christmas,

Brian

Mark Evans wrote:
>
> I have a complex scene with a lot of billboards (more
> than 5K) and therefore I didn't use pfBillboards but
> instead pfDCSs - to be able to modify the rotation
> angle selectively, based on distance.
> I have a function that computes the angle of rotation
> for every pfDCS (associated with a billboard), and
> also
> sets this angle in the pfDCS matrix - so everything is
> done in this function. The function takes aprox. 7 ms
> every frame, yet, the frame time increases by aprox 22
> ms - and the statistics reports that the App step
> duration is increased by this amount.
> My question is: where does the difference (22 ms - 7
> ms) come from? Is it because Performer recomputes the
> bounding boxes/speres for the pfDCSs that have the
> rotation modified from one frame to another? Is there
> other reason? Does the pfBillboard bring advantages
> over using pfDCSs for many billboards?
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Shopping - Thousands of Stores. Millions of Products.
> http://shopping.yahoo.com/
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com

-- 
    ----oOOo----    ----oOOo----    ----oOOo----    ----oOOo----

Brian Furtaw (brian++at++sgi.com) Graphics Guru Office:(301)572-3293 Fax: (603)250-0370 12200-G Plum Orchard Drive OpenGL/Performer/OpenInventor/ImageVision Silver Spring, Maryland 20904 Volumizer/Optimizer/React/PCI Device Drivers


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Dec 19 2000 - 06:51:05 PST

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