Re: Fix to Inventor Loader for Large Databases

New Message Reply Date view Thread view Subject view Author view

Michael Jones (mtj++at++babar)
Tue, 23 May 1995 14:06:11 -0700


On May 17, 1:38pm, Jim Helman wrote:
> Subject: Fix to Inventor Loader for Large Databases
:I chatted about this with Chris Tanner, Mr. Builder. The
:problem is that the allocation size in the builder increases
:by 2X each time it overflows the existing allocation. This is
:too aggressive for very large databases.
:
:The best thing to do is to change line 1716 in geobuilder.c
:
: chunkSize <<= 1;
:
:to:
: /* limit to 8K tris/chunk */
: if (chunkSize < 8192)
: chunkSize <<= 1;
:
:This is the fix that's in 2.0.

That's the spirit, but the change must be made in both
freeTris() and getPrim().

-- 

Be seeing you, Phone:415.390.1455 Fax:415.965.2658 M/S:8U-590 Michael T. Jones Silicon Graphics, Advanced Graphics Division mtj++at++sgi.com 2011 N. Shoreline Blvd., Mtn. View, CA 94039-7311


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:30 PDT

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