Fischler (src++at++rose)
Mon, 13 Mar 1995 12:41:50 -0800
GSets and GStates can always be modified. GSets keep pointers
to your vertex data so your vertices can be modified in memory
and the changes reflected immediately when you draw.
Note, however, that these structures are not automatically
multi-buffered for you across processes. You want to
1) create them in shared memory so that all process can see them
2) create 3 copies: 1 for the process where you are changing the data (app)
1 for the draw process drawing, and 1 more to hold the last result
from the app and to keep you from colliding and having the app wait
on the draw to finish with its copy.
3) Only call Draw and Apply routines in the draw process.
->One last question, where should I change the content of a pfSwitchVal so that
->the draw process shows the effect ?
Make changes to all pfNode types in the Application. These structures
we do automatically multibuffer for you and the change will happen
on a frame accurate basis.
src.
--
-----{-----{---++at++ -----{----{---++at++ -----{----{---++at++ -----{----{---++at++
Sharon Rose Clay (Fischler) - Silicon Graphics, Advanced Graphics Dev.
src++at++sgi.com (415) 390 - 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:51:04 PDT