Niels Hilbrink (Hilbrink++at++nlr.nl)
Fri, 29 Aug 1997 11:20:44 +0200
If got a problem with the setView (and setViewMat) method of the pfChannel
class.
my code is as follows :
TransCoord.hpr[PF_H] = 0.0;
TransCoord.hpr[PF_P] = 0.0;
TransCoord.hpr[PF_R] = 0.0;
TransCoord.xyz[PF_X] = 0.0;
TransCoord.xyz[PF_Y] = -10000;
TransCoord.xyz[PF_Z] = 1000;
left->setView(TransCoord.xyz, TransCoord.hpr);
after this the dbx output of the left viewMatrix looks like this :
viewMat = class pfMatrix {
mat = {
[0] {
[0] 1.0
[1] 0.0
[2] 0.0
[3] 0.0
}
[1] {
[0] 0.0
[1] 1.0
[2] 0.0
[3] 0.0
}
[2] {
[0] -10000.0
[1] 1000.0
[2] 1.0
[3] 0.0
}
[3] {
[0] -10000.0
[1] 1000.0
[2] 0.0
[3] 0.0
This is clearly not correct, for starters the rotation matrix should be
orthogonal and the [3][3] element should be 1.
So my Question is this a bug or am I doing something from !!??
I'm running performer version 2.1 on an ONYX RE2 (I know, performer 2.1 is not
meant for a RE2 even so this should not happen right? Or is this "bug" an
example of the difference between RE2 and IR versions of Performer ?)
Best regards,
Niels Hilbrink
--
_/ _/ _/ _/_/_/_/ Niels Hilbrink (RS NOP)
_/ _/ _/ _/ _/ Hilbrink++at++nlr.nl
_/_/ _/ _/ _/ _/ tel : (++31)(0)527 248224 (NLR)
_/ _/ _/ _/ _/_/_/_/ (++31)(0)527 242259 (Home)
_/ _/_/ _/ _/ _/
_/ _/ _/ _/ _/ National Aerospace Laboratory (NLR)
_/ _/ _/_/_/_/ _/ _/ http://www.nlr.nl
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:48 PDT