From: Brian D. <do...@co...> - 2011-10-12 14:05:24
|
I should also mention "set gxout shade2b", available in v2.0.0. This does the shading grid-box by grid-box, so it gives a large number of small polygons, which is usually very slow to render. But the algorithm is very simple (relatively) and it is the version most likely to be correct, should some question arise about the other versions of shaded contouring. I wrote this code as my first attempt of a rewrite of the shaded contouring algorithm, but what I had intended didn't work out. But I left the code there since it is useful for testing and it may have uses in the future since the polygons are "pre-clipped"... Brian On Oct 6, 2011, at 7:36 PM, Jennifer Adams wrote: > Hi, Gary -- > > Here is the relevant code in gxshad.c: > > #define XYBMAX 5000 > ... > if (stkcnt>=XYBMAX) { > printf ("Buffer stack limit exceeded in gxshad\n"); > return(1); > } > > Looks like you've bumped up against a hard-coded limit. You can > change XYBMAX and recompile, or try 'set gxout shade2' and see if > that changes anything. > --Jennifer > > > On Oct 6, 2011, at 7:07 PM, Love, Mr. Gary, Contractor, Code 7542 > wrote: > >> Hi Jennifer, >> >> I just encountered any error I have never seen >> >> Buffer stack limit exceeded in gxshad >> Error in gxshad >> >> I'm only shading about a dozen colors, but I get this when the plot >> is very dense. >> >> Are there any quick solutions? Reduce colors, etc? >> >> Gary > > -- > Jennifer M. Adams > IGES/COLA > 4041 Powder Mill Road, Suite 302 > Calverton, MD 20705 > jm...@co... > > > |