Re: bufferClone questions
Jason Williams (rock.csd.sgi.com!sgi.com!uunet.uu.net!ds9!cerebus!jason)
Wed, 24 Sep 1997 08:45:07 -0400
On Sep 23, 1:00pm, Brad Colbert wrote:
> Subject: bufferClone questions
>
> Hi folks,
>
> I'm having some problems using the bufferClone method in my dBase process.
>
> We are writing a DIS "Stealth like" application that is multi-processing
> (PFMP_APP_CULL_DRAW | PFMP_FORK_DBASE ... etc). We use the dBase process
> to asynchronously load models in as they are needed. There are many
> duplicates (similar vehicles), and it would be nice to clone them. I've
> been exploring the bufferClone method, but I don't understand where I
> store the original models.
>
> 1. Do I store the models in the dBase process and bufferClone from a tree
> stored there?
>
> 2. I'm not quite sure where I set up the storage pfBuffer.
>
> 3. The pfDCS that I attach the model to is allocated in the APP process.
> Is this still doable?
>
> I'm sure I'm missing some points here. Any help will be greatly
> appreciated.
>
> Brad
>
> --
I had a similiar problem and decided to create a third buffer area where I
stored the root model list. You have to clone from that buffer to the DBase
buffer, and then merge to your App buffer when you want to see your models.
Jason Williams
Cambridge Research Associates.
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2
on Mon Aug 10 1998 - 17:55:58 PDT