RenderAll crash
- To: mathgroup@smc.vnet.net
- Subject: [mg12382] RenderAll crash
- From: Patrick Klein <rickeroo@leland.stanford.edu>
- Date: Sun, 10 May 1998 02:05:04 -0400
- Organization: Stanford University
I'm having trouble with the "RenderAll->False" option for Graphics3D.
When the number of graphics objects gets large enough, Mathematica
crashes. The code below crashes v3.0 running on NT4.0.1 with 256Mb of
physical RAM and v2.2.2 and v3.0 running on a G3 with 50Mb of RAM set
aside for the Kernel. I don't seem to be running out of memory, and
with "RenderAll->True", I have no trouble with pictures 10 times as
large. Any clues?
The code (I'm just using Sphere as a convenient way to generate plot
data):
<<Graphics`Shapes`
s1 = Sphere[3]; (* generates 2582 Polygons, Sphere[2] isn't big enough
*)
s1Gr = Show[Graphics3D[s1]];
(* just another polygon *)
polyGr = Graphics3D[{SurfaceColor[GrayLevel[.75]],
Polygon[{{-2,-2,-3},{2,-2,-3},{2,2,-3},{-2,2,-3}}]}];
(* the crasher *)
Show[s1Gr, polyGr, RenderAll -> False];
...any help would be greatly appreciated.