Problems changing pfGSet coord info on the fly

New Message Reply Date view Thread view Subject view Author view

J. Welling (welling++at++seurat.psc.edu)
Mon, 27 Nov 1995 15:32:33 -0500


Hi folks;
  In an effort to improve performance in downloading coordinates using PVM
to an app using Performer under EVL's CAVE software, I am doing the following
terrible hack. I have a geometry including a group of pfGeoSets, each
consisting of a set of points. Each has a pfGeoState which selects color
based on the color attribute of the pfGeoSet, which in my case is an
overall color for the whole vertex set. As each new set of point coordinates
comes in over the network I just slap the coordinates into the space
in the shared arena which held the old coordinates.
  The point locations on screen are updated as expected, but the colors
come out wrong. Specifically, I seem to be getting colors intended for
another pfGeoSet of points. It seems as though some sort of color
caching is going on, and the colors of the pfGeoSets are not being
properly reestablished as the (now modified) scene graph is traversed
after the memory update.
  Does anyone else do anything like this? Any clues as to what might
be causing my problem?

Thanks,
-Joel Welling
 Pittsburgh Supercomputing Center
 welling++at++psc.edu


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:03 PDT

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