Re: Intersection Question

New Message Reply Date view Thread view Subject view Author view

Elizabeth Smith (eliza++at++daisy.paradigmsim.com)
Mon, 6 Jan 1997 15:03:57 -0600


On Jan 6, 4:42pm, Mark Baranowski wrote:
> Subject: Intersection Question
>
> [ plain text
> Encoded with "quoted-printable" ] :
Hi
>
> Happy new year to everyone on the list(s).
>
> I have been sitting here thinking about implementing a geometry to
> geometry collision detection capability for our Vega applications and
> have managed to get myself all confused - nothing new there :)
>
> I want the tests to run in the intersection process. I got myself
> confused over the intersection function specified with pfIsectFunc. I
> had thought that you can only specify one intersection function, but
> what would happen if you were to call pfIsectFunc twice with different
> functions?
>
> The reason I ask is that I already have an intersection function for
> our own motion models which is set up with pfIsectFunc, and uses
> pfNodeIsectSegs. However we also make use of Vega Isector functions
> elsewhere. Everything is Ok which makes me think I am wrong about
> pfIsectFunc.

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.

Glad to hear "Everything is Ok"! :-)

> Can anybody confirm whether I can set up a number of intersection
> functions using pfIsectFunc (I know I should go and test it, but it's
> almost time to leave!!)
>
> Thanks in advance (& forgive my ramblings - I've not got used to being
> back at work yet).
>
> 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
> 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
>-- End of excerpt from Mark Baranowski

-- 
|----   Elizabeth Smith                                     ----|
|	972-960-2301 (voice)	Paradigm Simulation, Inc.	|
|	972-960-9049  (FAX)	14900 Landmark, Suite 400	|
|	eliza++at++paradigmsim.com	Dallas, Texas   75240	USA	|
|       www.paradigmsim.com                                     |
	 
	
=======================================================================
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:54:16 PDT

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