From: Peter Oslej (peterO++at++vrm.sk)
Date: 09/27/2000 09:51:43
Hello pf's
could somebody help me with my isect problem?
How can I retrieve data from pfHit class in isect process for more than one intersections in depth (isect ray pass throught more geosets).
I use discriminator callback and it is called for every isect in depth and also isect point printing inside callback is OK, but after intersection
(with node->isect()) pfHit::query() claims the first isect depth point is valid only.
My snip code:
pfHit **hits[32];
....
nh = node->isect(segset,hits);
if(nh)
hits[seg][depth]->query(query,result);
where depth is counted in discriminator callback. (my DC never TERMINATE the intersection, always return (PFTRAV_CONT))
Thanks for any help
Peter Oslej
This archive was generated by hypermail 2b29 : Wed Sep 27 2000 - 08:52:08 PDT