Q: How to find current Xform for a given node?

New Message Reply Date view Thread view Subject view Author view

Mark Baranowski (baranowski++at++marklynn.demon.co.uk)
Wed, 15 Jan 1997 11:03:49 GMT


Hi,

I have a requirement to determine the current transformation matrix
applicable to specific nodes in my Scene graph. Specifically I need
this information for use in the Intersection process.

My current approach uses an intersection traversal callback on the
specified nodes which calls pfGetTravMat to store the matrix.

The intersection process makes calls to pfNodeIsectSegs and/or
pfChanNodeIsectSegs several times as part of it's processing before I
do the processing which makes use of the stored transformation
matrices.

The problem I have is that the intersection traversal triggered by the
calls to pfNodeIsectSegs etc may not reach the nodes with my callback
attached.

Can anyone suggest a way of getting the current transformation matrix
for a specific node which doesn't have this problem?

TIA.

Mark.

-- 
Mark Baranowski at work (baranowski++at++marklynn.demon.co.uk)
Pera, VR Division. Melton Mowbray, Leicestershire. UK.
Tel: +44 1664 501501, Fax: +44 1664 501553
All opinions expressed are my own and should not be viewed
as representing my employer unless stated otherwise.
===================================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:54:20 PDT

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