From guest  Tue May 31 19:08:08 1994
	id AA10582; Tue, 31 May 94 21:07:56 CDT  
Date: Tue, 31 May 94 21:07:56 CDT
From: reedwhit@skips.dseg.ti.com (Reed Whittington)
Message-Id: <9406010207.AA10582@skips.dseg.ti.com>
To: iris-performer@sgi.sgi.com
Subject: Fun with pfChanPick
Status: OR


Dear Performer group people,

I'm looking for help with pfChanPick.

I have been working with pfChanPick in a target designation 
application.  I found that pfChanPick fails if a pfSwitch (ON or OFF)
is between the scene root and the primitive I want to pick.  

I also have found that pfChanViewOffsets don't get accounted for
in pfChanPick.

Are these known problems and can you suggest a work around?

As always, Thanks for your help.

--Reed




From guest  Fri Jun  3 15:16:13 1994
From: "Sharon Fischler" <srf@rose>
Message-Id: <9406031515.ZM18966@rose.asd.sgi.com>
Date: Fri, 3 Jun 1994 15:15:54 -0700
In-Reply-To: reedwhit@skips.dseg.ti.com (Reed Whittington)
        "Fun with pfChanPick" (May 31,  9:07pm)
References: <9406010207.AA10582@skips.dseg.ti.com>
X-Mailer: Z-Mail (3.1.0 22feb94 MediaMail)
To: reedwhit@skips.dseg.ti.com (Reed Whittington), iris-performer@sgi.sgi.com
Subject: Re: Fun with pfChanPick
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Status: OR


+>---- On May 31,  9:07pm, Reed Whittington wrote:
> Subject: Fun with pfChanPick
->

[ ... ]

->I also have found that pfChanViewOffsets don't get accounted for
->in pfChanPick.

I'm afraid that this is indeed true.  The pick traversal looks 
at the current view(xyz,hpr), near/far, and fov.
You will have to set the Channel Viewpoint in each of the channels 
individually, or set/reset around the pick traversal.
This may also account for some troubles other folks have been 
having doing picking on secondary channels.

Thanx for the report!
srf.


-- 
-----{-----{---@   -----{----{---@   -----{----{---@   -----{----{---@
Sharon Rose Fischler - Silicon Graphics, Advanced Graphics Development
srf@sgi.com  (415) 390 - 1002  FAX: (415) 965 - 2658  MS 8U-590
-----{-----{---@   -----{----{---@   -----{----{---@   -----{----{---@






From guest  Mon Jun 27 23:49:16 1994
From: alon@bvr.co.il (Alon Rosenfeld 18 Hatzedef street Jaffa )
Message-Id: <9406280948.ZM11775@rea1.bvr.co.il>
Date: Tue, 28 Jun 1994 09:48:03 +0000
X-Mailer: Z-Mail (3.1.0 22feb94 MediaMail)
To: info-performer@sgi.sgi.com
Subject: pfChanPick
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Status: OR

Hi there,

I am currently using the pfChanPick routine.

To enable selective picking I set isect masks of different nodes and GeoSets to
have appropriate masks according to the object's type (using pfNodeTravMask).
The only thing left to do before calling pfChanPick() is to set the channel
isect traversal mask with which the traversal will compare with the individual
nodes.

How does one set this channel traversal mask?
When calling pfSegsIsectGSet() one can set the traversal mask but how do you do
it when calling pfChanPick()?


Alon





From guest  Wed Jun 29 23:15:47 1994
From: alon@bvr.co.il (Alon Rosenfeld 18 Hatzedef street Jaffa )
Message-Id: <9406300900.ZM18215@rea1.bvr.co.il>
Date: Thu, 30 Jun 1994 09:00:01 +0000
X-Mailer: Z-Mail (3.1.0 22feb94 MediaMail)
To: info-performer@sgi.sgi.com
Subject: pfChanPick
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Status: OR

Hi,

I am currently using the pfChanPick routine.

To enable selective picking I set isect masks of different nodes and GeoSets to
have appropriate masks according to the object's type (using pfNodeTravMask).
The only thing left to do before calling pfChanPick() is to set the channel
isect traversal mask with which the traversal will compare with the individual
nodes.

How does one set this channel traversal mask? For Draw and Cull traversals one
may use pfChanTravMask() but what routine should I use when using the
pfChanPick() call?


thanks

Alon






From guest  Thu Jun 30 12:05:33 1994
Message-Id: <9406301904.AA24743@surreal.asd.sgi.com>
To: alon@bvr.co.il (Alon Rosenfeld 18 Hatzedef street Jaffa )
Cc: info-performer@sgi.sgi.com
Subject: Re: pfChanPick 
In-Reply-To: Your message of "Thu, 30 Jun 94 09:00:01 -0000."
             <9406300900.ZM18215@rea1.bvr.co.il> 
Date: Thu, 30 Jun 94 12:04:49 -0700
From: Jim Helman <jimh@surreal>
Status: OR


>  How does one set this channel traversal mask? For Draw and Cull traversals one
>  may use pfChanTravMask() but what routine should I use when using the
>  pfChanPick() call?

Currently, pfChanPick's mask is hard coded to PFTRAV_SET_PICK.
But using the currently unused pfChanTravMask(PFTRAV_ISECT)
sounds like a possible idea for a future release.

For now, if you want different masks, you should use
pfSegsIsectNode().

rgds,

-jim helman

jimh@surreal.asd.sgi.com
415/390-1151






