pfGeoSet attributes and pfMemory question

New Message Reply Date view Thread view Subject view Author view

Nicolas Gauvin (nicolas++at++cae.ca)
Thu, 21 Mar 1996 13:29:00 -0500


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?

     ___/ | ___/ Nicolas Gauvin e-mail: nicolas++at++cae.ca
    / / | / Software Developper voice: (514) 341-2000 x2275
   / / | __/ CAE Electronics Ltd. fax: (514) 340-5496
  / ___ | / 8585 Cote De Liesse, P.O. Box 1800
_____/ _/ _| _____/ Saint-Laurent, Quebec, Canada, H4L-4X4


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.