From: Dirk Scheffter (scheff++at++iff.fhg.de)
Date: 09/27/2001 05:49:26
pfHi there,
I use fluxed geosets which I modify in my app.
Geosets itself works correctly and are culled and displayed correctly.
(I recompute bounding boxes of geosets before writeComplete.)
But, I have extrem problems with intersection.
I apply intersection to a DCS which has DCS children which have geode
children which own the fluxed geosets.
(Oops, example:
(scene)
DCS
DCS
geode
fluxed geoset
fluxed geoset
...
geode
fluxed geoset
fluxed geoset
...
DCS
...
)
The effect is that intersection works at initial appearance and in a
certain circle(!) around it. This circle is smaller than the channel
rectangle.
I tried to uncache intersection:
for all DCS nodes after creation I call:
pPfDCS->setTravMask(PFTRAV_ISECT, PFIS_SET_PICK,
PFTRAV_SELF | PFTRAV_DESCEND | PFTRAV_IS_UNCACHE, PF_SET);
(This should include geodes, also, which are added before.)
For all geosets after creation I call:
pPfGSet->setIsectMask(PFIS_SET_PICK, PFTRAV_SELF | PFTRAV_IS_UNCACHE,
PF_SET);
(This is done in the Flux init callback.)
Although I use isect class PFIS_SET_PICK I call pPfDCS->isect()
which isn't a problem in my mind. (PFIS_SET_PICK is just only a certain
value.)
Well, and my intersection ray is as long as the far clip distance
(1000m) and geometry appears rather close to near clip plane (1.5m).
Is there anybody, knowing the effect resp. the trick to come around it
resp. can enlight me?
Best regards,
Dirk.
-----------------------------------------------------------
Dipl.-Inf. Dirk Scheffter scheff++at++iff.fhg.de
Fraunhofer IFF fon: +49 (0) 391/40 90-854
Sandtorstr. 22 fax: +49 (0) 391/40 90-870
D-39106 Magdeburg http://www2.iff.fhg.de/~scheff
Germany
-----------------------------------------------------------
This archive was generated by hypermail 2b29 : Thu Sep 27 2001 - 05:48:49 PDT