Asynchronous scene updating

New Message Reply Date view Thread view Subject view Author view

Jeremy Friesner (jaf++at++chem.ucsd.edu)
Wed, 11 Jun 1997 17:24:01 -0700 (PDT)


Hi All,

What I need to do is remove a subgraph of my pfScene, update it asynchronously
in the DBASE process, and then give it back to the APP process later on.

Removing the subgraph is easy--one call to removeChild() in the APP process
and it's done.

However, when I then go to modify the subgraph in the DBASE process, the pfBuffer
mechanism gets in my way. The subgraph is still in the APP pfBuffer, and
there doesn't seem to be a good, inexpensive way to move a large subgraph
from one pfBuffer to another.

Does anyone know a way to disable pfBuffers (since I can guarantee that the
nodes I modify will not be used during that time by the APP process), or some
other solution to this problem?

Jeremy

ps the pfBuffer man page mentions that setScope() can be used to move
   objects out of the APP pfBuffer for asynchronous updating, but it
   seems it setScope() would need to be applied recursively to every
   node in my (very large) subgraph! That kind of defeats the purpose,
   especially if I have to call setScope(node,false) from the APP process.
   (which I assume I do...)
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com
   SGI DevForum 97 info: http://www.sgi.com/Forum97/


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:55:25 PDT

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