Re: [info-performer] Multiple ray intersection

Date view Thread view Subject view Author view

From: MLM Veraart (veraart++at++fel.tno.nl)
Date: 08/04/2003 05:44:01


Rebecca Lim wrote:
>
> Hi,
>
> Can we get intersection points of multiple ray in a
> single pfSegSet?
>
> I got the correct intersection point when I used only
> one ray but when I used multiple ray, all the other
> rays except the first, are invalid. In fact, I only
> move the direction of ray very slightly. When I swap
> the rays' order, still, the first ray is the only one
> that return an intersection point.
>
> Does anyone know why does this happen?

Have you filled in the pfSegSet::activemask member?
In this bitmask you have to set witch of the pfSeg in segs is valid.

Mario

>
> Thank you,
> Rebecca

-- 
------------------------------------------------------------------------------
The disclaimer that applies to e-mail from
TNO Physics and Electronics Laboratory
can be found on: http://www.tno.nl/instit/fel/disclaimer.html
------------------------------------------------------------------------------


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Aug 04 2003 - 05:46:44 PDT