Re: Updating bounding spheres

New Message Reply Date view Thread view Subject view Author view

John Rohlf (jrohlf++at++tubes)
Mon, 6 Nov 95 9:39:15 PST


>
> Could somebody please help me?
> I've constructed a visual database in Performer and I am rendering it on a RE2 (2cpu).
> The problem is this:- When I update the vertices in a Geoset the bounding volume in the Geode
> doesn't appear to be updating properly. I try to force Performer to update by setting the Geodes
> bounding volume to NULL with pfNodeBSphere( Geode, NULL, PFN_BNODE_DYNAMIC ) but
> it still maintains the original bounding volume. I've also tried replacing the Geosets with themselves
> in the hope this would force the bounding volume to be re-computed in the Geode (But still the same
> result). I've also tried removing parents and inserting them back in the hierarchy but with still the
> effect (bounding volume wasn't updated). Can anybody shed any light on this problem?
>

        Force recomputation of the pfGeoSet bounding box by passing
a NULL bbox argument to pfGSetBBox, then call
pfNodeBSphere( Geode, NULL, PFN_BNODE_DYNAMIC ). pfGeodes assume the
bboxes of its pfGeoSets are valid and doesn't recompute them for best
performance.


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:52:01 PDT

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