Text archives Help
- From: Li-Ta Lo <
>
- To: Abe Stephens <
>
- Cc:
- Subject: [Manta] Re: Cut Plane and Picking?
- Date: Mon, 07 Jul 2008 11:33:25 -0600
- Organization: Los Alamos National Lab
On Mon, 2008-07-07 at 11:18 -0600, Abe Stephens wrote:
>
Yes, it is true. For the clipping plane see: MiscObjects/CuttingPlane.
>
{h,cc} This code was originally developed for the 777 demo and is
>
still used for some of the CSAFE visualization. It works with any
>
primitive.
>
>
Object selection was performed using lookup tables based on triangle
>
ID. The triangle ID was determined using the shootOneRay method in
>
MantaInterface and then examining the ray packet results. Primitive
>
intersection stored the triangle ID in the ray packet scratch space.
>
The acceleration structures and triangle intersections used today
>
don't support this functionality, but they could probably be extended
>
to do so easily.
>
Thanks a lot.
Do you mean the RayPacket::getHitPrimitive() will return an acceleration
structure rather than a real primitive like triangle?
Ollie
Archive powered by MHonArc 2.6.16.