Re: DBASE process / pfBuffer question

New Message Reply Date view Thread view Subject view Author view

Anita Kishore (kishore++at++triavest.com)
Mon, 2 Jun 1997 10:34:42 -0700


On Jun 2, 4:16pm, DONKERS H.C. wrote:
> Subject: DBASE process / pfBuffer question
> Hello all,
>
> I have a question about the DBASE process.
>
> I am currently developing an application, where I want to
> multiprocess my own (non performer) stuff.
> For me, the best thing to do would be to have a process which
> manipulates the pfScene tree. But this process is not the same as the
> one which issues the pfFrame()!
>
> What I get form the performer manual, is that for this (asynchronous
> database management, I guess) I need to use the DBASE process.
> Now I see that I can pretty easily add and/or delete subtrees within
> the pfScene, with the pfBufferAddChild() and pfBufferRemoveChild()
> routines.
>
> But I would also like to change geosets. (like colorchanges)
>
> And my question here is:
> Is this easily manageable? Has someone had some experiance with this?
> Can anyone who has, give some insight in pittfalls?
> etc
> BTW, I am using Performer 2.1.
>

One way to do the above could be as follows:

        in the DBASE process, clone (pfClone) the original pfScene part
        where you want to modify, let's say colour

        perform the changes in the cloned portion

        bufferDelete the original part from the pfScene

        bufferAdd/bufferMerge the cloned porion to the scene graph

hope this helps

-anita
kishore++at++triavest.com
=======================================================================
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:23 PDT

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