Re: pick example

New Message Reply Date view Thread view Subject view Author view

From: Angus Dorbie (dorbie++at++sgi.com)
Date: 09/27/2000 06:04:10


We can manage just a little better than basic intersections in the
pguide examples, try:

/usr/share/Performer/src/pguide/libpfui/pick.c

This used pfiPick which you might find handy. There's also a man page on
pfiPick.

Cheers,Angus.

"Tomlinson, Gordon" wrote:
>
> 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.
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com

-- 
For Performer+OpenGL tutorials http://www.dorbie.com/

"In the middle of difficulty lies opportunity." --Albert Einstein


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Sep 27 2000 - 06:04:59 PDT

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