Picking with asymmetric Viewing Frustum

New Message Reply Date view Thread view Subject view Author view

Wolfgang Trog (Wolfgang.Trog++at++philosys.de)
Thu, 16 Jul 1998 10:09:30 +0200


Hi Performers,

sorry, I hit the wrong button. Next try !

I try to do picking in a channel with an asymmetric viewing frustum. The
viewing frustum is set by pfMakePerspChan. E.g. to values 30 deg to
left, 32 deg to right and 22.5 top and bottom. Then, I do picking with

        NrHits = pfChanPick( Channel,
                         PFPK_M_NEAREST |
                         PFTRAV_IS_PRIM |
                         PFTRAV_IS_PATH |
                         PFTRAV_LOD_CUR,
                         ChannelX, ChannelY, 0.0f, PickList );

The picking calculation seems to use only the smallest value of
right/left and top/bottom. So the picking results are shifted to the
left/right and top/bottom. In case of my example, the picking results
are shifted to the right (looks like a 2 deg shift).
When I supply symmetric values to pfMakePerspChan, this works fine.

Can anybodye help me ?

Cheers,
Wolfgang

***********************************************************************
                                                                   
  Wolfgang Trog Telefon : 089/321407-31
  Philosys Software GmbH Telefax : 089/321407-12
  Edisonstr. 6
  85716 Unterschleissheim e-mail : trog++at++philosys.de
                                                                    
***********************************************************************
=======================================================================
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:57:42 PDT

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