MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

RenderAll crash



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.



  • Prev by Date: Re: a probable bug
  • Next by Date: Re: Mathematica 3.0 Palette for Physics SI Fundamental Constants
  • Prev by thread: Re: Why 0 is not int* ? Error with sample of Bjarne Book
  • Next by thread: Re: RenderAll crash