Marcus Barnes (marcus++at++multigen.com)
Thu, 10 Oct 1996 09:56:21 -0700
The OpenFlight loader already does instancing of external references in this
way. The first external reference to a .flt file is remembered and
arrangements are made to correctly pfClone any subsequent references during the
_same_ invokation of pfdLoadFile_flt().
The only way a subsequent reference will be loaded from disk again is if the
referencing file overrides one or more of its palettes in a unique combination.
If you set your pfNotifyLevel to PFNFY_DEBUG, the loader will tell you when it
loads or references a file.
PS: It may appear that each instance is real because pfFlatten is called in the
loader by default (disable with pfdConverterMode( "flt", PFFLT_FLATTEN, FALSE
))
Regards.
--
____ ___ ____ _ Marcus Barnes, Member Technical Staff
/ __ `__ \/ __ `( ) MultiGen Inc. 550 S. Winchester Blvd. STE 500
/ / / / / / /_/ / / San Jose CA 95128 WEB: http://www.multigen.com
/_/ /_/ /_/\__, /_/ PH:1-408-556-2654 FX:1-408-261-4102
/____/ EMAIL: marcus++at++multigen.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:53:45 PDT