Re: Intersections

New Message Reply Date view Thread view Subject view Author view

Nicolas Gauvin (nicolas++at++cae.ca)
Mon, 11 Aug 1997 16:22:59 -0400


On Aug 11, 12:44pm, John Sunderland wrote:
> Subject: Intersections
>
> HitNum = ModelsParentDCSNode->isect(&Isegset, Result);
> pfNotify(PFNFY_NOTICE, PFNFY_PRINT, "Got %d hits from Isectors",
> HitNum);
> }
>
> The problem I am having is that the isect call always returns 0 (i.e. in
> the above code HitNum = 0 ). Has anyone got any ideas as to what I am
> doing wrong? Your help will be much appreciated.

I encountered the same problem not long ago. I believe it might be a bug
in Performer when we request a pfNode::isect on a segset containing
more than one segment (your case).

For a quick fix, try replacing your single isect call with multiple isect calls
with a segset containing a single segment at a time. It worked for me.

I'll try to write a small test case of this problem for the Performer team.

-- 
Nicolas Gauvin              CAE Electronics Ltd., 8585 Cote De Liesse
3D Graphics Software        Saint-Laurent, Quebec, Canada, H4L-4X4
nicolas++at++cae.ca              Tel: (514) 341-2000 x2275, Fax: (514) 340-5496 
=======================================================================
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:55:43 PDT

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