Re: Help for pfDCS class !

New Message Reply Date view Thread view Subject view Author view

Sharon Clay (src++at++rose.asd.sgi.com)
Sun, 18 May 1997 00:38:42 -0700


+>---- On May 16, 3:04pm, Jeremy Friesner wrote:
> Subject: Re: Help for pfDCS class !
->
->Just out of curiosity, is calling pfDCS::setCoord() more efficient
->then calling pfDCS::setTrans() followed immediately by pfDCS::setRot() ?
->It seems to me that calling setCoord() might mean only one bounding
->volume recalculation, as opposed to two the other way.

Actually, they'll be the same if after setCoord you also call
pfDCS::setMatType(). setRot and setTrans set the matTypes automatically
and for known mat types we can do various optimizations.

We do the volume re-calcs once a frame as part of the clean
operation in pfSync() (unless you do an explicity get of
a volume that is dirtied by the above set).

src.

-- 
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++
Sharon Rose Clay (Fischler) - Silicon Graphics, Advanced Systems Dev.
src++at++sgi.com  (415) 933 - 1002  FAX: (415) 965 - 2658  MS 8U-590
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/Performer/
            Submissions:  info-performer++at++sgi.com
        Admin. requests:  info-performer-request++at++sgi.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:15 PDT

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