pfChannel::setViewMat() truncation problem

New Message Reply Date view Thread view Subject view Author view

Frederic Francis (pffred++at++llogic.com)
Thu, 27 Nov 1997 10:52:21 -0500 (EST)


Hi all,

  While debugging our multiple scale motion model implementation,
we have discovered that pfChannel::setViewMat(pfMatrix &mat) sets
to zero any entry in the translation part of mat which smaller than
1.0e-7.

This behavior seems to be confined to pfChannel::setViewMat since
altering the pfChannel class definition to allow setting the viewmat
directly makes the truncation disappear.

Why is this done ?

I'm assuming that it might have been done in order to avoid raising
floating point exception flags but I don't see why 1.0e-7 would be
a special threshold for underflow prevention.

Where is this documented ?

Is there a way to bypass or disable this truncation apart from
hacking the pfChannel header ?

                                Best Regards,

                                Fred.

__________________________________________________________________

Frederic Francis email: fred++at++llogic.com
Director of Technology phone: 1-514-287-1166
Lateral Logic fax: 1-514-287-3360
__________________________________________________________________

=======================================================================
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:56:15 PDT

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