Re: Scaling

New Message Reply Date view Thread view Subject view Author view

From: Bram Stolk (bram++at++sara.nl)
Date: 04/11/2001 01:23:24


wouter wrote:
>
> Hi all,
>
> I'm trying to scale geodes using a pfFCS!! But I get the following
> message :
>
> Warning/Usage(2): No inverse: singular
> matrix

Are you using C++?
You passed an un-initialized matrix to the SCS contructor, probably.
 
> Is there anybody who have some information about scaling with pfFCS.

Try:

pfMatrix m;
m.makeScale(0.1,0.1,0.1);
pfSCS s(m);

For dcs's you can set the matrix later on, but for scs's the
matrix has to be correct at construction time, as that's the
only time that you'll be allowed to set it.

-- 
------------------------------------------------------------------------------
 Bram Stolk, VR Specialist.
 SARA Academic Computing Services Amsterdam, PO Box 94613, 1090 GP  AMSTERDAM
 email: bram++at++sara.nl   Phone +31-20-5923059  Fax +31-20-6683167

"I heard if you play the NT-4.0-CD backwards, you get a satanic message." "Thats nothing, if you play it forward, it installs NT-4.0" ------------------------------------------------------------------------------


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Apr 11 2001 - 01:23:32 PDT

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