Bryan Wasileski (bwasileski++at++mdc.com)
Fri, 25 Jul 1997 08:46:59 -0500
Could someone please clear up my thoughts on pfCycleBuffer.From the
examples and man pages, I'm a little confused on the implementation.
>From morph.C:
//// This is where the new cycle buffer is created.
cbuf = new(arena) pfCycleBuffer(nSph * sizeof(pfVec4));
ncoords = (pfVec3*) pfMalloc(pfGetSize(coords), arena);
nnorms = (pfVec3*) pfMalloc(pfGetSize(norms), arena);
....
colors = (pfVec4*) cbuf->getData();
/// How is it possible for cbuf->getData() to return anything since
//// nothing has ever been done to cbuf since it's creation. Where is all
//// the information allocated and created from the arena associated with
///// the cycle buffer?
I have large class which in shared memory which I have been using as a
single memory buffer. I'd now like to cycle the data in this buffer for data
consistency. Based on both the example and the man pages, I do not see
how the associate my single object of data to the cycle buffer memory.
Thanks.
- bryan wasileski
McDonnell Douglas Training Systems
bwasileski++at++mdc.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
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:39 PDT