Re: Performer Culling things it shouldn't.

New Message Reply Date view Thread view Subject view Author view

Kenneth B Russell (kbrussel++at++media.mit.edu)
Thu, 13 Aug 1998 19:05:47 -0400 (EDT)


> When my view's pitch and roll are near zero (+ or - 5) the
> entire scene graph is culled, otherwise it runs correctly.

I had a similar sounding problem -- objects plainly in view were
being inappropriately culled. Turned out I was changing the
vertex data for GeoSets after the bounding volumes were computed
and thereby had invalid bounding boxes/spheres.

If you're making any changes to your GeoSets' vertex data after
the initial call to setAttr specifying the vertices, then try:
 - If you're using dynamic bounding volume recomputation
   (the default), put in a call to setBound(NULL,
   PFBOUND_DYNAMIC) after changing the vertex data. If you
   actually know the bounding box of your data then specify it
   here.
 - If you're using static bounding volumes, you need to make two
   calls, setBound(NULL, PFBOUND_DYNAMIC) and setBound(NULL,
   PFBOUND_STATIC). Again, if you know the bounding boxes,
   specify them.

-Ken

__________________________________________________________________________
Kenneth B. Russell Synthetic Characters Group, MIT Media Lab
kbrussel++at++media.mit.edu http://www.media.mit.edu/~kbrussel


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Thu Aug 13 1998 - 16:05:55 PDT

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