Sharon Clay (src++at++rose)
Wed, 28 Feb 1996 09:02:52 -0800
->
->Well, my simple question is:
->
-> Is it possible to update texture coordinates of a particular
->geoset from the APP process? If so, then how?
->
Yes.
You need the texture coordinates and the pfGeoSet are in shared
memory. You also have to be careful that the variables you are using
to old the pointers to these shared locations are really initialized and valid
in both processes (or put them in your shared memory area as well -- like the
perfly ViewState structure). As Rob suggested, the base pointer to your shared
memory area must be initialized before pfConfig() so that your forked
processes will have the pointer.
Performer will be simply pointing at your same shared
pfGeoSet with your shared texture coordinate array in the draw process.
Our guess is that somehow you have gotten caught with a separate copy of
texture coordinates, or possibly a bogus pfGeoSet pointer, so that
when you change data in the APP, it is not really the same memory being looked at by the
DRAW. Can you verify that after you edit an array and pfGeoSet in the APP process
that you see the changed data in the draw process and that your draw process
pfGeoSet is really pointing at the correct array?
src.
--
-----{-----{---++at++ -----{----{---++at++ -----{----{---++at++ -----{----{---++at++
Sharon Rose Clay (Fischler) - Silicon Graphics, Advanced Systems Dev.
src++at++sgi.com (415) 933 - 1002 FAX: (415) 965 - 2658 MS 8U-590
-----{-----{---++at++ -----{----{---++at++ -----{----{---++at++ -----{----{---++at++
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:27 PDT