Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

RE: random 3D object consisting of cuboids

  • To: mathgroup at smc.vnet.net
  • Subject: [mg69110] RE: [mg69054] random 3D object consisting of cuboids
  • From: "David Park" <djmp at earthlink.net>
  • Date: Wed, 30 Aug 2006 06:33:36 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

rcoord := 10{Random[], Random[], Random[]}

Show[Graphics3D[Table[Cuboid[rcoord], {20}]]];

If you get a lot of overlap of the cuboids then Mathematica may be very slow
in rendering the picture because it has to determine what lines and faces
are in front and visible.

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/

From: gavrili [mailto:gavrili at rhrk.uni-kl.de]
To: mathgroup at smc.vnet.net


i am trying to create random 3d objects constisting of cuboids; as the
end result i need the coordinates of the cuboids;

however, i am having trouble with the commands from the very start;
even when i cut and paste the following line from mathematica

Show[Graphics3D[Table[Cuboid[rcoord], {20}]]]

i am getting error messages of the sort
Graphics3D::nlist3: rcoord is not a list of three numbers



could anyone help?



  • Prev by Date: Re: if Magnification is an Option for Cell, why is it ... not?
  • Next by Date: Re: random 3D object consisting of cuboids
  • Previous by thread: Re: random 3D object consisting of cuboids
  • Next by thread: Re: random 3D object consisting of cuboids