From: Tomlinson, Gordon (GORDON.TOMLINSON++at++ca.com)
Date: 09/27/2000 05:30:54
Hi Mark
If you use Vega tool kit which sits on top and enhance
Performer at all then the latest release for
both Irix and NT v3.5, have Picking built in to the kernel
you can use the vgPicker Class to put picking into
your app or use the one of the new motion models that
has picking built in such as vgPickFly.
vgPickFly lets you pick at several levels pfGeoSet, pfGeode,
vgPart, vgObject and vgPlayers ( groups of objects). You can
have single pick modes or multiple pick modes. You can have
the selected geometry highlighted in several different ways.
And if the selected objects are DCS, vgObjects or vgPlayers
then you can move these around with in the scene by dragging
the mouse etc...
As to picking just in plain old Performer the is a example in
the sample code supplied with Performer, on how to do basic
intersections /usr/share/Performer/src/pgguide/libpf/
Gordon
-----Original Message-----
From: Mark Evans [mailto:mrrevans++at++yahoo.com]
Sent: Wednesday, September 27, 2000 5:26 AM
To: info-performer++at++sgi.com
Subject: pick example
I would need a pick example in Performer. I need to
load a few *.flt files, add them under different
SCS,and enable picking of some of these flt objects,
and detect which one of the objects was picked. Where
could I find some sample code? Is there a pickfly
application?
__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/
-----------------------------------------------------------------------
List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
Gordon.
_________________________________________________________________
Gordon Tomlinson
Senior Software Engineer
Visualization Engineering
MultiGen-Paradigm Inc
"a Computer Associates Company"
Suite 400, 14900 Landmark Blvd Dallas Texas 75240 USA
Tel: 972 960 2301 ext 309 Fax: 972 960 9049
Email: gordon.tomlinson++at++cai.com <mailto:gordon.tomlinson++at++cai.com>
______________________________________________________________
'Smoke me a kipper, I'll be back before breakfast'
__________________________________________________________________
NOTE:
All opinions here within this email are solely mine and DO NOT
reflect those of Computer Associate CA or any other employee.
This archive was generated by hypermail 2b29 : Wed Sep 27 2000 - 05:38:49 PDT