pfTranslate vs. pfMultMatrix

New Message Reply Date view Thread view Subject view Author view

Gan Wang (gan++at++cavalier.cambridge.com)
Thu, 25 Jan 1996 09:48:54 -0500


Hi there,

Here is a dumb question. I need to do a translation before drawing a gset.
 There are two ways to do it. I can use pfTranslate() on a precomputed vector,
or pfMultMatrix() on a precomputed matrix. That is,

        pfTranslate(vector);
        pfDrawGSet(gset);

or

        pfMultMatrix(matrix);
        pfDrawGSet(gset);

I need to do this repeatedly over a large group of gsets per frame. Which one
is more efficient?

Thanks.

Gan

-- 

Gan Wang

Cambridge Research Associates Office: 703-790-0505/703-917-5731 1430 Spring Hill Road, Suite 200 Fax: 703-790-0370 McLean, VA 22102 Internet: gan++at++cambridge.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:52:18 PDT

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