DBASE process and cycle buffers

New Message Reply Date view Thread view Subject view Author view

Jean-Luc Dery (dery++at++discreet.com)
Thu, 1 Apr 1999 11:45:44 -0500


Hi,

I'm working on transferring our Performer object creation to the DBase process.
Our objects extensively use pfCycleBuffers for manipulating the object
geometry. We had no problem manipulating cycle buffer from the APP process, but
since we create our object and initialize their geometry attributes from the
DBase process, we experience problems with the cycle buffers. It appears that
cycle buffer indexing is not managed properly.

What we do is the following:

>From the DBase:
1- create pfCycleBuffer
2- get cycle buffer current data pointer
3- update data
4- call cycle buffer changed method
5- create pfGeoSet
6- assign cycle buffer to pfGeoset attribute

This worked when executed in the APP stage.

Note that once the objects are created, geometry is manipulated from the APP
stage. The DBase is only used for creating scene branches.

Are there any issues/restrictions with cycle buffers and DBase process?

How can I make sure that cycle buffer is ready to be used or that the pfGeoset
is referencing proper buffer when an object gets in the APP-CULL-DRAW pipeline?

Thanks in advance for your help,

Jean-Luc

-- 
_____________________________________________________________________________

Jean-Luc Dery Discreet Logic Technical Leader 10 Duke Street 3-D Graphics Technology and Montreal (Quebec), Canada, H3C 2L7 Realtime Systems Tel: (514) 954-7239 Email: jean-lucD++at++discreet.com Fax: (514) 393-0110 _____________________________________________________________________________


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Thu Apr 01 1999 - 08:45:50 PST

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