Fix to Inventor Loader for Large Databases

New Message Reply Date view Thread view Subject view Author view

Jim Helman (jimh++at++surreal)
Wed, 17 May 95 13:38:57 -0700


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.

rgds,

-jim helman

jimh++at++surreal.asd.sgi.com
415/390-1151


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.