From: <kin...@us...> - 2015-02-25 10:42:54
|
Revision: 6217 http://sourceforge.net/p/teem/code/6217 Author: kindlmann Date: 2015-02-25 10:42:52 +0000 (Wed, 25 Feb 2015) Log Message: ----------- comment about importance of large values for seekContext->pldArrIncr Modified Paths: -------------- teem/trunk/src/seek/methodsSeek.c Modified: teem/trunk/src/seek/methodsSeek.c =================================================================== --- teem/trunk/src/seek/methodsSeek.c 2015-02-21 17:18:55 UTC (rev 6216) +++ teem/trunk/src/seek/methodsSeek.c 2015-02-25 10:42:52 UTC (rev 6217) @@ -59,6 +59,11 @@ which certainly does not apply to all cases */ sctx->facesPerVoxel = 2.15; sctx->vertsPerVoxel = 1.15; + + /* this should be larger so that we don't waste time from airArrayLenIncr + constantly re-allocating, when the isosurface is rough; better + solution is to use multiplicatively scaled dynamic array. But caller + can also change this value on a per-context basis. */ sctx->pldArrIncr = 2048; sctx->nin = NULL; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |