Cloning vs Copying

New Message Reply Date view Thread view Subject view Author view

Robert D. King (king++at++ait.nrl.navy.mil)
Sat, 11 Mar 1995 01:40:16 -0500 (EST)


In an application I have been building, I need to model model 100
to 150 objects which represent the buildings and storage tanks in an oil
refinery. There are really only 10 or 20 different objects and these are
stored in various .iv, .obj, .flt, and .dwb files. These are placed
on top of terrain which is loaded in via .ptu files.

When we load in an object, we rotate and translate it using pfFlatten().

To speed the loading process, we'd like to clone or copy objects where
possible..

Would someone be kind enough to:

a. discuss the advantages and disadvantages of using pfClone and pfCopy.

b. provide a code example, if convenient, which clones or copies
object(s) loaded via one of the file formats listed.

Thanks in advance,

Rob King


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:51:03 PDT

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