Re: pfGeoSet attributes and pfMemory question

New Message Reply Date view Thread view Subject view Author view

John Rohlf (jrohlf++at++tubes)
Sat, 23 Mar 96 9:08:58 PST


>
>
> During database paging, I'm reading a big chunk of data from disk
> and copying all this data in a single pfMemory array. Parts of this data
> contains the various attributes list of pfGeoSets (vertices, tex coords,
> colors and normals).
>
> Now I would like to know the risks or consequences involved in setting
> the attributes of my pfGeoSet by giving as argument offsets addresses
> into this big chunk of data. In other workds I'm using a single
> pfMemory for all my pfGeoSet attribute lists instead of using separate ones
> for each attribute lists.
>
> In know that in Performer 2.0 it is now highly recommended to use
> pfMalloc to allocate arrays of attribute data but what about the
> use of a single big pfMemory array?

        As you say, it's not recommended but it will probably work.


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:52:34 PDT

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