Shankar N Swamy (shankar.n.swamy++at++boeing.com)
Tue, 08 Dec 1998 20:53:49 -0800
I need to get the model matrix. I do that by using a
pfuTraverser and popping the matrix stack at the right
node. I noticed that sometimes the matrix I get this
way is off from the one that performer uses to render
the object.
To debug, I tried drawing the same object a second time,
by separately transforming the vertices of the object by
the model matrix I get from the pfuTraverser, and
and attaching it directly to the root node via a geode.
That should draw two overlapping objects. It does - most
of the times.
When I am in the trackball mode and zoom out of the object,
I notice that the computed viewing matrix is slightly off,
which shows up as the two objects slightly displaced from
each other.
This error increases as I move furhter away (along +y in the
default "perfly system"), that is, the duplicate objects
move away from each other as I translate down the y-axis.
What makes me suspect that this is a bug is that if I switch
to drive- or fly- mode, the error immediately disappears!
This shows up as one of the displaced objects jumping and
merging into the other one.
I have this problem (or "feature") only in the trackball mode.
Can some pfPerson help me get the right model matrix in the
trackball mode - please.
Thanks.
This archive was generated by hypermail 2.0b2 on Tue Dec 08 1998 - 20:54:04 PST