Mark Baranowski (baranowski++at++marklynn.demon.co.uk)
Tue, 07 Jan 1997 10:31:36 GMT
On Tue, 07 Jan 1997 08:35:49 GMT, I wrote:
>On Mon, 6 Jan 1997 15:03:57 -0600, Elizabeth wrote:
>
><munch>
>>
>>Vega calls pfIsectFunc _only_ if an asynchronous isector process
>>has been requested (and granted) through Vega. Otherwise, the
>>intersection handling is done by Vega in a pre-sync callback
>>(i.e., before pfSync).
>>
>>You must not have requested an asychronous isector process either in the
>>application definition file (ADF) or by turning on the VGSYS_ISECTPROC
>>property through API. If you did not, then you really do
>>have only 1 intersection function registered through pfIsectFunc, that
>>function being the one you registered yourself with your call to
>>pfIsectFunc.
>
>I do have the async intersection box checked in the ADF. So my
>question still remains:
>
>>> Can anybody confirm whether I can set up a number of intersection
>>> functions using pfIsectFunc
I just tested registering more than 1 intersection function and
surprise surprise only the last function registered gets executed.
This makes me worry that I have a timebomb waiting to go off in our
Vega applications when using a separate intersection process. At the
moment the only Vega intersection functions I can recall us using are
some calls to vgPos & vgUpdate on an Isector and vgGetIsectHitObj.
I register my intersection function after Vega is configured with
vgConfigSys so would now expect that to replace the one registed by
Vega - my function is being executed. I get a different pid for the
intersection process so my request for a separate process is being
granted.
As I said before though, everything seems to work as expected, so am I
worrying unnecessarily?
My question seems to have become totally Vega oriented now so I will
restrict any further postings to the Vega list.
Regards,
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
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:17 PDT